diff --git a/static/webui/script.js b/static/webui/script.js index 5cc9feaf..b51648e1 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -29,7 +29,7 @@ function loginFromLocalStorage() { }, () => { logout(); - alert(isRegister ? "Registration failed. Account already exists?" : "Login failed"); + alert(loc(isRegister ? "code_regFail" : "code_loginFail")); } ); } diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js index 4a3cd271..8b88151b 100644 --- a/static/webui/translations/de.js +++ b/static/webui/translations/de.js @@ -3,6 +3,8 @@ dict = { general_inventoryUpdateNote: `Hinweis: Änderungen, die hier vorgenommen werden, werden erst im Spiel angewendet, sobald das Inventar synchronisiert wird. Die Sternenkarte zu besuchen, sollte der einfachste Weg sein, dies auszulösen.`, general_addButton: `Hinzufügen`, general_bulkActions: `Massenaktionen`, + code_loginFail: `[UNTRANSLATED] Login failed. Double-check the email and password.`, + code_regFail: `[UNTRANSLATED] Registration failed. Account already exists?`, code_nonValidAuthz: `Deine Anmeldedaten sind nicht mehr gültig.`, code_changeNameConfirm: `In welchen Namen möchtest du deinen Account umbenennen?`, code_deleteAccountConfirm: `Bist du sicher, dass du deinen Account |DISPLAYNAME| (|EMAIL|) löschen möchtest? Diese Aktion kann nicht rückgängig gemacht werden.`, diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js index 070dfa4c..437d5057 100644 --- a/static/webui/translations/en.js +++ b/static/webui/translations/en.js @@ -2,6 +2,8 @@ dict = { general_inventoryUpdateNote: `Note: Changes made here will only be applied in-game when the game syncs the inventory. Visiting the navigation should be the easiest way to trigger that.`, general_addButton: `Add`, general_bulkActions: `Bulk Actions`, + code_loginFail: `Login failed. Double-check the email and password.`, + code_regFail: `Registration failed. Account already exists?`, code_nonValidAuthz: `Your credentials are no longer valid.`, code_changeNameConfirm: `What would you like to change your account name to?`, code_deleteAccountConfirm: `Are you sure you want to delete your account |DISPLAYNAME| (|EMAIL|)? This action cannot be undone.`, diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js index 907b9298..0b6b15ec 100644 --- a/static/webui/translations/es.js +++ b/static/webui/translations/es.js @@ -3,6 +3,8 @@ dict = { general_inventoryUpdateNote: `Nota: Los cambios realizados aquí se reflejarán en el juego cuando este sincronice el inventario. Usar la navegación debería ser la forma más sencilla de activar esto.`, general_addButton: `Agregar`, general_bulkActions: `Acciones masivas`, + code_loginFail: `[UNTRANSLATED] Login failed. Double-check the email and password.`, + code_regFail: `[UNTRANSLATED] Registration failed. Account already exists?`, code_nonValidAuthz: `Tus credenciales no son válidas.`, code_changeNameConfirm: `¿Qué nombre te gustaría ponerle a tu cuenta?`, code_deleteAccountConfirm: `¿Estás seguro de que deseas eliminar tu cuenta |DISPLAYNAME| (|EMAIL|)? Esta acción es permanente.`, diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js index 22f2dfc8..8d4eceb2 100644 --- a/static/webui/translations/fr.js +++ b/static/webui/translations/fr.js @@ -3,6 +3,8 @@ dict = { general_inventoryUpdateNote: `Note : Les changements effectués ici seront appliqués lors de la syncrhonisation. Visiter la navigation appliquera les changements apportés à l'inventaire.`, general_addButton: `Ajouter`, general_bulkActions: `Action groupée`, + code_loginFail: `[UNTRANSLATED] Login failed. Double-check the email and password.`, + code_regFail: `[UNTRANSLATED] Registration failed. Account already exists?`, code_nonValidAuthz: `Informations de connexion invalides`, code_changeNameConfirm: `Nouveau nom du compte :`, code_deleteAccountConfirm: `Supprimer |DISPLAYNAME| (|EMAIL|) ? Cette action est irreversible.`, diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js index 41dc15c7..7493099d 100644 --- a/static/webui/translations/ru.js +++ b/static/webui/translations/ru.js @@ -3,6 +3,8 @@ dict = { general_inventoryUpdateNote: `Примечание: изменения, внесенные здесь, отобразятся в игре только после повторной загрузки вашего инвентаря. Посещение навигации — самый простой способ этого добиться.`, general_addButton: `Добавить`, general_bulkActions: `Массовые действия`, + code_loginFail: `[UNTRANSLATED] Login failed. Double-check the email and password.`, + code_regFail: `[UNTRANSLATED] Registration failed. Account already exists?`, code_nonValidAuthz: `Ваши данные больше не действительны.`, code_changeNameConfirm: `Какое имя вы хотите установить для своей учетной записи?`, code_deleteAccountConfirm: `Вы уверены, что хотите удалить аккаунт |DISPLAYNAME| (|EMAIL|)? Это действие нельзя отменить.`, diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js index 9bd48150..08cb30d5 100644 --- a/static/webui/translations/zh.js +++ b/static/webui/translations/zh.js @@ -3,6 +3,8 @@ dict = { general_inventoryUpdateNote: `注意:此处所做的更改只有在游戏同步仓库后才会生效。您可以通过访问星图来触发仓库更新。`, general_addButton: `添加`, general_bulkActions: `批量操作`, + code_loginFail: `[UNTRANSLATED] Login failed. Double-check the email and password.`, + code_regFail: `[UNTRANSLATED] Registration failed. Account already exists?`, code_nonValidAuthz: `您的登录凭证已失效。`, code_changeNameConfirm: `您想将账户名称更改为什么?`, code_deleteAccountConfirm: `确定要删除账户 |DISPLAYNAME| (|EMAIL|) 吗?此操作不可撤销。`,