From cbdd0848f05cfa517509e3d5459bff2a6b002e59 Mon Sep 17 00:00:00 2001 From: wangjunwei Date: Sat, 6 May 2017 08:52:39 +0800 Subject: [PATCH] can not use both space & tab in the js --- ui/src/app/app.config.js | 4 ++-- ui/src/app/locale/locale.constant-zh.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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": "名称",