From b4d0596949c7c1a6f07c8c3809e7e016efc01f5e Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 1 Nov 2023 14:50:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?perf:=20=E8=AE=B8=E5=8F=AF=E8=AF=81?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/zh-CN.ts | 3 ++- core/core-frontend/src/views/about/index.vue | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 84f59fd58d..94e6e7ca47 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -1430,8 +1430,9 @@ export default { auth_num: '授权数量', version: '版本', version_num: '版本号', - standard: '标准版', + standard: '社区版', enterprise: '企业版', + Embeded: '嵌入式版', support: '获取技术支持', update_success: '更新成功', serial_no: '序列号', diff --git a/core/core-frontend/src/views/about/index.vue b/core/core-frontend/src/views/about/index.vue index 2cb88be0b9..9c8912403b 100644 --- a/core/core-frontend/src/views/about/index.vue +++ b/core/core-frontend/src/views/about/index.vue @@ -150,7 +150,13 @@ const update = (licKey: string) => {
{{ $t('about.version') }}
- {{ !license?.edition ? $t('about.standard') : $t('about.enterprise') }} + {{ + !license?.edition + ? $t('about.standard') + : license.edition === 'Embeded' + ? $t('about.Embeded') + : $t('about.enterprise') + }}
From 57e4e7a4af97bd1853cfdf510ca2fe2280751b6b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 1 Nov 2023 14:52:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?perf:=20=E8=AE=B8=E5=8F=AF=E8=AF=81?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=96=87=E6=A1=88=E6=8B=BC=E5=86=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/zh-CN.ts | 2 +- core/core-frontend/src/views/about/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 94e6e7ca47..793f7cd533 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -1432,7 +1432,7 @@ export default { version_num: '版本号', standard: '社区版', enterprise: '企业版', - Embeded: '嵌入式版', + Embedded: '嵌入式版', support: '获取技术支持', update_success: '更新成功', serial_no: '序列号', diff --git a/core/core-frontend/src/views/about/index.vue b/core/core-frontend/src/views/about/index.vue index 9c8912403b..5f1f65041c 100644 --- a/core/core-frontend/src/views/about/index.vue +++ b/core/core-frontend/src/views/about/index.vue @@ -153,8 +153,8 @@ const update = (licKey: string) => { {{ !license?.edition ? $t('about.standard') - : license.edition === 'Embeded' - ? $t('about.Embeded') + : license.edition === 'Embedded' + ? $t('about.Embedded') : $t('about.enterprise') }}