From f333658ac60ab2c79af7d52c78aeb522112e287a Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 11 Feb 2025 10:19:57 +0800 Subject: [PATCH] fix: i18n --- ui/src/locales/lang/en-US/views/system.ts | 4 +++- ui/src/locales/lang/zh-CN/views/system.ts | 4 +++- ui/src/locales/lang/zh-Hant/views/system.ts | 4 +++- ui/src/views/authentication/component/EditModal.vue | 7 ++++--- ui/src/views/authentication/component/SCAN.vue | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ui/src/locales/lang/en-US/views/system.ts b/ui/src/locales/lang/en-US/views/system.ts index 153e55955..305b13f7a 100644 --- a/ui/src/locales/lang/en-US/views/system.ts +++ b/ui/src/locales/lang/en-US/views/system.ts @@ -87,7 +87,9 @@ export default { agentIdPlaceholder: 'Please enter agent ID', callbackWarning: 'Please enter a valid URL address', larkQrCode: 'Lark Scan Code Login', - dingtalkQrCode: 'DingTalk Scan Code Login' + dingtalkQrCode: 'DingTalk Scan Code Login', + setting: ' Setting', + access: 'Access' } }, theme: { diff --git a/ui/src/locales/lang/zh-CN/views/system.ts b/ui/src/locales/lang/zh-CN/views/system.ts index cc14ddeef..f11b95c20 100644 --- a/ui/src/locales/lang/zh-CN/views/system.ts +++ b/ui/src/locales/lang/zh-CN/views/system.ts @@ -87,7 +87,9 @@ export default { agentIdPlaceholder: '请输入 Agent Id', callbackWarning: '请输入有效的 URL 地址', larkQrCode: '飞书扫码登录', - dingtalkQrCode: '钉钉扫码登录' + dingtalkQrCode: '钉钉扫码登录', + setting: '设置', + access: '接入' } }, theme: { diff --git a/ui/src/locales/lang/zh-Hant/views/system.ts b/ui/src/locales/lang/zh-Hant/views/system.ts index 98f3a87fd..de185dfee 100644 --- a/ui/src/locales/lang/zh-Hant/views/system.ts +++ b/ui/src/locales/lang/zh-Hant/views/system.ts @@ -88,7 +88,9 @@ export default { agentIdPlaceholder: '請輸入 Agent Id', callbackWarning: '請輸入有效的 URL 位址', larkQrCode: '飛書掃碼登錄', - dingtalkQrCode: '釘釘掃碼登錄' + dingtalkQrCode: '釘釘掃碼登錄', + setting: '設置', + access: '接入' } }, theme: { diff --git a/ui/src/views/authentication/component/EditModal.vue b/ui/src/views/authentication/component/EditModal.vue index 3a11c3641..153e708b0 100644 --- a/ui/src/views/authentication/component/EditModal.vue +++ b/ui/src/views/authentication/component/EditModal.vue @@ -9,7 +9,9 @@ template > @@ -224,5 +226,4 @@ function saveConfig() { } - + diff --git a/ui/src/views/authentication/component/SCAN.vue b/ui/src/views/authentication/component/SCAN.vue index e905a01d8..ff204395e 100644 --- a/ui/src/views/authentication/component/SCAN.vue +++ b/ui/src/views/authentication/component/SCAN.vue @@ -13,7 +13,7 @@
接入 + >{{ $t('views.system.authentication.scanTheQRCode.access') }} {{