本地化资源名以_zh结尾
parent
2650d56b02
commit
959ebed9fb
|
|
@ -1595,24 +1595,24 @@ end
|
|||
--根据角色定位Id 获取角色定位图
|
||||
function GetHeroQualityStr(_i,star)
|
||||
if star and star>11 then
|
||||
return "r_hero_pinzhi_shenhua"
|
||||
return "r_hero_pinzhi_shenhua_zh"
|
||||
end
|
||||
if _i==1 then
|
||||
return "r_hero_pinzhi_putong"
|
||||
return "r_hero_pinzhi_putong_zh"
|
||||
elseif _i==2 then
|
||||
return "r_hero_pinzhi_lianghao"
|
||||
return "r_hero_pinzhi_lianghao_zh"
|
||||
elseif _i==3 then
|
||||
return "r_hero_pinzhi_youxiu"
|
||||
return "r_hero_pinzhi_youxiu_zh"
|
||||
elseif _i==4 then
|
||||
return "r_hero_pinzhi_xiyou"
|
||||
return "r_hero_pinzhi_xiyou_zh"
|
||||
elseif _i==5 then
|
||||
return "r_hero_pinzhi_shishi"
|
||||
return "r_hero_pinzhi_shishi_zh"
|
||||
elseif _i==6 then
|
||||
return "r_hero_pinzhi_chuanshuo"
|
||||
return "r_hero_pinzhi_chuanshuo_zh"
|
||||
elseif _i==7 then
|
||||
return "r_hero_pinzhi_shenhua"
|
||||
return "r_hero_pinzhi_shenhua_zh"
|
||||
else
|
||||
return "r_hero_pinzhi_shenhua"
|
||||
return "r_hero_pinzhi_shenhua_zh"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
@ -2771,15 +2771,15 @@ function GetHeroHandBookNaturalImg(lv)
|
|||
elseif lv==2 then
|
||||
str="r_hero_tujian_lianghao"
|
||||
elseif lv==3 then
|
||||
str="r_hero_tujian_youxiu"
|
||||
str="r_hero_tujian_youxiu_zh"
|
||||
elseif lv==4 then
|
||||
str="r_hero_tujian_xiyou"
|
||||
str="r_hero_tujian_xiyou_zh"
|
||||
elseif lv==5 then
|
||||
str="r_hero_tujian_shishi"
|
||||
str="r_hero_tujian_shishi_zh"
|
||||
elseif lv==6 then
|
||||
str="r_hero_tujian_chuanshuo"
|
||||
str="r_hero_tujian_chuanshuo_zh"
|
||||
elseif lv==7 then
|
||||
str="r_hero_tujian_shenhua"
|
||||
str="r_hero_tujian_shenhua_zh"
|
||||
end
|
||||
return str
|
||||
end
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ require("Base/BasePanel")
|
|||
local GeneralTreasurePanel = Inherit(BasePanel)
|
||||
local itemnum = 0
|
||||
local LocalData = {
|
||||
[ActivityTypeDef.QiJieTreasure] = {itemId = 1242,hp = HELP_TYPE.QiJieTreasure,imgName = "q_qjsl_qjmb2",imgBg = "d_dhxx_di 1",unLockType = 4,Tips = "挑战七界试炼,提升秘宝等级,激活秘宝后还可领取额外奖励"},--七界秘宝
|
||||
[ActivityTypeDef.QiJieTreasure] = {itemId = 1242,hp = HELP_TYPE.QiJieTreasure,imgName = "q_qjsl_qjmb2_zh",imgBg = "d_dhxx_di 1",unLockType = 4,Tips = "挑战七界试炼,提升秘宝等级,激活秘宝后还可领取额外奖励"},--七界秘宝
|
||||
}
|
||||
local id=0
|
||||
--初始化组件(用于子类重写)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function this:InitComponent()
|
|||
this.tip = Util.GetGameObject(self.grow,"Tip"):GetComponent("Text")
|
||||
this.icon = Util.GetGameObject(self.grow,"Icon"):GetComponent("Image")
|
||||
this.name = Util.GetGameObject(self.grow,"Name"):GetComponent("Image")
|
||||
this.name.sprite=this.spLoader:LoadSprite("gm_mingwang_title")
|
||||
this.name.sprite=this.spLoader:LoadSprite("gm_mingwang_title_zh")
|
||||
this.progress = Util.GetGameObject(self.grow,"Progress/Image")
|
||||
this.value = Util.GetGameObject(self.grow,"Progress/Text"):GetComponent("Text")
|
||||
this.reward = Util.GetGameObject(self.grow,"Reward")
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ local ImgType = {
|
|||
rewardBg = "s_sanshibei_kuang_02",
|
||||
downBg = "s_sanshibei_kuang_01",
|
||||
rewardPreview = "s_sanshibei_xiaobiaodi",
|
||||
rewardPreviewText = "s_sanshibei_biaotizi",
|
||||
rewardPreviewText = "s_sanshibei_biaotizi_zh",
|
||||
reward = "y_yjj_3280",
|
||||
iconId = 15,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ function this.ChallengeCopyShow()
|
|||
end), data[2], 0.5):SetEase(Ease.Linear)
|
||||
|
||||
local scoreTextArr = {"chall_score_lianghao","chall_score_youxiu","chall_score_shishi","chall_score_chuanshuo","chall_score_shenhua"}
|
||||
local scoreImageArr = {"r_hero_tujian_lianghao","r_hero_tujian_youxiu","r_hero_tujian_shishi","r_hero_tujian_chuanshuo","r_hero_tujian_shenhua"}
|
||||
local scoreImageArr = {"r_hero_tujian_lianghao","r_hero_tujian_youxiu_zh","r_hero_tujian_shishi_zh","r_hero_tujian_chuanshuo_zh","r_hero_tujian_shenhua_zh"}
|
||||
local scoreText= Util.GetGameObject(this.challengeInfo,"layout/progressBg/scoreText")
|
||||
local boutNum= Util.GetGameObject(this.challengeInfo,"layout/progressBg/boutNum")
|
||||
local lvArr=data[3]
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ function QiJieShiLianMonsterInfo:InitComponent(gameObject)
|
|||
self.tip = Util.GetGameObject(gameObject,"tip"):GetComponent("Text")
|
||||
Util.GetGameObject(gameObject, "RoleGrid/FrontImage"):GetComponent("Image").sprite = self.spLoader:LoadSprite("bd_xinqianpai_zh")
|
||||
Util.GetGameObject(gameObject, "RoleGrid/BehindImage"):GetComponent("Image").sprite = self.spLoader:LoadSprite("bd_xinhoupai_zh")
|
||||
self.targetAttri:GetComponent("Image").sprite = self.spLoader:LoadSprite("q_qjsl_wfzjm_mbtx")
|
||||
self.targetAttri:GetComponent("Image").sprite = self.spLoader:LoadSprite("q_qjsl_wfzjm_mbtx_zh")
|
||||
Util.GetGameObject(gameObject, "Power"):GetComponent("Image").sprite = self.spLoader:LoadSprite("t_tongyong-zhanli_zh")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue