chore: update eligibility copy (#1376)

This commit is contained in:
Zack Spear
2025-05-01 10:30:35 -07:00
committed by GitHub
parent 874a507e60
commit 1ff3d7285e
5 changed files with 6 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ const output = computed(() => {
}
return {
text: regUpdatesExpired.value
? props.t('Ineligible for feature updates released after {0}', [outputDateTimeFormatted.value])
? `${props.t('Eligible for updates released on or before {0}.', [outputDateTimeFormatted.value])} ${props.t('Extend your license to access the latest updates.')}`
: props.t('Eligible for free feature updates until {0}', [outputDateTimeFormatted.value]),
title: regUpdatesExpired.value
? props.t('Ineligible as of {0}', [outputDateTimeReadableDiff.value])

View File

@@ -36,7 +36,7 @@ const output = computed(() => {
}
return {
text: regUpdatesExpired.value
? props.t('Ineligible for feature updates released after {0}', [formattedRegExp.value])
? `${props.t('Eligible for updates released on or before {0}.', [formattedRegExp.value])} ${props.t('Extend your license to access the latest updates.')}`
: props.t('Eligible for free feature updates until {0}', [formattedRegExp.value]),
title: regUpdatesExpired.value
? props.t('Ineligible as of {0}', [readableDiffRegExp.value])

View File

@@ -112,7 +112,7 @@ const modalCopy = computed((): ModalCopy | null => {
if (availableWithRenewal.value) {
const description = regUpdatesExpired.value
? props.t('Ineligible for feature updates released after {0}', [formattedRegExp.value])
? `${props.t('Eligible for updates released on or before {0}.', [formattedRegExp.value])} ${props.t('Extend your license to access the latest updates.')}`
: props.t('Eligible for free feature updates until {0}', [formattedRegExp.value]);
return {
title: props.t('Unraid OS {0} Released', [availableWithRenewal.value]),

View File

@@ -62,7 +62,7 @@ const regExpOutput = computed(() => {
}
return {
text: regUpdatesExpired.value
? props.t('Ineligible for feature updates released after {0}', [formattedRegExp.value])
? `${props.t('Eligible for updates released on or before {0}.', [formattedRegExp.value])} ${props.t('Extend your license to access the latest updates.')}`
: props.t('Eligible for free feature updates until {0}', [formattedRegExp.value]),
title: regUpdatesExpired.value
? props.t('Ineligible as of {0}', [readableDiffRegExp.value])

View File

@@ -142,7 +142,8 @@
"Ignored Releases": "Ignored Releases",
"In the rare event you need to downgrade we ask that you please provide us with Diagnostics so we can investigate your issue.": "In the rare event you need to downgrade we ask that you please provide us with Diagnostics so we can investigate your issue.",
"Ineligible as of {0}": "Ineligible as of {0}",
"Ineligible for feature updates released after {0}": "Ineligible for feature updates released after {0}",
"Eligible for updates released on or before {0}.": "Eligible for updates released on or before {0}.",
"Extend your license to access the latest updates.": "Extend your license to access the latest updates.",
"Ineligible for Unraid OS updates": "Ineligible for Unraid OS updates",
"Ineligible": "Ineligible",
"Ineligible for self-replacement": "Ineligible for self-replacement",