parent
4c12388265
commit
e5b18f7e4c
|
|
@ -198,7 +198,7 @@ function this.SingleMialDataShow(_go, _mailData)
|
||||||
isTopImg:SetActive(false)
|
isTopImg:SetActive(false)
|
||||||
elseif _mailData.isTop == 1 then --置顶
|
elseif _mailData.isTop == 1 then --置顶
|
||||||
mialBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite("r_renwu_tiao_004")
|
mialBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite("r_renwu_tiao_004")
|
||||||
isTopImg:SetActive(true)
|
isTopImg:SetActive(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
Util.AddOnceClick(mialBtn, function()
|
Util.AddOnceClick(mialBtn, function()
|
||||||
|
|
|
||||||
|
|
@ -69,14 +69,18 @@ function this.GetStringByStringformat(inputStr)
|
||||||
if #msgStr == 1 then
|
if #msgStr == 1 then
|
||||||
return GetLanguageStrById(msgStr[1])
|
return GetLanguageStrById(msgStr[1])
|
||||||
end
|
end
|
||||||
|
LogGreen("inputStr1:"..msgStr[1])
|
||||||
for i = 2, #msgStr do
|
for i = 2, #msgStr do
|
||||||
--1 需要翻译
|
--1 需要翻译
|
||||||
local oneStr = string.sub(msgStr[i],1,1)
|
local oneStr = string.sub(msgStr[i],1,1)
|
||||||
if tonumber(oneStr) == 1 then
|
if tonumber(oneStr) == 1 then
|
||||||
msgStr[i] = tostring(string.sub(msgStr[i],2))
|
msgStr[i] = tostring(string.sub(msgStr[i],2))
|
||||||
msgStr[i] = GetLanguageStrById(msgStr[i])
|
msgStr[i] = GetLanguageStrById(msgStr[i])
|
||||||
|
LogGreen("inputStr2:"..msgStr[i])
|
||||||
else
|
else
|
||||||
msgStr[i] = tostring(string.sub(msgStr[i],2))
|
msgStr[i] = tostring(string.sub(msgStr[i],2))
|
||||||
|
msgStr[i] = GetLanguageStrById(msgStr[i])
|
||||||
|
LogGreen("inputStr3:"..msgStr[i])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local returnStr = string.format(
|
local returnStr = string.format(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue