diff --git a/chromium/_locales/en/messages.json b/chromium/_locales/en/messages.json index fcd7054..04ea366 100644 --- a/chromium/_locales/en/messages.json +++ b/chromium/_locales/en/messages.json @@ -1,6 +1,6 @@ { "extensionDescription": { - "message": "Quick input of promo codes for HoYoverse games | 2.2.6" + "message": "Quick input of promo codes for HoYoverse games | 2.2.7" }, "stgi": { "message": "Submit" @@ -100,5 +100,20 @@ }, "labelNotClickable": { "message": "This does not press" + }, + "success_all": { + "message": "The code has been successfully redeemed on all servers!" + }, + "fail_all": { + "message": "Failed to redeem the code on all servers." + }, + "partial_success": { + "message": "The code was redeemed on {successful} server(s), but errors occurred on {failed} server(s)." + }, + "account_data_error": { + "message": "Failed to retrieve account data." + }, + "api_request_error": { + "message": "Error occurred while making the API request." } } \ No newline at end of file diff --git a/chromium/_locales/es/messages.json b/chromium/_locales/es/messages.json index 00767c6..cde1739 100644 --- a/chromium/_locales/es/messages.json +++ b/chromium/_locales/es/messages.json @@ -1,6 +1,6 @@ { "extensionDescription": { - "message": "Entrada rápida de códigos promocionales para juegos de HoYoverse | 2.2.6" + "message": "Entrada rápida de códigos promocionales para juegos de HoYoverse | 2.2.7" }, "stgi": { "message": "Enviar" @@ -100,5 +100,20 @@ }, "labelNotClickable": { "message": "Esto no se presiona" + }, + "success_all": { + "message": "¡Código promocional activado exitosamente en todos los servidores!" + }, + "fail_all": { + "message": "No se pudo activar el código promocional en todos los servidores." + }, + "partial_success": { + "message": "Código promocional activado en {successful} servidor(es), pero hubo errores en {failed} servidor(es)." + }, + "account_data_error": { + "message": "No se pudieron obtener los datos de la cuenta." + }, + "api_request_error": { + "message": "Error al realizar la solicitud a la API." } } \ No newline at end of file diff --git a/chromium/_locales/ja/messages.json b/chromium/_locales/ja/messages.json index fa25c20..26a8149 100644 --- a/chromium/_locales/ja/messages.json +++ b/chromium/_locales/ja/messages.json @@ -97,5 +97,20 @@ }, "labelNotClickable":{ "message":"これは押されていません" + }, + "success_all": { + "message": "プロモコードがすべてのサーバーで正常にアクティブ化されました!" + }, + "fail_all": { + "message": "すべてのサーバーでプロモコードをアクティブ化できませんでした。" + }, + "partial_success": { + "message": "プロモコードが{successful}サーバーでアクティブ化されましたが、{failed}サーバーでエラーが発生しました。" + }, + "account_data_error": { + "message": "アカウントデータを取得できませんでした。" + }, + "api_request_error": { + "message": "APIリクエスト中にエラーが発生しました。" } } \ No newline at end of file diff --git a/chromium/_locales/ru/messages.json b/chromium/_locales/ru/messages.json index e4a9dc5..9e52011 100644 --- a/chromium/_locales/ru/messages.json +++ b/chromium/_locales/ru/messages.json @@ -1,6 +1,6 @@ { "extensionDescription": { - "message": "Быстрый ввод промокодов игр HoYoverse | 2.2.6" + "message": "Быстрый ввод промокодов игр HoYoverse | 2.2.7" }, "stgi": { "message": "Ввести" @@ -100,5 +100,20 @@ }, "labelNotClickable": { "message": "Это не нажимается" + }, + "success_all": { + "message": "Промокод успешно активирован на всех серверах!" + }, + "fail_all": { + "message": "Не удалось активировать промокод на всех серверах." + }, + "partial_success": { + "message": "Промокод активирован на {successful} сервер(ах), но возникли ошибки на {failed} сервер(ах)." + }, + "account_data_error": { + "message": "Не удалось получить данные об аккаунте." + }, + "api_request_error": { + "message": "Ошибка при запросе к API." } } \ No newline at end of file diff --git a/chromium/manifest.json b/chromium/manifest.json index 8614943..d2ad6da 100644 --- a/chromium/manifest.json +++ b/chromium/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "HoYoverse CodeEnter", - "version": "2.2.6", + "version": "2.2.7", "description": "__MSG_extensionDescription__", "default_locale": "en", "icons": { diff --git a/chromium/popup.html b/chromium/popup.html index 3988962..bd71077 100644 --- a/chromium/popup.html +++ b/chromium/popup.html @@ -177,7 +177,6 @@