From 81623a7aa24e63029ec174f4857f7bbcdbfd5d25 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Fri, 21 Apr 2023 17:36:56 +0800 Subject: [PATCH] =?UTF-8?q?i18nbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/i18n_manager.lua | 2 ++ 1 file changed, 2 insertions(+) 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