Обновлены строки для страницы принятия новых правил

This commit is contained in:
ErickSkrauch 2016-08-06 20:47:38 +03:00
parent a171fb2839
commit 29a7174327
7 changed files with 29 additions and 19 deletions

View File

@ -1,6 +1,7 @@
{ {
"title": "Accept new rules", "title": "Terms of use",
"accept": "Accept", "accept": "Accept",
"decline": "Decline", "decline_and_logout": "Decline and logout",
"description": "We have updated our {link}. In order to get access to accounts.ely.by service, you need to accept them." "description1": "We have updated our {link}.",
"description2": "In order to continue using {name} service, you need to accept them."
} }

View File

@ -12,6 +12,6 @@ export default factory({
label: messages.accept label: messages.accept
}, },
links: { links: {
label: messages.decline label: messages.decline_and_logout
} }
}); });

View File

@ -6,6 +6,7 @@ import { Link } from 'react-router';
import icons from 'components/ui/icons.scss'; import icons from 'components/ui/icons.scss';
import BaseAuthBody from 'components/auth/BaseAuthBody'; import BaseAuthBody from 'components/auth/BaseAuthBody';
import registerMessages from 'components/auth/register/Register.intl.json'; import registerMessages from 'components/auth/register/Register.intl.json';
import appInfo from 'components/auth/appInfo/AppInfo.intl.json';
import styles from './acceptRules.scss'; import styles from './acceptRules.scss';
import messages from './AcceptRules.intl.json'; import messages from './AcceptRules.intl.json';
@ -24,13 +25,17 @@ export default class AcceptRulesBody extends BaseAuthBody {
</div> </div>
<p className={styles.descriptionText}> <p className={styles.descriptionText}>
<Message {...messages.description} values={{ <Message {...messages.description1} values={{
link: ( link: (
<Link to="/rules" target="_blank"> <Link to="/rules" target="_blank">
<Message {...registerMessages.termsOfService} /> <Message {...registerMessages.termsOfService} />
</Link> </Link>
) )
}} /> }} />
<br />
<Message {...messages.description2} values={{
name: <Message {...appInfo.appName} />
}} />
</p> </p>
</div> </div>
); );

View File

@ -1,8 +1,9 @@
{ {
"components.auth.acceptRules.accept": "Accept", "components.auth.acceptRules.accept": "Принять",
"components.auth.acceptRules.decline": "Decline", "components.auth.acceptRules.decline_and_logout": "Отказаться и выйти",
"components.auth.acceptRules.description": "We have updated our {link}. In order to get access to accounts.ely.by service, you need to accept them.", "components.auth.acceptRules.description1": "Мы обновили {link}.",
"components.auth.acceptRules.title": "Accept new rules", "components.auth.acceptRules.description2": "Чтобы продолжить использование сервиса {name}, вам необходимо принять их.",
"components.auth.acceptRules.title": "Пользовательское соглашение",
"components.auth.activation.accountActivationTitle": "Актывацыя акаунта", "components.auth.activation.accountActivationTitle": "Актывацыя акаунта",
"components.auth.activation.activationMailWasSent": "На {email} высланы ліст з інструкцыямі па завяршэнні рэгістрацыі", "components.auth.activation.activationMailWasSent": "На {email} высланы ліст з інструкцыямі па завяршэнні рэгістрацыі",
"components.auth.activation.activationMailWasSentNoEmail": "На ваш Email высланы ліст з інструкцыямі па завяршэнні рэгістрацыі", "components.auth.activation.activationMailWasSentNoEmail": "На ваш Email высланы ліст з інструкцыямі па завяршэнні рэгістрацыі",

View File

@ -1,8 +1,9 @@
{ {
"components.auth.acceptRules.accept": "Accept", "components.auth.acceptRules.accept": "Accept",
"components.auth.acceptRules.decline": "Decline", "components.auth.acceptRules.decline_and_logout": "Decline and logout",
"components.auth.acceptRules.description": "We have updated our {link}. In order to get access to accounts.ely.by service, you need to accept them.", "components.auth.acceptRules.description1": "We have updated our {link}.",
"components.auth.acceptRules.title": "Accept new rules", "components.auth.acceptRules.description2": "In order to continue using {name} service, you need to accept them.",
"components.auth.acceptRules.title": "Terms of use",
"components.auth.activation.accountActivationTitle": "Account activation", "components.auth.activation.accountActivationTitle": "Account activation",
"components.auth.activation.activationMailWasSent": "Please check {email} for the message with further instructions", "components.auth.activation.activationMailWasSent": "Please check {email} for the message with further instructions",
"components.auth.activation.activationMailWasSentNoEmail": "Please check your E-mail for the message with further instructions", "components.auth.activation.activationMailWasSentNoEmail": "Please check your E-mail for the message with further instructions",

View File

@ -1,8 +1,9 @@
{ {
"components.auth.acceptRules.accept": "Accept", "components.auth.acceptRules.accept": "Принять",
"components.auth.acceptRules.decline": "Decline", "components.auth.acceptRules.decline_and_logout": "Отказаться и выйти",
"components.auth.acceptRules.description": "We have updated our {link}. In order to get access to accounts.ely.by service, you need to accept them.", "components.auth.acceptRules.description1": "Мы обновили {link}.",
"components.auth.acceptRules.title": "Accept new rules", "components.auth.acceptRules.description2": "Чтобы продолжить использование сервиса {name}, вам необходимо принять их.",
"components.auth.acceptRules.title": "Пользовательское соглашение",
"components.auth.activation.accountActivationTitle": "Активация аккаунта", "components.auth.activation.accountActivationTitle": "Активация аккаунта",
"components.auth.activation.activationMailWasSent": "На {email} отправлено письмо с инструкциями по завершению регистрации", "components.auth.activation.activationMailWasSent": "На {email} отправлено письмо с инструкциями по завершению регистрации",
"components.auth.activation.activationMailWasSentNoEmail": "На ваш E-mail отправлено письмо с инструкциями по завершению регистрации", "components.auth.activation.activationMailWasSentNoEmail": "На ваш E-mail отправлено письмо с инструкциями по завершению регистрации",

View File

@ -1,8 +1,9 @@
{ {
"components.auth.acceptRules.accept": "Accept", "components.auth.acceptRules.accept": "Accept",
"components.auth.acceptRules.decline": "Decline", "components.auth.acceptRules.decline_and_logout": "Decline and logout",
"components.auth.acceptRules.description": "We have updated our {link}. In order to get access to accounts.ely.by service, you need to accept them.", "components.auth.acceptRules.description1": "We have updated our {link}.",
"components.auth.acceptRules.title": "Accept new rules", "components.auth.acceptRules.description2": "In order to continue using {name} service, you need to accept them.",
"components.auth.acceptRules.title": "Terms of use",
"components.auth.activation.accountActivationTitle": "Активація акаунту", "components.auth.activation.accountActivationTitle": "Активація акаунту",
"components.auth.activation.activationMailWasSent": "На {email} відправлено повідомлення з інструкціями по завершенню реєстрації", "components.auth.activation.activationMailWasSent": "На {email} відправлено повідомлення з інструкціями по завершенню реєстрації",
"components.auth.activation.activationMailWasSentNoEmail": "На ваш E-mail відправлено повідомлення з інструкціями по завершенню реєстрації", "components.auth.activation.activationMailWasSentNoEmail": "На ваш E-mail відправлено повідомлення з інструкціями по завершенню реєстрації",