refactor: renew to extend front-end facing copy

This commit is contained in:
Zack Spear
2023-10-11 13:45:07 -05:00
committed by Zack Spear
parent 30a0e7d082
commit c1cff9e95f
3 changed files with 7 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ const items = computed((): RegistrationItemProps[] => {
component: RegistrationReplaceCheck,
componentProps: { t: t },
}] : []),
// filter out renew action and only display other key actions
// filter out renew action and only display other key actions…renew is displayed in RegistrationUpdateExpirationAction
...(keyActions.value?.filter(action => !['renew'].includes(action.name)) ? [{
label: t('License key actions'),
component: KeyActions,

View File

@@ -266,7 +266,7 @@
"Ineligible as of {0}": "Ineligible as of {0}",
"Eligible for updates for {0}": "Eligible for updates for {0}",
"Renew your license key now": "Renew your license key now",
"Renew Key to Enable OS Updates": "Renew Key to Enable OS Updates",
"Extend License to Enable OS Updates": "Extend License to Enable OS Updates",
"Check Eligibility": "Check Eligibility",
"Eligible": "Eligible",
"Ineligible": "Ineligible",
@@ -316,5 +316,8 @@
"Your {0} license included one year of free updates at the time of purchase. You are now eligible to extend your license and access the latest OS updates.": "Your {0} license included one year of free updates at the time of purchase. You are now eligible to extend your license and access the latest OS updates.",
"Your {0} license included one year of free updates at the time of purchase. You are now eligible to extend your license and access the latest OS updates. You are still eligible to access OS updates that were published on or before {1}.": "Your {0} license included one year of free updates at the time of purchase. You are now eligible to extend your license and access the latest OS updates. You are still eligible to access OS updates that were published on or before {1}.",
"Extend License": "Extend License",
"Calculating OS Update Eligibility…": "Calculating OS Update Eligibility…"
"Calculating OS Update Eligibility…": "Calculating OS Update Eligibility…",
"Cancel": "Cancel",
"Unknown error": "Unknown error",
"Installing Extended": "Installing Extended"
}

View File

@@ -295,7 +295,7 @@ export const useServerStore = defineStore('server', () => {
external: true,
icon: KeyIcon,
name: 'renew',
text: 'Renew Key to Enable OS Updates',
text: 'Extend License to Enable OS Updates',
});
const replaceAction: ServerStateDataAction = {
click: () => { accountStore.replace(); },