From 4025450248e856e22a2a29fd850cbc9c150bc014 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 16 Jan 2026 10:38:43 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=20License=E6=98=BE=E7=A4=BA=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/en.ts | 4 +++- core/core-frontend/src/locales/tw.ts | 4 +++- core/core-frontend/src/locales/zh-CN.ts | 4 +++- core/core-frontend/src/views/about/index.vue | 3 ++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 28bed08b66..fd0188c1ad 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -2510,7 +2510,9 @@ export default { serial_no: 'Serial number', remark: 'Remark', back_community: 'Revert to Community Edition', - confirm_tips: 'Are you sure you want to restore to the community edition? ' + confirm_tips: 'Are you sure you want to restore to the community edition? ', + set_of: '', + count_of: 'account' }, cron: { second: 'Seconds', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 9278baa35d..e6a5339cc9 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -2440,7 +2440,9 @@ export default { serial_no: '序號', remark: '備註', back_community: '還原至社區版', - confirm_tips: '确定還原至社區版?' + confirm_tips: '确定還原至社區版?', + set_of: '套', + count_of: '個賬號' }, cron: { second: '秒', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 9adb896c98..0530a80932 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2446,7 +2446,9 @@ export default { serial_no: '序列号', remark: '备注', back_community: '还原至社区版', - confirm_tips: '确定还原至社区版?' + confirm_tips: '确定还原至社区版?', + set_of: '套', + count_of: '个账号' }, cron: { second: '秒', diff --git a/core/core-frontend/src/views/about/index.vue b/core/core-frontend/src/views/about/index.vue index 31ad12f5bf..8265155d4e 100644 --- a/core/core-frontend/src/views/about/index.vue +++ b/core/core-frontend/src/views/about/index.vue @@ -122,7 +122,8 @@ const validateHandler = (param, success) => { } const getLicense = result => { if (result.status === 'valid') { - tipsSuffix.value = result?.license?.edition === 'Embedded' ? '套' : '个账号' + tipsSuffix.value = + result?.license?.edition === 'Enterprise' ? t('about.count_of') : t('about.set_of') } return { status: result.status,