From 683061fdab4ed78efd443ca8d3b1c4ffc8a6668c Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 6 Jan 2025 11:20:36 +0800 Subject: [PATCH] =?UTF-8?q?perf(X-Pack):=20=E7=99=BB=E5=BD=95=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E9=A1=B5=E9=9D=A2=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/en.ts | 20 ++++++++++++++++++-- core/core-frontend/src/locales/tw.ts | 14 ++++++++++++-- core/core-frontend/src/locales/zh-CN.ts | 14 ++++++++++++-- core/core-frontend/src/views/login/index.vue | 2 +- 4 files changed, 43 insertions(+), 7 deletions(-) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index f390801f60..dcea849de6 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -418,7 +418,13 @@ export default { pwd_format: 'Password length is 5-15', default_login: 'Default', ldap_login: 'LDAP Login', - account_login: 'Account Login' + account_login: 'Account Login', + other_login: 'Other login methods', + pwd_invalid_error: + 'The password has expired. Please contact the administrator to modify or reset it', + pwd_exp_tips: + 'Password will expire in {0} days, please change your password as soon as possible', + qr_code: 'QR Code' }, component: { columnList: 'List item', @@ -4525,7 +4531,17 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr step_1: 'Install Application', step_2: 'Bind MFA Authenticator', unbind_confirm: 'Are you sure to unbind MFA multi-factor authentication?', - mfa_code: 'MFA Verification Code' + mfa_code: 'MFA Verification Code', + install_app: 'Install the app', + install_1: + '1. Download and install the MFA Authenticator app on your mobile device or WeChat mini program', + install_2: + '2. After installation, click next to enter the binding page (if already installed, go directly to the next step)', + phone_download: 'Download on mobile', + scan_qr_tips: + 'Use the MFA Authenticator app to scan the QR code below to obtain a 6-digit verification code', + code_miss_tips: + 'If you cannot provide an MFA verification code, please contact the administrator!' }, threshold_warn: { all: 'All', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index b1273ddc65..90e495b3e1 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -409,7 +409,11 @@ export default { pwd_format: '密碼長度在5-15', default_login: '預設', ldap_login: 'LDAP 登錄', - account_login: '賬號登錄' + account_login: '賬號登錄', + other_login: '其他登錄方式', + pwd_invalid_error: '密碼已過期請聯系管理員修改或重置', + pwd_exp_tips: '密碼在 {0} 天後過期,請盡快修改密碼', + qr_code: '二維碼' }, component: { columnList: '列表項目', @@ -4392,7 +4396,13 @@ export default { step_1: '安裝應用', step_2: '綁定 MFA 驗證器', unbind_confirm: '確定解除 MFA 多因子認證綁定嗎?', - mfa_code: 'MFA 驗證碼' + mfa_code: 'MFA 驗證碼', + install_app: '安裝應用', + install_1: '1、請在手機端或微信小程序下載並安裝 MFA 驗證器應用', + install_2: '2、安裝完成後點擊下一步進入綁定頁面(如已安裝,直接進入下一步)', + phone_download: '手機下載', + scan_qr_tips: '使用 MFA 驗證器應用掃描以下二維碼,獲取6位驗證碼', + code_miss_tips: '如果不能提供 MFA 驗證碼,請聯系管理員!' }, threshold_warn: { all: '全部', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 8d785a905d..639b23e6ee 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -410,7 +410,11 @@ export default { pwd_format: '密码长度在5-15', default_login: '默认', ldap_login: 'LDAP 登录', - account_login: '账号登录' + account_login: '账号登录', + other_login: '其他登录方式', + pwd_invalid_error: '密码已过期请联系管理员修改或重置', + pwd_exp_tips: '密码在 {0} 天后过期,请尽快修改密码', + qr_code: '二维码' }, component: { columnList: '列表项', @@ -4397,7 +4401,13 @@ export default { step_1: '安装应用', step_2: '绑定 MFA 验证器', unbind_confirm: '确定解除 MFA 多因子认证绑定吗?', - mfa_code: 'MFA 验证码' + mfa_code: 'MFA 验证码', + install_app: '安装应用', + install_1: '1、请在手机端或微信小程序下载并安装 MFA 验证器应用', + install_2: '2、安装完成后点击下一步进入绑定页面(如已安装,直接进入下一步)', + phone_download: '手机下载', + scan_qr_tips: '使用 MFA 验证器应用扫描以下二维码,获取6位验证码', + code_miss_tips: '如果不能提供 MFA 验证码,请联系管理员!' }, threshold_warn: { all: '全部', diff --git a/core/core-frontend/src/views/login/index.vue b/core/core-frontend/src/views/login/index.vue index 0a481f86ee..4fee72835e 100644 --- a/core/core-frontend/src/views/login/index.vue +++ b/core/core-frontend/src/views/login/index.vue @@ -304,7 +304,7 @@ onMounted(async () => {
- {{ slogan || '人人可用的开源 BI 工具' }} + {{ slogan || t('system.available_to_everyone') }}