From c1cff9e95f99c77777b89fa6e1cc736a01c9950d Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Wed, 11 Oct 2023 13:45:07 -0500 Subject: [PATCH] refactor: renew to extend front-end facing copy --- web/components/Registration.ce.vue | 2 +- web/locales/en_US.json | 7 +++++-- web/store/server.ts | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/web/components/Registration.ce.vue b/web/components/Registration.ce.vue index 08ea26998..a0636a92f 100644 --- a/web/components/Registration.ce.vue +++ b/web/components/Registration.ce.vue @@ -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, diff --git a/web/locales/en_US.json b/web/locales/en_US.json index d396290f6..aebd843e3 100644 --- a/web/locales/en_US.json +++ b/web/locales/en_US.json @@ -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" } diff --git a/web/store/server.ts b/web/store/server.ts index d8b4e719b..46c7d5a76 100644 --- a/web/store/server.ts +++ b/web/store/server.ts @@ -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(); },