mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-15 04:35:57 +05:30
Добавлены тексты ошибок для формы повторной отправки письма с активацией аккаунта
This commit is contained in:
parent
2f85698f9f
commit
40466189fd
@ -32,6 +32,7 @@ export default class ResendActivation extends BaseAuthBody {
|
||||
type="email"
|
||||
required
|
||||
placeholder={registerMessages.yourEmail}
|
||||
defaultValue={this.context.user.email}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -112,12 +112,14 @@
|
||||
"components.userbar.logout": "Logout",
|
||||
"components.userbar.register": "Join",
|
||||
"pages.root.siteName": "Ely.by",
|
||||
"services.accountAlreadyActivated": "This account is already activated",
|
||||
"services.accountNotActivated": "The account is not activated",
|
||||
"services.doYouWantRequestKey": "Do you want to request a new key?",
|
||||
"services.emailFrequency": "Please cool down, you are requesting E‑mails too often. New key can be retrieved {time}.",
|
||||
"services.emailInvalid": "E‑mail is invalid",
|
||||
"services.emailIsTempmail": "Tempmail E‑mail addresses is not allowed",
|
||||
"services.emailNotAvailable": "This E‑mail is already registered.",
|
||||
"services.emailNotFound": "Specified E‑mail is not found",
|
||||
"services.emailRequired": "E‑mail is required",
|
||||
"services.emailToLong": "E‑mail is too long",
|
||||
"services.forgotYourPassword": "forgot your password",
|
||||
|
@ -3,7 +3,7 @@
|
||||
"components.auth.activation.activationMailWasSent": "На {email} отправлено письмо с инструкциями по завершению регистрации",
|
||||
"components.auth.activation.confirmEmail": "Подтверждение E‑mail",
|
||||
"components.auth.activation.didNotReceivedEmail": "Не получили E‑mail?",
|
||||
"components.auth.activation.enterTheCode": "Укажите код, полученный на E‑mail здесь",
|
||||
"components.auth.activation.enterTheCode": "Укажите код из E‑mail здесь",
|
||||
"components.auth.appInfo.appDescription": "Вы находитесь на сервисе авторизации Ely.by, позволяющему вам безопасно совершать любые операции над вашим аккаунтом. Это единая точка входа для сайтов и настольных программ, ключая игровые лаунчеры.",
|
||||
"components.auth.appInfo.appName": "Аккаунты Ely",
|
||||
"components.auth.appInfo.documentation": "документацию",
|
||||
@ -112,12 +112,14 @@
|
||||
"components.userbar.logout": "Выход",
|
||||
"components.userbar.register": "Регистрация",
|
||||
"pages.root.siteName": "Ely.by",
|
||||
"services.accountAlreadyActivated": "Этот аккаунт уже активирован",
|
||||
"services.accountNotActivated": "Аккаунт не активирован",
|
||||
"services.doYouWantRequestKey": "Не хотите отправить новый код?",
|
||||
"services.emailFrequency": "Пожалуйста, успокойтесь, вы запрашиваете E‑mail слишком часто. Новый ключ можно будет заказать {time}.",
|
||||
"services.emailInvalid": "Указан неправильный E‑mail",
|
||||
"services.emailIsTempmail": "Использование сервисов временных E‑mail адресов запрещено",
|
||||
"services.emailNotAvailable": "На указанный E‑mail адрес уже зарегистрирован аккаунт.",
|
||||
"services.emailNotFound": "Не найдено аккаунта с указанным E‑mail адресом",
|
||||
"services.emailRequired": "Пожалуйста, укажите E‑mail",
|
||||
"services.emailToLong": "E‑mail слишком длинный",
|
||||
"services.forgotYourPassword": "забыли свой пароль",
|
||||
|
@ -26,5 +26,7 @@
|
||||
"doYouWantRequestKey": "Do you want to request a new key?",
|
||||
"emailFrequency": "Please cool down, you are requesting E‑mails too often. New key can be retrieved {time}.",
|
||||
"accountNotActivated": "The account is not activated",
|
||||
"oldHashStrategy": "Sorry, but your account's password is too old. Please change your password in order to perform this action."
|
||||
"oldHashStrategy": "Sorry, but your account's password is too old. Please change your password in order to perform this action.",
|
||||
"emailNotFound": "Specified E‑mail is not found",
|
||||
"accountAlreadyActivated": "This account is already activated"
|
||||
}
|
||||
|
@ -73,6 +73,9 @@ const errorsMap = {
|
||||
time: <Relative value={props.msLeft} updateInterval={1000} />
|
||||
}} />,
|
||||
|
||||
'error.email_not_found': () => <Message {...messages.emailNotFound} />,
|
||||
'error.account_already_activated': () => <Message {...messages.accountAlreadyActivated} />,
|
||||
|
||||
suggestResetPassword: () => (
|
||||
<span>
|
||||
<br/>
|
||||
|
Loading…
Reference in New Issue
Block a user