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
@@ -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])
@@ -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])
@@ -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]),
+1 -1
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])