diff --git a/ui/src/app/app.config.js b/ui/src/app/app.config.js index 76a1df7666..12e6b15a25 100644 --- a/ui/src/app/app.config.js +++ b/ui/src/app/app.config.js @@ -57,8 +57,8 @@ export default function AppConfig($provide, if (lang === 'ko') { $translateProvider.useSanitizeValueStrategy(null); $translateProvider.preferredLanguage('ko_KR'); - }else if(lang === 'zh'){ - $translateProvider.useSanitizeValueStrategy(null); + }else if(lang === 'zh') { + $translateProvider.useSanitizeValueStrategy(null); $translateProvider.preferredLanguage('zh_CN'); } diff --git a/ui/src/app/locale/locale.constant-zh.js b/ui/src/app/locale/locale.constant-zh.js index 9ea20e9dfb..3175f9cf2b 100644 --- a/ui/src/app/locale/locale.constant-zh.js +++ b/ui/src/app/locale/locale.constant-zh.js @@ -352,7 +352,7 @@ export default function addLocaleChinese(locales) { "access-token-required": "需要访问令牌", "access-token-invalid": "访问令牌长度必须为1到20个字符。", "rsa-key": "RSA公钥", - "access-token-required": "需要RSA公钥", + "rsa-key-required": "需要RSA公钥", "secret": "密钥", "secret-required": "密钥是必需的", "name": "名称",