Skip to content

Commit ab03d5e

Browse files
authored
feat: Improve the name of the professional version (#7855)
1 parent 9a73537 commit ab03d5e

File tree

13 files changed

+80
-101
lines changed

13 files changed

+80
-101
lines changed

frontend/src/api/interface/setting.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ export namespace Setting {
219219
licenseName: string;
220220
assigneeName: string;
221221
productPro: string;
222+
versionConstraint: string;
222223
trial: boolean;
223224
status: string;
224225
message: string;

frontend/src/components/system-upgrade/index.vue

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
<el-divider direction="vertical" />
1717
</div>
1818
<div class="flex flex-wrap items-center">
19-
<el-link :underline="false" type="primary" @click="toLxware">
19+
<el-link :underline="false" class="-ml-2" type="primary" @click="toLxware">
2020
{{ $t(!isMasterProductPro ? 'license.community' : 'license.pro') }}
2121
</el-link>
2222
<el-link :underline="false" class="version" type="primary" @click="copyText(version)">
2323
{{ version }}
2424
</el-link>
2525
<el-badge is-dot class="-mt-0.5" v-if="version !== 'Waiting' && globalStore.hasNewVersion">
26-
<el-link :underline="false" type="primary" @click="onLoadUpgradeInfo">
27-
{{ $t('setting.hasNewVersion') }}
26+
<el-link class="ml-2" :underline="false" type="primary" @click="onLoadUpgradeInfo">
27+
{{ $t('commons.button.update') }}
2828
</el-link>
2929
</el-badge>
3030
<el-link
@@ -33,7 +33,7 @@
3333
:underline="false"
3434
@click="onLoadUpgradeInfo"
3535
>
36-
{{ $t('setting.upgradeCheck') }}
36+
{{ $t('commons.button.update') }}
3737
</el-link>
3838
<el-tag v-if="version === 'Waiting'" round style="margin-left: 10px">
3939
{{ $t('setting.upgrading') }}
@@ -136,10 +136,19 @@ onMounted(() => {
136136
</script>
137137

138138
<style lang="scss" scoped>
139+
.line-height {
140+
line-height: 25px;
141+
}
142+
:deep(.el-link__inner) {
143+
font-weight: 400;
144+
}
139145
.version {
146+
margin-left: 8px;
140147
font-size: 14px;
141148
color: var(--panel-color-primary-light-4);
142149
text-decoration: none;
143150
letter-spacing: 0.5px;
151+
cursor: pointer;
152+
font-family: auto;
144153
}
145154
</style>

frontend/src/components/system-upgrade/upgrade/index.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ defineExpose({
114114
font-size: 16px;
115115
}
116116
}
117-
:deep(.el-link__inner) {
118-
font-weight: 400;
119-
}
120117
:deep(.md-editor-dark) {
121118
background-color: var(--panel-main-bg-color-9);
122119
}

frontend/src/lang/modules/en.ts

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const message = {
5252
refresh: 'Refresh',
5353
get: 'Get',
5454
upgrade: 'Upgrade',
55-
update: 'update',
55+
update: 'Update',
5656
ignore: 'Ignore upgrade',
5757
copy: 'Copy',
5858
random: 'Random',
@@ -1763,20 +1763,18 @@ const message = {
17631763
backupRecoverMessage: 'Please enter the compression or decompression password (leave blank to not set)',
17641764
},
17651765
license: {
1766-
community: 'Community Edition: ',
1767-
community2: 'Community Edition',
1768-
pro: 'Professional Edition: ',
1769-
xpack: 'Professional Edition',
1770-
trial: 'Trial Version',
1766+
community: 'OSS',
1767+
oss: 'Open Source Software',
1768+
pro: 'Pro',
1769+
trial: 'Trial',
1770+
subscription: 'Subscription',
1771+
perpetual: 'Perpetual',
1772+
versionConstraint: '{0} Version Buyout',
17711773
forceDelete: 'Force delete, will ignore errors during the deletion process and eventually remove metadata',
17721774
deleteHelper: 'Deleting the license may cause child nodes to be unable to switch, please proceed with caution!',
1773-
office: 'Official Version',
17741775
trialInfo: 'Version',
1775-
authorizationId: 'Subscription Authorization ID',
1776+
authorizationId: 'Authorization ID',
17761777
authorizedUser: 'Authorized User',
1777-
expiresAt: 'Expiration Date',
1778-
productName: 'Product Name',
1779-
productStatus: 'Product Status',
17801778
lostHelper:
17811779
'The license has reached the maximum number of retry attempts. Please manually click the sync button to ensure the professional version functions properly. detail: ',
17821780
exceptionalHelper:
@@ -1788,7 +1786,6 @@ const message = {
17881786
'There are currently other nodes besides the master node. The {0} operation is not supported. Please delete the nodes in the node management and try again.',
17891787
importLicense: 'Import License',
17901788
importHelper: 'Please click or drag the license file here',
1791-
indefinitePeriod: 'Indefinite Period',
17921789
levelUpPro: 'Upgrade to Professional Edition',
17931790
licenseSync: 'License Sync',
17941791
knowMorePro: 'Learn More',

frontend/src/lang/modules/ja.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,17 +1630,13 @@ const message = {
16301630
community: '無料',
16311631
oss: '無料',
16321632
pro: '専門',
1633-
trial: 'トライアル',
1634-
office: '正式',
1633+
trial: '体験',
1634+
subscription: 'サブスクリプション',
1635+
perpetual: '永久ライセンス',
1636+
versionConstraint: '{0} バージョン買い取り',
16351637
trialInfo: 'バージョン',
16361638
authorizationId: 'サブスクリプション承認ID',
16371639
authorizedUser: '認定ユーザー',
1638-
expiresAt: '有効期限',
1639-
productName: '製品名',
1640-
productStatus: '製品ステータス',
1641-
Lost: '失った',
1642-
Enable: '有効になっています',
1643-
Disable: '無効',
16441640
lostHelper:
16451641
'ライセンスは、再試行の最大数に達しました。プロのバージョン機能が適切に機能していることを確認するには、手動で同期ボタンをクリックしてください。세부사항: ',
16461642
disableHelper:
@@ -1652,7 +1648,6 @@ const message = {
16521648
importHelper: 'ここでライセンスファイルをクリックまたはドラッグしてください',
16531649
technicalAdvice: '技術的な相談',
16541650
advice: '相談',
1655-
indefinitePeriod: '無期限',
16561651
levelUpPro: 'Proにアップグレードします',
16571652
licenseSync: 'ライセンス同期',
16581653
knowMorePro: 'もっと詳しく知る',

frontend/src/lang/modules/ko.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,16 +1604,12 @@ const message = {
16041604
oss: '오픈 소스 소프트웨어',
16051605
pro: 'Pro',
16061606
trial: '체험판',
1607-
office: '공식',
1607+
subscription: '구독',
1608+
perpetual: '영구 라이선스',
1609+
versionConstraint: '{0} 버전 일시불 구매',
16081610
trialInfo: '버전',
16091611
authorizationId: '구독 인증 ID',
16101612
authorizedUser: '인증된 사용자',
1611-
expiresAt: '만료일',
1612-
productName: '제품명',
1613-
productStatus: '제품 상태',
1614-
Lost: '분실',
1615-
Enable: '활성화됨',
1616-
Disable: '비활성화됨',
16171613
lostHelper:
16181614
'라이센스가 최대 재시도 횟수를 초과했습니다. 전문가 버전 기능이 제대로 작동하는지 확인하려면 동기화 버튼을 수동으로 클릭하세요.',
16191615
disableHelper:
@@ -1625,7 +1621,6 @@ const message = {
16251621
importHelper: '라이센스 파일을 여기에 클릭하거나 드래그하세요',
16261622
technicalAdvice: '기술 상담',
16271623
advice: '상담',
1628-
indefinitePeriod: '무제한 기간',
16291624
levelUpPro: 'Pro 로 업그레이드',
16301625
licenseSync: '라이센스 동기화',
16311626
knowMorePro: '더 알아보기',

frontend/src/lang/modules/ms.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,16 +1687,12 @@ const message = {
16871687
oss: 'Perisian Sumber Terbuka',
16881688
pro: 'Pro',
16891689
trial: 'Percubaan',
1690-
office: 'Rasmi',
1690+
subscription: 'Langganan',
1691+
perpetual: 'Lesen Perpetual',
1692+
versionConstraint: '{0} Pembelian versi',
16911693
trialInfo: 'Versi',
16921694
authorizationId: 'ID Kebenaran Langganan',
16931695
authorizedUser: 'Pengguna yang Dibenarkan',
1694-
expiresAt: 'Tarikh Tamat Tempoh',
1695-
productName: 'Nama Produk',
1696-
productStatus: 'Status Produk',
1697-
Lost: 'Hilang',
1698-
Enable: 'Diaktifkan',
1699-
Disable: 'Dilumpuhkan',
17001696
lostHelper:
17011697
'Lesen telah mencapai jumlah percubaan semula maksimum. Sila klik butang penyegerakan secara manual untuk memastikan ciri versi profesional berfungsi dengan baik. butiran: ',
17021698
disableHelper:
@@ -1708,7 +1704,6 @@ const message = {
17081704
importHelper: 'Sila klik atau seret fail lesen ke sini',
17091705
technicalAdvice: 'Konsultasi Teknikal',
17101706
advice: 'Konsultasi',
1711-
indefinitePeriod: 'Tempoh Tidak Terhad',
17121707
levelUpPro: 'Tingkatkan ke Pro',
17131708
licenseSync: 'Penyegerakan Lesen',
17141709
knowMorePro: 'Ketahui Lebih Lanjut',

frontend/src/lang/modules/pt-br.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,18 +1671,15 @@ const message = {
16711671
},
16721672
license: {
16731673
community: 'Gratuito',
1674+
oss: 'Open Source Software',
16741675
pro: 'Pro',
16751676
trial: 'Teste',
1676-
office: 'Oficial',
1677+
subscription: 'Assinatura',
1678+
perpetual: 'Licença Perpétua',
1679+
versionConstraint: '{0} Compra do versão',
16771680
trialInfo: 'Versão',
1678-
authorizationId: 'ID de autorização de assinatura',
1681+
authorizationId: 'ID de autorização',
16791682
authorizedUser: 'Usuário autorizado',
1680-
expiresAt: 'Data de expiração',
1681-
productName: 'Nome do Produto',
1682-
productStatus: 'Status do Produto',
1683-
Lost: 'Perdido',
1684-
Enable: 'Habilitado',
1685-
Disable: 'Desabilitado',
16861683
lostHelper:
16871684
'A licença atingiu o número máximo de tentativas de reenvio. Por favor, clique manualmente no botão de sincronização para garantir que os recursos da versão profissional estão funcionando corretamente. detalhes: ',
16881685
disableHelper:
@@ -1695,7 +1692,6 @@ const message = {
16951692
importHelper: 'Clique ou arraste o arquivo de licença aqui',
16961693
technicalAdvice: 'Consultoria técnica',
16971694
advice: 'Consultoria',
1698-
indefinitePeriod: 'Período Indefinido',
16991695
levelUpPro: 'Upgrade para Pro',
17001696
licenseSync: 'Sincronização de Licença',
17011697
knowMorePro: 'Saiba mais',

frontend/src/lang/modules/ru.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,17 +1670,13 @@ const message = {
16701670
community: 'OSS',
16711671
oss: 'Open Source Software',
16721672
pro: 'Pro',
1673-
trial: 'Trial',
1674-
office: 'Official',
1673+
trial: 'Пробная версия',
1674+
subscription: 'Подписка',
1675+
perpetual: 'Пожизненная лицензия',
1676+
versionConstraint: '{0} Выкуп версии',
16751677
trialInfo: 'Версия',
16761678
authorizationId: 'ID авторизации подписки',
16771679
authorizedUser: 'Авторизованный пользователь',
1678-
expiresAt: 'Дата истечения',
1679-
productName: 'Название продукта',
1680-
productStatus: 'Статус продукта',
1681-
Lost: 'Потеряна',
1682-
Enable: 'Включена',
1683-
Disable: 'Отключена',
16841680
lostHelper:
16851681
'Лицензия достигла максимального количества попыток повторной проверки. Пожалуйста, вручную нажмите кнопку синхронизации, чтобы убедиться, что функции профессиональной версии работают правильно. Детали: ',
16861682
disableHelper:
@@ -1692,7 +1688,6 @@ const message = {
16921688
importHelper: 'Пожалуйста, нажмите или перетащите файл лицензии сюда',
16931689
technicalAdvice: 'Техническая консультация',
16941690
advice: 'Консультация',
1695-
indefinitePeriod: 'Бессрочный период',
16961691
levelUpPro: 'Обновить до Pro',
16971692
licenseSync: 'Синхронизация лицензии',
16981693
knowMorePro: 'Узнать больше',

frontend/src/lang/modules/tw.ts

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const message = {
5252
refresh: '刷新',
5353
get: '獲取',
5454
upgrade: '升級',
55-
update: '編輯',
55+
update: '更新',
5656
ignore: '忽略升級',
5757
install: '安裝',
5858
copy: '復製',
@@ -1656,20 +1656,18 @@ const message = {
16561656
backupRecoverMessage: '請輸入壓縮或解壓縮密碼(留空則不設定)',
16571657
},
16581658
license: {
1659-
community: '社區版',
1660-
community2: '社區版',
1659+
community: '社區版',
1660+
oss: '社區版',
16611661
pro: '專業版:',
1662-
xpack: '專業版',
1663-
trial: '試用版',
1662+
trial: '試用',
1663+
subscription: '訂閱',
1664+
perpetual: '永久授權',
1665+
versionConstraint: '{0} 版本買斷',
16641666
forceDelete: '強制刪除,會忽略刪除過程中產生的錯誤並最終刪除元數據',
16651667
deleteHelper: '刪除許可證可能導致子節點無法切換,請謹慎操作!',
1666-
office: '正式版',
16671668
trialInfo: '版本',
16681669
authorizationId: '訂閱授權 ID',
16691670
authorizedUser: '被授權方',
1670-
expiresAt: '到期時間',
1671-
productName: '產品名稱',
1672-
productStatus: '產品狀態',
16731671
lostHelper: '許可證已達到最大重試次數,請手動點擊同步按鈕,以確保專業版功能正常使用,詳情:',
16741672
exceptionalHelper: '許可證同步驗證異常,請手動點擊同步按鈕,以確保專業版功能正常使用,詳情:',
16751673
quickUpdate: '快速更新',
@@ -1678,7 +1676,6 @@ const message = {
16781676
unbindMasterHelper: '當前已存在除主節點外其他節點,不支持 {0} 操作,請在節點管理中刪除節點後重試',
16791677
importLicense: '導入許可證',
16801678
importHelper: '請點擊或拖動許可文件到此處',
1681-
indefinitePeriod: '無期限',
16821679
levelUpPro: '升級專業版',
16831680
licenseSync: '許可證同步',
16841681
knowMorePro: '了解更多',

0 commit comments

Comments
 (0)