i18nbug修复
This commit is contained in:
parent
60a5d5551f
commit
81623a7aa2
@ -338,6 +338,7 @@ function I18N:getText(configName, index, key, ...)
|
||||
end
|
||||
if ... then
|
||||
local param = {...}
|
||||
key = configName .. index .. key
|
||||
if self.cacheNormalFormatParamSequnce[key] then
|
||||
self.cacheNormalIndex = 0
|
||||
str = string.gsub(str, '{%d+}', function (s)
|
||||
@ -353,6 +354,7 @@ function I18N:getText(configName, index, key, ...)
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
return str
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user