【本地化】鸿蒙阵结果中文修改

dev_chengFeng
ZhangBiao 2021-03-08 10:57:57 +08:00
parent 81a10ad759
commit 33d6f64785
4 changed files with 636 additions and 589 deletions

View File

@ -2194,10 +2194,10 @@
[12193] = GetLanguageStrById("获得鸿蒙碑共鸣效果"),
[12194] = GetLanguageStrById("获得鸿蒙阵共鸣效果"),
[12195] = GetLanguageStrById("%s%d星"),
[12196] = GetLanguageStrById("\t\t\t\t\t\t<color=green>%d级</color>(当前上限%d级)"),
[12197] = GetLanguageStrById("\t\t\t\t\t\t<color=green>%d级</color>(%s)"),
[12198] = GetLanguageStrById("\t\t\t\t\t\t<color=red>无</color>"),
[12199] = GetLanguageStrById("\t\t\t\t\t\t%s%d星(%s)"),
[12196] = GetLanguageStrById("<color=green>%d级</color>(当前上限%d级)"),
[12197] = GetLanguageStrById("<color=green>%d级</color>(%s)"),
[12198] = GetLanguageStrById("<color=red>无</color>"),
[12199] = GetLanguageStrById("%s%d星(%s)"),
[12200] = GetLanguageStrById("鸿蒙使者不足6位无法产生共鸣"),
[12201] = GetLanguageStrById("鸿蒙碑等级已达上限!"),
[12202] = GetLanguageStrById("鸿蒙塔等级:"),
@ -2232,4 +2232,5 @@
[12231] = GetLanguageStrById("$99.99抢购"),
[12232] = GetLanguageStrById("每周限购 %s 个"),
[12233] = GetLanguageStrById("核心神将:"),
[12234] = GetLanguageStrById("%d次内必得金色及以上魂印"),
}

View File

@ -13,11 +13,11 @@ local heroConfig = ConfigManager.GetConfig(ConfigName.HeroConfig)
function GongMingResultTips:InitComponent()
self.BackMask = Util.GetGameObject(self.transform, "BackMask")
self.breakOpenSkillGrid =Util.GetGameObject(self.transform, "bg/breakOpenSkill/Mask")
self.upStarSkillTextPreDegree = Util.GetGameObject(self.transform, "bg/upStarSkillTextPre")
self.upStarSkillTextPreEquip = Util.GetGameObject(self.transform, "bg/upStarSkillTextPre (1)")
self.upStarSkillTextPreHun = Util.GetGameObject(self.transform,"bg/upStarSkillTextPre (2)")
self.upStarSkillTextPreSoul = Util.GetGameObject(self.transform,"bg/upStarSkillTextPre (3)")
self.upStarSkillTextPreFa = Util.GetGameObject(self.transform,"bg/upStarSkillTextPre (4)")
self.upStarSkillTextPreDegree = Util.GetGameObject(self.transform, "bg/upStarSkillTextPre1/content")
self.upStarSkillTextPreEquip = Util.GetGameObject(self.transform, "bg/upStarSkillTextPre2/content")
self.upStarSkillTextPreHun = Util.GetGameObject(self.transform,"bg/upStarSkillTextPre3/content")
self.upStarSkillTextPreSoul = Util.GetGameObject(self.transform,"bg/upStarSkillTextPre4/content")
self.upStarSkillTextPreFa = Util.GetGameObject(self.transform,"bg/upStarSkillTextPre5/content")
self.upStarOpenSkill =Util.GetGameObject(self.transform, "bg/upStarOpenSkill/Mask")
end
@ -51,19 +51,19 @@ function GongMingResultTips:OnOpen(skinId)
self.upStarSkillTextPreDegree:GetComponent("Text").text = string.format(Language[12196],data[i].value,num)
elseif data[i].heroTid == -1 then
else
self.upStarSkillTextPreDegree:GetComponent("Text").text = string.format(Language[12197],data[i].value,ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName)
self.upStarSkillTextPreDegree:GetComponent("Text").text = string.format(Language[12197],data[i].value,GetLanguageStrById(ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName))
end
elseif data[i].additionType == 2 then
if data[i].value == -1 then
self.upStarSkillTextPreEquip:GetComponent("Text").text = string.format(Language[12198])
else
local equip = ConfigManager.GetConfigData(ConfigName.EquipStarsConfig,data[i].value)
self.upStarSkillTextPreEquip:GetComponent("Text").text = GetStringByEquipQua(equip.Quality,string.format(Language[12199],GetQuantityStrByquality(equip.Quality),equip.Stars,ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName))
self.upStarSkillTextPreEquip:GetComponent("Text").text = GetStringByEquipQua(equip.Quality,string.format(Language[12199],GetQuantityStrByquality(equip.Quality),equip.Stars,GetLanguageStrById(ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName)))
end
elseif data[i].additionType == 3 then
if data[i].heroTid~= 0 and data[i].value > 0 then
self.upStarSkillTextPreHun:SetActive(true)
self.upStarSkillTextPreHun:GetComponent("Text").text = string.format("\t\t\t\t\t\t<color=green>%d</color>(%s)",data[i].value,ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName)
self.upStarSkillTextPreHun:GetComponent("Text").text = string.format("<color=green>%d</color>(%s)",data[i].value,GetLanguageStrById(ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName))
else
if PlayerManager.level<75 then
self.upStarSkillTextPreHun:SetActive(false)
@ -76,7 +76,7 @@ function GongMingResultTips:OnOpen(skinId)
elseif data[i].additionType == 4 then
if data[i].heroTid ~= 0 and data[i].value > 0 then
self.upStarSkillTextPreSoul:SetActive(true)
self.upStarSkillTextPreSoul:GetComponent("Text").text =string.format("\t\t\t\t\t\t<color=green>%d</color>(%s)",data[i].value,ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName)
self.upStarSkillTextPreSoul:GetComponent("Text").text =string.format("<color=green>%d</color>(%s)",data[i].value,GetLanguageStrById(ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName))
else
if PlayerManager.level<75 then
self.upStarSkillTextPreSoul:SetActive(false)
@ -89,7 +89,7 @@ function GongMingResultTips:OnOpen(skinId)
else
if data[i].value ~= -1 then
print(data[i].heroTid )
self.upStarSkillTextPreFa:GetComponent("Text").text =string.format("\t\t\t\t\t\t<color=green>%d</color>(%s)",data[i].value,ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName)
self.upStarSkillTextPreFa:GetComponent("Text").text =string.format("<color=green>%d</color>(%s)",data[i].value,GetLanguageStrById(ConfigManager.TryGetConfigData(ConfigName.HeroConfig, data[i].heroTid).ReadingName))
else
self.upStarSkillTextPreFa:GetComponent("Text").text =string.format(Language[12198])
end

