本地化
parent
8bdf318144
commit
4517d1e9f5
|
@ -2287,7 +2287,7 @@ Pokemon_Formation_RefreshType={
|
|||
Replace = 3,--替换
|
||||
}
|
||||
FourElementName = {"人杰试炼","佛禅试炼","妖灵试炼","道玄试炼"}
|
||||
FourElementNameImage = {"s_silingshilian_renjiezi","s_silingshilian_fochanzi","s_silingshilian_yaolingzi","s_silingshilian_daoxuanzi"}
|
||||
FourElementNameImage = {"s_silingshilian_renjiezi_zh","s_silingshilian_fochanzi_zh","s_silingshilian_yaolingzi_zh","s_silingshilian_daoxuanzi_zh"}
|
||||
NumConvertWeek = {[1]=Language[10001],[2]=Language[10002],[3]=Language[10003],[4]=Language[10004],[5]=Language[10005],[6]=Language[10006],[7]=Language[10007]}
|
||||
|
||||
CompShowType = {
|
||||
|
|
|
@ -25,6 +25,7 @@ function MonsterCampMainPanel:InitComponent()
|
|||
table.insert(trails,Util.GetGameObject(self.gameObject, "Bg/SiLingDi/trail"..i))
|
||||
end
|
||||
this.btnShenYing = Util.GetGameObject(self.gameObject, "Bg/SiLingDi/shenyingPro")
|
||||
this.btnShenYing:GetComponent("Image").sprite = Util.LoadSprite("j_jianmushenshu_anniu_02_zh")
|
||||
this.btnShenYingText = Util.GetGameObject(this.btnShenYing, "Text"):GetComponent("Text")
|
||||
this.shenYingProgressText = Util.GetGameObject(self.gameObject, "Bg/SiLingDi/progress/Text"):GetComponent("Text")
|
||||
this.shenYingProgressIma = Util.GetGameObject(self.gameObject, "Bg/SiLingDi/progress/Image"):GetComponent("Image")
|
||||
|
|
|
@ -84,9 +84,9 @@ function this:SetSingleData(go,data,index)
|
|||
name.text = data.userName
|
||||
power.text = data.force
|
||||
if data.firstOrMini == 0 then
|
||||
tipIma.sprite = Util.LoadSprite("s_silingshilian_shoucitongguo")
|
||||
tipIma.sprite = Util.LoadSprite("s_silingshilian_shoucitongguo_zh")
|
||||
else
|
||||
tipIma.sprite = Util.LoadSprite("s_silingshilian_zuidizhanli")
|
||||
tipIma.sprite = Util.LoadSprite("s_silingshilian_zuidizhanli_zh")
|
||||
end
|
||||
local btn = Util.GetGameObject(go, "Button")
|
||||
Util.AddOnceClick(btn,function()
|
||||
|
|
|
@ -79,12 +79,12 @@ function FourTrailSingleHelpHero:SetIcon1(heroData,player)
|
|||
local tempData = MonsterCampManager.GetFriendHelpHero(self.curType)
|
||||
self.btn:GetComponent("Button").enabled = true
|
||||
if self.heifhtPower < heroData.warPower then
|
||||
self.select.sprite = Util.LoadSprite("s_silingshilian_zhanliguogao")
|
||||
self.select.sprite = Util.LoadSprite("s_silingshilian_zhanliguogao_zh")
|
||||
self.selectText.text = ""
|
||||
self.btn:GetComponent("Button").enabled = false
|
||||
elseif tempData and heroData.dynamicId == tempData.hero.dynamicId then
|
||||
if tempData.player and tempData.player.state == 1 then
|
||||
self.select.sprite = Util.LoadSprite("s_silingshilian_yishiyong")
|
||||
self.select.sprite = Util.LoadSprite("s_silingshilian_yishiyong_zh")
|
||||
self.selectText.text = ""
|
||||
self.btn:GetComponent("Button").enabled = false
|
||||
else
|
||||
|
@ -138,7 +138,7 @@ function FourTrailSingleHelpHero:SetIcon2(heroData)
|
|||
self.btn:GetComponent("Button").enabled = true
|
||||
if tempData and heroData.dynamicId == tempData.dynamicId then
|
||||
self.btn:GetComponent("Button").enabled = false
|
||||
self.select.sprite = Util.LoadSprite("s_silingshilian_zhiyuanzhong")
|
||||
self.select.sprite = Util.LoadSprite("s_silingshilian_zhiyuanzhong_zh")
|
||||
self.select:SetNativeSize()
|
||||
self.selectText.text = ""
|
||||
Util.AddOnceClick(self.btn, function()
|
||||
|
|
Loading…
Reference in New Issue