修复多语言支持的小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

@@ -43,7 +43,7 @@ local publicWidgetText={
}
local function langFallback(T0,T)
for k,v in next,T0 do
if type(v)=="table"and not v.noMerge then--noMerge=true : copy pointer instead of content
if type(v)=="table"and not v.fullCopy then--fullCopy=true : copy pointer instead of content
if not T[k]then T[k]={}end
if type(T[k])=="table"and not v[1]then langFallback(v,T[k])end
elseif not T[k]then