View File

@ -2193,10 +2193,10 @@
12193,获得鸿蒙碑共鸣效果
12194,获得鸿蒙阵共鸣效果
12195,%s%d星
12196,\t\t\t\t\t\t<color=green>%d¼¶</color>(µ±Ç°ÉÏÏÞ%d¼¶)
12197,\t\t\t\t\t\t<color=green>%d¼¶</color>(%s)
12198,\t\t\t\t\t\t<color=red>ÎÞ</color>
12199,\t\t\t\t\t\t%s%dÐÇ(%s)
12196,<color=green>%d级</color>(当前上限%d级)
12197,<color=green>%d级</color>(%s)
12198,<color=red>无</color>
12199,%s%d星(%s)
12200,鸿蒙使者不足6位无法产生共鸣
12201,鸿蒙碑等级已达上限!
12202,鸿蒙塔等级:
@ -2231,3 +2231,4 @@
12231,$99.99抢购
12232,每周限购 %s 个
12233,核心神将:
12234,%d次内必得金色及以上魂印

1 10001
2193 12193 获得鸿蒙碑共鸣效果
2194 12194 获得鸿蒙阵共鸣效果
2195 12195 %s%d星
2196 12196 \t\t\t\t\t\t<color=green>%d级</color>(当前上限%d级) <color=green>%d级</color>(当前上限%d级)
2197 12197 \t\t\t\t\t\t<color=green>%d级</color>(%s) <color=green>%d级</color>(%s)
2198 12198 \t\t\t\t\t\t<color=red>无</color> <color=red>无</color>
2199 12199 \t\t\t\t\t\t%s%d星(%s) %s%d星(%s)
2200 12200 鸿蒙使者不足6位,无法产生共鸣!
2201 12201 鸿蒙碑等级已达上限!
2202 12202 鸿蒙塔等级:
2231 12231 $99.99抢购
2232 12232 每周限购 %s 个
2233 12233 核心神将:
2234 12234 %d次内必得金色及以上魂印