From 7e75272991be34938d6b52454019b0941c2ff8d4 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Mon, 7 Aug 2023 16:45:04 -0700 Subject: [PATCH] refactor: ENOKEYFILE2 copy --- _data/serverState.ts | 6 +++--- locales/_template.json | 4 ++-- locales/en_US.json | 4 ++-- locales/ja.json | 4 ++-- store/server.ts | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/_data/serverState.ts b/_data/serverState.ts index 8a23c6e81..0cbb31405 100644 --- a/_data/serverState.ts +++ b/_data/serverState.ts @@ -29,7 +29,7 @@ const randomGuid = `1111-1111-${makeid(4)}-123412341234`; // this guid is regist // EBLACKLISTED1 // EBLACKLISTED2 // ENOCONN -const state: ServerState = 'ENOKEYFILE1'; +const state: ServerState = 'ENOKEYFILE2'; const uptime = Date.now() - 60 * 60 * 1000; // 1 hour ago let expireTime = 0; @@ -56,8 +56,8 @@ export const serverState: Server = { license: '', locale: 'en_US', // en_US, ja name: 'fuji', - connectPluginInstalled: 'dynamix.unraid.net.staging.plg', - // connectPluginInstalled: '', + // connectPluginInstalled: 'dynamix.unraid.net.staging.plg', + connectPluginInstalled: '', registered: true, regGen: 0, // "regGuid": "0781-5583-8355-81071A2B0211", diff --git a/locales/_template.json b/locales/_template.json index 30ddce248..fcca9c11c 100644 --- a/locales/_template.json +++ b/locales/_template.json @@ -148,8 +148,8 @@ "Multiple License Keys Present": "", "

There are multiple license key files present on your USB flash device and none of them correspond to the USB Flash boot device. Please remove all key files, except the one you want to replace, from the /config directory on your USB Flash boot device.

Alternately you may purchase a license key for this USB flash device.

If you want to replace one of your license keys with a new key bound to this USB Flash device, please first remove all other key files first.

": "", "Missing key file": "", - "

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

With Unraid Connect (beta) installed 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.

": "", - "

It appears that 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 install the Unraid Connect (beta) plugin to 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.

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 install the Unraid Connect (beta) plugin to attempt to recover your key.

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

": "", "Invalid installation": "", "

It is not possible to use a Trial key with an existing Unraid OS installation.

You may purchase a license key corresponding to this USB Flash device to continue using this installation.

": "", "No USB flash configuration data": "", diff --git a/locales/en_US.json b/locales/en_US.json index 7a2c1e8a0..55661f8cc 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -148,8 +148,8 @@ "Multiple License Keys Present": "Multiple License Keys Present", "

There are multiple license key files present on your USB flash device and none of them correspond to the USB Flash boot device. Please remove all key files, except the one you want to replace, from the /config directory on your USB Flash boot device.

Alternately you may purchase a license key for this USB flash device.

If you want to replace one of your license keys with a new key bound to this USB Flash device, please first remove all other key files first.

": "

There are multiple license key files present on your USB flash device and none of them correspond to the USB Flash boot device. Please remove all key files, except the one you want to replace, from the /config directory on your USB Flash boot device.

Alternately you may purchase a license key for this USB flash device.

If you want to replace one of your license keys with a new key bound to this USB Flash device, please first remove all other key files first.

", "Missing key file": "Missing key file", - "

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

With Unraid Connect (beta) installed 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.

": "

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

With Unraid Connect (beta) installed 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.

", - "

It appears that 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 install the Unraid Connect (beta) plugin to attempt to recover your key.

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

": "

It appears that 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 install the Unraid Connect (beta) plugin to 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.

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 install the Unraid Connect (beta) plugin to 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 install the Unraid Connect (beta) plugin to attempt to recover your key.

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

", "Invalid installation": "Invalid installation", "

It is not possible to use a Trial key with an existing Unraid OS installation.

You may purchase a license key corresponding to this USB Flash device to continue using this installation.

": "

It is not possible to use a Trial key with an existing Unraid OS installation.

You may purchase a license key corresponding to this USB Flash device to continue using this installation.

