From 05e29468d2b5c3776ec1c6bf018b0cb543b92992 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Thu, 4 Apr 2024 02:46:25 +0900 Subject: [PATCH] refactor: trial messaging replace pro with unleashed (#865) * refactor: trial messaging replace pro with unleashed * fix: trial messaging grammar * refactor: web component translations trial messaging --- .../plugins/dynamix.my.servers/include/translations.php | 8 ++++---- web/components/UserProfile/CallbackFeedback.vue | 2 +- web/locales/_template.json | 8 ++++---- web/locales/en_US.json | 8 ++++---- web/locales/ja.json | 8 ++++---- web/store/server.ts | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/include/translations.php b/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/include/translations.php index 349b59e4e..ea2eaf193 100644 --- a/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/include/translations.php +++ b/plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/include/translations.php @@ -72,13 +72,13 @@ class WebComponentTranslations '

To continue using Unraid OS you may purchase a license key. Alternately, you may request a Trial extension.

' => '

' . _('To continue using Unraid OS you may purchase a license key.') . ' ' . _('Alternately, you may request a Trial extension.') . '

', '

To support more storage devices as your server grows, click Upgrade Key.

' => '

' . _('To support more storage devices as your server grows, click Upgrade Key.') . '

', '

You have used all your Trial extensions. To continue using Unraid OS you may purchase a license key.

' => '

' . _('You have used all your Trial extensions.') . ' ' . _('To continue using Unraid OS you may purchase a license key.') . '

', - '

Your Trial key includes all the functionality and device support of a Pro key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

' => '

' . _('Your **Trial** key includes all the functionality and device support of a **Pro** key') . '

' . _('After your **Trial** has reached expiration, your server *still functions normally* until the next time you Stop the array or reboot your server') . '

' . _('At that point you may either purchase a license key or request a *Trial* extension.') . '

', + '

Your Trial key includes all the functionality and device support of an Unleashed key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

' => '

' . _('Your **Trial** key includes all the functionality and device support of an **Unleashed** key') . '

' . _('After your **Trial** has reached expiration, your server *still functions normally* until the next time you Stop the array or reboot your server') . '

' . _('At that point you may either purchase a license key or request a *Trial* extension.') . '

', '

Your license key file is corrupted or missing. The key file should be located in the /config directory on your USB Flash boot device.

If you do not have a backup copy of your license key file you may attempt to recover your key.

If this was an expired Trial installation, you may purchase a license key.

' => '

' . _('Your license key file is corrupted or missing.') . ' ' . _('The key file should be located in the /config directory on your USB Flash boot device') . '

' . _('If you do not have a backup copy of your license key file you may attempt to recover your key with your Unraid.net account') . '

' . _('If this was an expired Trial installation, you may purchase a license key.') . '

', '

Your license key file is corrupted or missing. The key file should be located in the /config directory on your USB Flash boot device.

You may attempt to recover your key with your Unraid.net account.

If this was an expired Trial installation, you may purchase a license key.

' => '

' . _('Your license key file is corrupted or missing.') . ' ' . _('The key file should be located in the /config directory on your USB Flash boot device') . '

' . _('If you do not have a backup copy of your license key file you may attempt to recover your key with your Unraid.net account') . '

' . _('If this was an expired Trial installation, you may purchase a license key.') . '

', - '

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of a Pro Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

' => '

' . _('Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key.') . ' ' . _('A Trial key provides all the functionality of a Pro Registration key.') . '

' . _('Registration keys are bound to your USB Flash boot device serial number (GUID).') . ' ' . _('Please use a high quality name brand device at least 1GB in size.') . '

' . _('Note: USB memory card readers are generally not supported because most do not present unique serial numbers.') . '

' . _('*Important:*') . '

', + '

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of an Unleashed Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

' => '

' . _('Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key.') . ' ' . _('A Trial key provides all the functionality of an Unleashed Registration key.') . '

' . _('Registration keys are bound to your USB Flash boot device serial number (GUID).') . ' ' . _('Please use a high quality name brand device at least 1GB in size.') . '

' . _('Note: USB memory card readers are generally not supported because most do not present unique serial numbers.') . '

' . _('*Important:*') . '

', '

Your Trial key requires an internet connection.

Please check Settings > Network

' => '

' . _('Your Trial key requires an internet connection') . '

' . _('Please check Settings > Network') . '

', '

Your Unraid registration key is ineligible for replacement as it has been replaced within the last 12 months.

' => '

' . _('Your Unraid registration key is ineligible for replacement as it has been replaced within the last 12 months.') . '

', - 'A Trial key provides all the functionality of a Pro Registration key' => _('A Trial key provides all the functionality of a Pro Registration key'), + 'A Trial key provides all the functionality of an Unleashed Registration key' => _('A Trial key provides all the functionality of an Unleashed Registration key'), 'Acklowledge that you have made a Flash Backup to enable this action' => _('Acklowledge that you have made a Flash Backup to enable this action'), 'ago' => _('ago'), 'All you need is an active internet connection, an Unraid.net account, and the Connect plugin. Get started by installing the plugin.' => _('All you need is an active internet connection, an Unraid.net account, and the Connect plugin.') . ' ' . _('Get started by installing the plugin.'), @@ -339,7 +339,7 @@ class WebComponentTranslations 'You may still update to releases dated prior to your update expiration date.' => _('You may still update to releases dated prior to your update expiration date.'), 'You\'re one step closer to enhancing your Unraid experience' => _('You\'re one step closer to enhancing your Unraid experience'), 'Your {0} Key has been replaced!' => sprintf(_('Your %s Key has been replaced!'), '{0}'), - 'Your free Trial key provides all the functionality of a Pro Registration key' => _('Your free Trial key provides all the functionality of a Pro Registration key'), + 'Your free Trial key provides all the functionality of an Unleashed Registration key' => _('Your free Trial key provides all the functionality of an Unleashed Registration key'), 'Your Trial has expired' => _('Your Trial has expired'), 'Your Trial key has been extended!' => _('Your Trial key has been extended!'), ]; diff --git a/web/components/UserProfile/CallbackFeedback.vue b/web/components/UserProfile/CallbackFeedback.vue index 0e856b8cd..eeabd0644 100644 --- a/web/components/UserProfile/CallbackFeedback.vue +++ b/web/components/UserProfile/CallbackFeedback.vue @@ -102,7 +102,7 @@ const subheading = computed(() => { if (keyActionType.value === 'purchase') { return props.t('Thank you for purchasing an Unraid {0} Key!', [keyType.value]); } if (keyActionType.value === 'replace') { return props.t('Your {0} Key has been replaced!', [keyType.value]); } if (keyActionType.value === 'trialExtend') { return props.t('Your Trial key has been extended!'); } - if (keyActionType.value === 'trialStart') { return props.t('Your free Trial key provides all the functionality of a Pro Registration key'); } + if (keyActionType.value === 'trialStart') { return props.t('Your free Trial key provides all the functionality of an Unleashed Registration key'); } if (keyActionType.value === 'upgrade') { return props.t('Thank you for upgrading to an Unraid {0} Key!', [keyType.value]); } return ''; } diff --git a/web/locales/_template.json b/web/locales/_template.json index 7376e4357..8a6f249fa 100644 --- a/web/locales/_template.json +++ b/web/locales/_template.json @@ -126,10 +126,10 @@ "Learn More": "", "No Keyfile": "", "Let's Unleash your Hardware!": "", - "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of a Pro Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

": "", + "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of an Unleashed Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

": "", "Trial": "", "Thank you for choosing Unraid OS!": "", - "

Your Trial key includes all the functionality and device support of a Pro key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

": "", + "

Your Trial key includes all the functionality and device support of an Unleashed key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

": "", "Trial Expired": "", "Your Trial has expired": "", "

To continue using Unraid OS you may purchase a license key. Alternately, you may request a Trial extension.

": "", @@ -186,7 +186,7 @@ "Starting your free 30 day trial": "", "Trial Key Created": "", "Please wait while the page reloads to install your trial key": "", - "A Trial key provides all the functionality of a Pro Registration key": "", + "A Trial key provides all the functionality of an Unleashed Registration key": "", "Extension Installed": "", "Recovered": "", "Replaced": "", @@ -196,5 +196,5 @@ "Install Extended": "", "Install Recovered": "", "Install Replaced": "", - "Your free Trial key provides all the functionality of a Pro Registration key": "" + "Your free Trial key provides all the functionality of an Unleashed Registration key": "" } diff --git a/web/locales/en_US.json b/web/locales/en_US.json index ca5654a61..846f6e239 100644 --- a/web/locales/en_US.json +++ b/web/locales/en_US.json @@ -129,10 +129,10 @@ "Learn More": "Learn More", "No Keyfile": "No Keyfile", "Let's Unleash your Hardware!": "Let's Unleash your Hardware!", - "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of a Pro Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

": "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of a Pro Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

", + "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of an Unleashed Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

": "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of an Unleashed Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

", "Trial": "Trial", "Thank you for choosing Unraid OS!": "Thank you for choosing Unraid OS!", - "

Your Trial key includes all the functionality and device support of a Pro key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

": "

Your Trial key includes all the functionality and device support of a Pro key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

", + "

Your Trial key includes all the functionality and device support of an Unleashed key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

": "

Your Trial key includes all the functionality and device support of an Unleashed key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

", "Trial Expired": "Trial Expired", "Your Trial has expired": "Your Trial has expired", "

To continue using Unraid OS you may purchase a license key. Alternately, you may request a Trial extension.

": "

To continue using Unraid OS you may purchase a license key. Alternately, you may request a Trial extension.

", @@ -189,7 +189,7 @@ "Starting your free 30 day trial": "Starting your free 30 day trial", "Trial Key Created": "Trial Key Created", "Please wait while the page reloads to install your trial key": "Please wait while the page reloads to install your trial key", - "A Trial key provides all the functionality of a Pro Registration key": "A Trial key provides all the functionality of a Pro Registration key.", + "A Trial key provides all the functionality of an Unleashed Registration key": "A Trial key provides all the functionality of an Unleashed Registration key.", "Extension Installed": "Extension Installed", "Recovered": "Recovered", "Replaced": "Replaced", @@ -199,7 +199,7 @@ "Install Extended": "Install Extended", "Install Recovered": "Install Recovered", "Install Replaced": "Install Replaced", - "Your free Trial key provides all the functionality of a Pro Registration key": "Your free Trial key provides all the functionality of a Pro Registration key", + "Your free Trial key provides all the functionality of an Unleashed Registration key": "Your free Trial key provides all the functionality of an Unleashed Registration key", "Calculating trial expiration…": "Calculating trial expiration…", "Signing In": "Signing In", "Signing Out": "Signing Out", diff --git a/web/locales/ja.json b/web/locales/ja.json index 6452a1043..1aaf30f3c 100644 --- a/web/locales/ja.json +++ b/web/locales/ja.json @@ -126,10 +126,10 @@ "Learn More": "もっと詳しく知る", "No Keyfile": "キーファイルがありません", "Let's Unleash your Hardware!": "ハードウェアを解き放ちましょう!", - "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of a Pro Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

": "

登録キーを購入するか、30 日間の無料のトライアルキーをインストールするまで、サーバーは使用できません。 \nトライアル キーは、Pro 登録キーのすべての機能を提供します。

登録キーは、USB フラッシュ ブート デバイスのシリアル番号 (GUID) にバインドされています。\nサイズが少なくとも 1 GB の高品質の有名ブランドのデバイスを使用してください。

注: USB メモリ カード リーダーのほとんどは固有のシリアル番号を提示していないため、通常はサポートされていません。

\n重要:

", + "

Your server will not be usable until you purchase a Registration key or install a free 30 day Trial key. A Trial key provides all the functionality of an Unleashed Registration key.

Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.

Note: USB memory card readers are generally not supported because most do not present unique serial numbers.

Important:

": "

登録キーを購入するか、30 日間の無料のトライアルキーをインストールするまで、サーバーは使用できません。 \nトライアル キーは、Pro 登録キーのすべての機能を提供します。

登録キーは、USB フラッシュ ブート デバイスのシリアル番号 (GUID) にバインドされています。\nサイズが少なくとも 1 GB の高品質の有名ブランドのデバイスを使用してください。

注: USB メモリ カード リーダーのほとんどは固有のシリアル番号を提示していないため、通常はサポートされていません。

\n重要:

", "Trial": "トライアル", "Thank you for choosing Unraid OS!": "Unraid OS をお選びいただきありがとうございます。", - "

Your Trial key includes all the functionality and device support of a Pro key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

": "

トライアル キーには、プロ キーのすべての機能とデバイス サポートが含まれています。

トライアル の終了後\n有効期限に達しても、次回アレイを停止するかサーバーを再起動するまで、 サーバーは通常どおり機能します。

その時点で、ライセンス キーを購入するか、ライセンス キーをリクエストすることができます。 \n> トライアル拡張機能。

", + "

Your Trial key includes all the functionality and device support of an Unleashed key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

": "

トライアル キーには、プロ キーのすべての機能とデバイス サポートが含まれています。

トライアル の終了後\n有効期限に達しても、次回アレイを停止するかサーバーを再起動するまで、 サーバーは通常どおり機能します。

その時点で、ライセンス キーを購入するか、ライセンス キーをリクエストすることができます。 \n> トライアル拡張機能。

", "Trial Expired": "トライアル期間が終了しました", "Your Trial has expired": "トライアル版の有効期限が切れました", "

To continue using Unraid OS you may purchase a license key. Alternately, you may request a Trial extension.

": "

Unraid OS を引き続き使用するには、ライセンス キーを購入することができます。\nあるいは、トライアルの延長をリクエストすることもできます。

", @@ -186,7 +186,7 @@ "Starting your free 30 day trial": "30 日間の無料トライアルを開始する", "Trial Key Created": "トライアルキーが作成されました", "Please wait while the page reloads to install your trial key": "試用版キーをインストールするには、ページがリロードされるまでお待ちください。", - "A Trial key provides all the functionality of a Pro Registration key": "トライアル キーは、Pro 登録キーのすべての機能を提供します。", + "A Trial key provides all the functionality of an Unleashed Registration key": "トライアル キーは、Pro 登録キーのすべての機能を提供します。", "Extension Installed": "拡張機能がインストールされました", "Recovered": "回復しました", "Replaced": "交換されました", @@ -196,5 +196,5 @@ "Install Extended": "拡張インストール", "Install Recovered": "インストールが回復しました", "Install Replaced": "インストールと置き換え", - "Your free Trial key provides all the functionality of a Pro Registration key": "無料のトライアル キーは、プロ登録キーのすべての機能を提供します" + "Your free Trial key provides all the functionality of an Unleashed Registration key": "無料のトライアル キーは、プロ登録キーのすべての機能を提供します" } diff --git a/web/store/server.ts b/web/store/server.ts index 156cd40d9..96312b88c 100644 --- a/web/store/server.ts +++ b/web/store/server.ts @@ -456,7 +456,7 @@ export const useServerStore = defineStore('server', () => { ], humanReadable: 'Trial', heading: 'Thank you for choosing Unraid OS!', - message: '

Your Trial key includes all the functionality and device support of a Pro key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

', + message: '

Your Trial key includes all the functionality and device support of an Unleashed key.

After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.

At that point you may either purchase a license key or request a Trial extension.

', }; case 'EEXPIRED': return {