Merge branch 'dev' of git.juzugame.com:b6-client/b6-lua into dev
This commit is contained in:
commit
74f3121e9e
@ -215,6 +215,7 @@ local LocalizationGlobalConst =
|
||||
BIND_TIPS_DESC = "BIND_TIPS_DESC",
|
||||
GET_SEVER_ERROR = "GET_SEVER_ERROR",
|
||||
PAY_FAILED_DESC_1 = "PAY_FAILED_DESC_1",
|
||||
CHAPTER_DESC_2 = "CHAPTER_DESC_2",
|
||||
}
|
||||
|
||||
return LocalizationGlobalConst
|
||||
@ -215,6 +215,7 @@ local localization_global =
|
||||
["BIND_TIPS_DESC"] = "为了您的帐户安全,请绑定账号",
|
||||
["GET_SEVER_ERROR"] = "请求服务器失败,请重试",
|
||||
["PAY_FAILED_DESC_1"] = "订单异常,请联系客服处理",
|
||||
["CHAPTER_DESC_2"] = "神秘宝箱{0}/{1}",
|
||||
}
|
||||
|
||||
return localization_global
|
||||
@ -103,7 +103,8 @@ function ChapterComp:refreshChapter(force)
|
||||
mysteryBoxIcon:setVisible(mysteryBoxCount > 0)
|
||||
if mysteryBoxCount > 0 then
|
||||
local gotCount = DataManager.ChapterData:getChapterMysteryBoxGotCount(chapterId)
|
||||
self.uiMap["chapter.img.mystery_box_icon.desc"]:setText(gotCount .. "/" .. mysteryBoxCount)
|
||||
local desc = I18N:getGlobalText(I18N.GlobalConst.CHAPTER_DESC_2, gotCount, mysteryBoxCount)
|
||||
self.uiMap["chapter.img.mystery_box_icon.desc"]:setText(desc)
|
||||
end
|
||||
|
||||
local rewardChapterId = DataManager.ChapterData:getIsHaveRewardsMinId()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user