", "No USB flash configuration data": "No USB flash configuration data", diff --git a/locales/ja.json b/locales/ja.json index 3f020d1db..37fccb6b9 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -148,8 +148,8 @@ "Multiple License Keys Present": "複数のライセンス キーが存在します", "

There are multiple license key files present on your USB flash device and none of them correspond to the USB Flash boot device. Please remove all key files, except the one you want to replace, from the /config directory on your USB Flash boot device.

Alternately you may purchase a license key for this USB flash device.

If you want to replace one of your license keys with a new key bound to this USB Flash device, please first remove all other key files first.

": "

USB フラッシュ デバイス上に複数のライセンス キー ファイルが存在しますが、どれも USB フラッシュ ブート デバイスに対応していません。\n置き換えるファイルを除くすべてのキー ファイルを、USB フラッシュ ブート デバイスの /config ディレクトリから削除してください。

あるいは、この USB フラッシュ デバイスのライセンス キーを購入することもできます。

\n

ライセンス キーの 1 つを、この USB フラッシュ デバイスにバインドされた新しいキーに置き換える場合は、まず他のすべてのキー ファイルを削除してください。

", "Missing key file": "キーファイルがありません", - "

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

With Unraid Connect (beta) installed 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.

": "

ライセンス キー ファイルが破損しているか、見つからないようです。\nキー ファイルは、USB フラッシュ ブート デバイスの /config ディレクトリにある必要があります。

Unraid Connect (ベータ版) がインストールされている場合は、Unraid.net アカウントを使用してキーの回復を試みることができます。

\n

期限切れの試用版インストールの場合は、ライセンス キーを購入できます。

", - "

It appears that 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 install the Unraid Connect (beta) plugin to attempt to recover your key.

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

": "

ライセンス キー ファイルが破損しているか、見つからないようです。\nキー ファイルは、USB フラッシュ ブート デバイスの /config ディレクトリにある必要があります。

ライセンス キー ファイルのバックアップ コピーがない場合は、Unraid Connect (ベータ) プラグインをインストールして試すことができます。 \n

期限切れの試用版インストールの場合は、ライセンス キーを購入できます。

", + "

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.

": "

ライセンス キー ファイルが破損しているか、見つからないようです。\nキー ファイルは、USB フラッシュ ブート デバイスの /config ディレクトリにある必要があります。

Unraid Connect (ベータ版) がインストールされている場合は、Unraid.net アカウントを使用してキーの回復を試みることができます。

\n

期限切れの試用版インストールの場合は、ライセンス キーを購入できます。

", + "

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 install the Unraid Connect (beta) plugin to attempt to recover your key.

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

": "

ライセンス キー ファイルが破損しているか、見つからないようです。\nキー ファイルは、USB フラッシュ ブート デバイスの /config ディレクトリにある必要があります。

ライセンス キー ファイルのバックアップ コピーがない場合は、Unraid Connect (ベータ) プラグインをインストールして試すことができます。 \n

期限切れの試用版インストールの場合は、ライセンス キーを購入できます。

", "Invalid installation": "無効なインストール", "

It is not possible to use a Trial key with an existing Unraid OS installation.

You may purchase a license key corresponding to this USB Flash device to continue using this installation.

": "

既存の Unraid OS インストールでトライアル キーを使用することはできません。

このインストールの使用を続けるには、この USB フラッシュ デバイスに対応するライセンス キーを購入できます。

", "No USB flash configuration data": "USB フラッシュ構成データがありません", diff --git a/store/server.ts b/store/server.ts index 248ca33ed..868e6e667 100644 --- a/store/server.ts +++ b/store/server.ts @@ -416,8 +416,8 @@ export const useServerStore = defineStore('server', () => { humanReadable: 'Missing key file', heading: 'Missing key file', message: connectPluginInstalled.value - ? '

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

With Unraid Connect (beta) installed 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.

' - : '

It appears that 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 install the Unraid Connect (beta) plugin to 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.

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 install the Unraid Connect (beta) plugin to attempt to recover your key.

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

', }; case 'ETRIAL': return {