diff --git a/apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue b/apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue index 96dfd0db8..7084b79ea 100644 --- a/apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue +++ b/apps/app-frontend/src/components/ui/astralrinth/accounts/error/AccountsErrorModals.vue @@ -1,5 +1,5 @@ - + - Enter your 2FA code + {{ formatMessage(messages.requestTwoFactorLabel) }} - Continue + {{ formatMessage(messages.continueAction) }} - Enter your player name or email (preferred) + {{ formatMessage(messages.elyByLoginLabel) }} - Enter your password + {{ formatMessage(messages.elyByPasswordLabel) }} - Login + {{ formatMessage(messages.loginAction) }} - + - Enter your player name + {{ formatMessage(messages.offlineNameLabel) }} - Login + {{ formatMessage(messages.loginAction) }} diff --git a/apps/app-frontend/src/locales/en-US/index.json b/apps/app-frontend/src/locales/en-US/index.json index 5efe45082..474fd2bca 100644 --- a/apps/app-frontend/src/locales/en-US/index.json +++ b/apps/app-frontend/src/locales/en-US/index.json @@ -206,6 +206,87 @@ "astralrinth.app.minecraft-account.add-offline-account": { "message": "Add offline account" }, + "astralrinth.app.minecraft-account.error.authentication-elyby.description": { + "message": "An error occurred while logging in." + }, + "astralrinth.app.minecraft-account.error.authentication-elyby.header": { + "message": "Error while proceeding authentication event with Ely.by" + }, + "astralrinth.app.minecraft-account.error.input-elyby.description": { + "message": "An error occurred while adding the Ely.by account. Please follow the instructions below." + }, + "astralrinth.app.minecraft-account.error.input-elyby.header": { + "message": "Error while proceeding input event with Ely.by" + }, + "astralrinth.app.minecraft-account.error.input-elyby.name-or-email-hint": { + "message": "Check that you have entered the correct player name or email." + }, + "astralrinth.app.minecraft-account.error.input-elyby.password-hint": { + "message": "Check that you have entered the correct password." + }, + "astralrinth.app.minecraft-account.error.input-offline.description": { + "message": "An error occurred while adding the offline account. Please follow the instructions below." + }, + "astralrinth.app.minecraft-account.error.input-offline.format-hint": { + "message": "Make sure your name meets the format requirement `{nameExp}`" + }, + "astralrinth.app.minecraft-account.error.input-offline.header": { + "message": "Error while proceeding input event with offline account" + }, + "astralrinth.app.minecraft-account.error.input-offline.length-hint": { + "message": "Player name must be at least {min} characters long and no more than {max} characters." + }, + "astralrinth.app.minecraft-account.error.input-offline.name-hint": { + "message": "Check that you have entered the correct player name." + }, + "astralrinth.app.minecraft-account.error.retry-action": { + "message": "Try again" + }, + "astralrinth.app.minecraft-account.error.unexpected.description": { + "message": "An unexpected error has occurred. Please try again later." + }, + "astralrinth.app.minecraft-account.error.unexpected.header": { + "message": "Unexpected error occurred" + }, + "astralrinth.app.minecraft-account.input.elyby.header": { + "message": "Authenticate with Ely.by" + }, + "astralrinth.app.minecraft-account.input.elyby.login.label": { + "message": "Enter your player name or email (preferred)" + }, + "astralrinth.app.minecraft-account.input.elyby.login.placeholder": { + "message": "Your player name or email here..." + }, + "astralrinth.app.minecraft-account.input.elyby.password.label": { + "message": "Enter your password" + }, + "astralrinth.app.minecraft-account.input.elyby.password.placeholder": { + "message": "Your password here..." + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.continue-action": { + "message": "Continue" + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.header": { + "message": "Ely.by requested 2FA code for authentication" + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.label": { + "message": "Enter your 2FA code" + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.placeholder": { + "message": "Your 2FA code here..." + }, + "astralrinth.app.minecraft-account.input.login-action": { + "message": "Login" + }, + "astralrinth.app.minecraft-account.input.offline.header": { + "message": "Add new offline account" + }, + "astralrinth.app.minecraft-account.input.offline.name.label": { + "message": "Enter your player name" + }, + "astralrinth.app.minecraft-account.input.offline.name.placeholder": { + "message": "Your player name here..." + }, "app.browse.add-servers-to-instance": { "message": "Adding server to instance" }, diff --git a/apps/app-frontend/src/locales/ru-RU/index.json b/apps/app-frontend/src/locales/ru-RU/index.json index 3a3ebf834..d1a275db8 100644 --- a/apps/app-frontend/src/locales/ru-RU/index.json +++ b/apps/app-frontend/src/locales/ru-RU/index.json @@ -197,6 +197,87 @@ "astralrinth.app.minecraft-account.add-offline-account": { "message": "Добавить офлайн-аккаунт" }, + "astralrinth.app.minecraft-account.error.authentication-elyby.description": { + "message": "Произошла ошибка при входе в аккаунт." + }, + "astralrinth.app.minecraft-account.error.authentication-elyby.header": { + "message": "Ошибка во время авторизации через Ely.by" + }, + "astralrinth.app.minecraft-account.error.input-elyby.description": { + "message": "Произошла ошибка при добавлении аккаунта Ely.by. Пожалуйста, выполните рекомендации ниже." + }, + "astralrinth.app.minecraft-account.error.input-elyby.header": { + "message": "Ошибка во время ввода данных для Ely.by" + }, + "astralrinth.app.minecraft-account.error.input-elyby.name-or-email-hint": { + "message": "Проверьте, что имя игрока или email введены корректно." + }, + "astralrinth.app.minecraft-account.error.input-elyby.password-hint": { + "message": "Проверьте, что пароль введён корректно." + }, + "astralrinth.app.minecraft-account.error.input-offline.description": { + "message": "Произошла ошибка при добавлении офлайн-аккаунта. Пожалуйста, выполните рекомендации ниже." + }, + "astralrinth.app.minecraft-account.error.input-offline.format-hint": { + "message": "Убедитесь, что имя соответствует требуемому формату `{nameExp}`" + }, + "astralrinth.app.minecraft-account.error.input-offline.header": { + "message": "Ошибка во время ввода данных для офлайн-аккаунта" + }, + "astralrinth.app.minecraft-account.error.input-offline.length-hint": { + "message": "Имя игрока должно содержать не менее {min} и не более {max} символов." + }, + "astralrinth.app.minecraft-account.error.input-offline.name-hint": { + "message": "Проверьте, что имя игрока введено корректно." + }, + "astralrinth.app.minecraft-account.error.retry-action": { + "message": "Повторить" + }, + "astralrinth.app.minecraft-account.error.unexpected.description": { + "message": "Произошла непредвиденная ошибка. Пожалуйста, попробуйте позже." + }, + "astralrinth.app.minecraft-account.error.unexpected.header": { + "message": "Произошла непредвиденная ошибка" + }, + "astralrinth.app.minecraft-account.input.elyby.header": { + "message": "Авторизация через Ely.by" + }, + "astralrinth.app.minecraft-account.input.elyby.login.label": { + "message": "Введите имя игрока или email (предпочтительно)" + }, + "astralrinth.app.minecraft-account.input.elyby.login.placeholder": { + "message": "Введите имя игрока или email..." + }, + "astralrinth.app.minecraft-account.input.elyby.password.label": { + "message": "Введите пароль" + }, + "astralrinth.app.minecraft-account.input.elyby.password.placeholder": { + "message": "Введите пароль..." + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.continue-action": { + "message": "Продолжить" + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.header": { + "message": "Ely.by запросил код 2FA для авторизации" + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.label": { + "message": "Введите код 2FA" + }, + "astralrinth.app.minecraft-account.input.elyby.two-factor.placeholder": { + "message": "Введите код 2FA..." + }, + "astralrinth.app.minecraft-account.input.login-action": { + "message": "Войти" + }, + "astralrinth.app.minecraft-account.input.offline.header": { + "message": "Добавить новый офлайн-аккаунт" + }, + "astralrinth.app.minecraft-account.input.offline.name.label": { + "message": "Введите имя игрока" + }, + "astralrinth.app.minecraft-account.input.offline.name.placeholder": { + "message": "Введите имя игрока..." + }, "app.browse.add-servers-to-instance": { "message": "Добавление серверов в сборку" },