【本地化】我要变强修改
parent
16982ef939
commit
8ad9913800
|
@ -476,7 +476,7 @@ function this.ShowRmdPanel(index)
|
||||||
local childContent = Util.GetGameObject(childBox, "content"):GetComponent("Text")
|
local childContent = Util.GetGameObject(childBox, "content"):GetComponent("Text")
|
||||||
title.text = ""--GetLanguageStrById(data.DescFirst)
|
title.text = ""--GetLanguageStrById(data.DescFirst)
|
||||||
local strList = string.split(GetLanguageStrById(data.DescSecond), "#")
|
local strList = string.split(GetLanguageStrById(data.DescSecond), "#")
|
||||||
childName.text = GetLanguageStrById(data.DescFirst).." "..strList[1]--" "..strList[1] -- 空格用于调整文字的起始位置
|
childName.text = GetLanguageStrById(data.DescFirst).." : "..strList[1]--" "..strList[1] -- 空格用于调整文字的起始位置
|
||||||
childContent.text = " "..strList[2] -- 全角空格可以避免自动换行
|
childContent.text = " "..strList[2] -- 全角空格可以避免自动换行
|
||||||
for index, heroId in ipairs(data.ItemId) do
|
for index, heroId in ipairs(data.ItemId) do
|
||||||
local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroId)
|
local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroId)
|
||||||
|
|
Loading…
Reference in New Issue