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