修复多语言支持的小bug

This commit is contained in:
MrZ626
2020-11-02 01:25:27 +08:00
parent a01727f754
commit ab82271fd0
8 changed files with 12 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ local ins,rem=table.insert,table.remove
local find,sub=string.find,string.sub
function sceneInit.dict()
local location=(SETTING.lang==3 or SETTING.lang==4)and"en"or"zh"
local location=({"zh","zh","en","en","en","en","zh"})[SETTING.lang]
sceneTemp={
dict=require("LANG/dict_"..location),