diff --git a/lua/app/common/i18n_manager.lua b/lua/app/common/i18n_manager.lua index f7c0084f..21c154f0 100644 --- a/lua/app/common/i18n_manager.lua +++ b/lua/app/common/i18n_manager.lua @@ -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