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