feat: email and password login

This commit is contained in:
3252a8
2026-05-19 15:21:02 +03:00
parent 3152631911
commit f5006af6c0
26 changed files with 1273 additions and 90 deletions
+30 -1
View File
@@ -579,6 +579,13 @@
"email_login_code_magic_or": "or",
"email_login_code_text": "Your verification code: {code}\n\nThe code is valid for {minutes} min.\nIf you didn't request this code, ignore this message.",
"email_login_code_text_magic": "Or sign in with this single-use link: {url}",
"email_set_password_code_subject": "{code} — code to create your password",
"email_set_password_code_preheader": "Confirm password creation. The code expires in {minutes} min.",
"email_set_password_code_heading": "Confirm password creation",
"email_set_password_code_intro": "Enter this 6-digit code in your account settings to create or change the password for email sign-in.",
"email_set_password_code_expiry_html": "The password creation code is valid for <strong style=\"color:#e6e9ef;\">{minutes} min</strong>.",
"email_set_password_code_security": "If you didn't try to create a password, ignore this email — your account password will not change.",
"email_set_password_code_text": "Your password creation code: {code}\n\nThe code is valid for {minutes} min.\nIf you didn't try to create a password, ignore this email — your account password will not change.",
"email_account_merged_subject": "Accounts merged",
"email_account_merged_preheader": "Your accounts were combined into one profile.",
"email_account_merged_heading": "Accounts merged",
@@ -1381,5 +1388,27 @@
"admin_settings_field_my_devices_section_enabled_label": "My Devices Section Enabled",
"admin_settings_field_user_hwid_device_limit_label": "User HWID Device Limit",
"admin_settings_field_user_traffic_limit_gb_label": "User Traffic Limit Gb",
"admin_settings_field_user_traffic_strategy_label": "User Traffic Strategy"
"admin_settings_field_user_traffic_strategy_label": "User Traffic Strategy",
"wa_auth_checking_password": "Checking password...",
"wa_auth_password_required": "Enter your password",
"wa_auth_password_login_failed": "Could not sign in with this email and password. You can use an email code instead.",
"wa_password_placeholder": "Password",
"wa_login_password_submit": "Sign in",
"wa_login_use_password": "Use password",
"wa_login_use_email_code": "Use email code",
"wa_settings_set_password_action": "Set password",
"wa_settings_change_password_action": "Change password",
"wa_password_modal_title": "Email password",
"wa_password_modal_desc": "Enter the new password twice. Then we will send a code to your linked email.",
"wa_password_modal_code_desc": "Enter the email code to confirm the password.",
"wa_password_new_placeholder": "New password",
"wa_password_confirm_placeholder": "Repeat password",
"wa_password_send_code_action": "Get code",
"wa_password_confirm_action": "Save password",
"wa_password_too_short": "Password must be at least 8 characters",
"wa_password_too_long": "Password must be at most 128 characters",
"wa_password_mismatch": "Passwords do not match",
"wa_password_code_send_failed": "Could not send the code",
"wa_password_set_failed": "Could not save password",
"wa_password_set_success": "Password saved"
}
+30 -1
View File
@@ -579,6 +579,13 @@
"email_login_code_magic_or": "или",
"email_login_code_text": "Ваш код подтверждения: {code}\n\nКод действует {minutes} мин.\nЕсли вы не запрашивали код, проигнорируйте это письмо.",
"email_login_code_text_magic": "Или войдите по ссылке (одноразовая): {url}",
"email_set_password_code_subject": "{code} — код для создания пароля",
"email_set_password_code_preheader": "Подтвердите создание пароля. Код действует {minutes} мин.",
"email_set_password_code_heading": "Подтвердите создание пароля",
"email_set_password_code_intro": "Введите этот 6-значный код в личном кабинете, чтобы создать или изменить пароль для входа по почте.",
"email_set_password_code_expiry_html": "Код для создания пароля действует <strong style=\"color:#e6e9ef;\">{minutes} мин</strong>.",
"email_set_password_code_security": "Если вы не создавали пароль, просто проигнорируйте это письмо — пароль для аккаунта не изменится.",
"email_set_password_code_text": "Ваш код для создания пароля: {code}\n\nКод действует {minutes} мин.\nЕсли вы не создавали пароль, проигнорируйте это письмо — пароль для аккаунта не изменится.",
"email_account_merged_subject": "Аккаунты объединены",
"email_account_merged_preheader": "Мы объединили ваши аккаунты в один профиль.",
"email_account_merged_heading": "Аккаунты объединены",
@@ -1381,5 +1388,27 @@
"admin_settings_field_my_devices_section_enabled_label": "Раздел «Мои устройства»",
"admin_settings_field_user_hwid_device_limit_label": "Лимит устройств по умолчанию (0 = ∞)",
"admin_settings_field_user_traffic_limit_gb_label": "Лимит трафика пользователя (ГБ)",
"admin_settings_field_user_traffic_strategy_label": "Стратегия сброса трафика"
"admin_settings_field_user_traffic_strategy_label": "Стратегия сброса трафика",
"wa_auth_checking_password": "Проверяем пароль...",
"wa_auth_password_required": "Введите пароль",
"wa_auth_password_login_failed": "Не удалось войти с этим email и паролем. Можно войти по коду из письма.",
"wa_password_placeholder": "Пароль",
"wa_login_password_submit": "Войти",
"wa_login_use_password": "Использовать пароль",
"wa_login_use_email_code": "Войти по коду на почту",
"wa_settings_set_password_action": "Задать пароль",
"wa_settings_change_password_action": "Изменить пароль",
"wa_password_modal_title": "Пароль для входа",
"wa_password_modal_desc": "Введите новый пароль два раза. Затем мы отправим код на привязанную почту.",
"wa_password_modal_code_desc": "Введите код из письма, чтобы подтвердить пароль.",
"wa_password_new_placeholder": "Новый пароль",
"wa_password_confirm_placeholder": "Повторите пароль",
"wa_password_send_code_action": "Получить код",
"wa_password_confirm_action": "Сохранить пароль",
"wa_password_too_short": "Пароль должен быть не короче 8 символов",
"wa_password_too_long": "Пароль должен быть не длиннее 128 символов",
"wa_password_mismatch": "Пароли не совпадают",
"wa_password_code_send_failed": "Не удалось отправить код",
"wa_password_set_failed": "Не удалось сохранить пароль",
"wa_password_set_success": "Пароль сохранён"
}