Разделены переводы для строк "правила проекта" на странице регистрации и странице принятия обновлённых правил

This commit is contained in:
ErickSkrauch 2017-05-30 13:45:35 +03:00
parent 6dd628cc99
commit b1fe20bd51
3 changed files with 3 additions and 2 deletions

View File

@ -3,5 +3,6 @@
"accept": "Accept",
"declineAndLogout": "Decline and logout",
"description1": "We have updated our {link}.",
"termsOfService": "terms of service",
"description2": "In order to continue using {name} service, you need to accept them."
}

View File

@ -5,7 +5,6 @@ import { Link } from 'react-router';
import icons from 'components/ui/icons.scss';
import BaseAuthBody from 'components/auth/BaseAuthBody';
import registerMessages from 'components/auth/register/Register.intl.json';
import appInfo from 'components/auth/appInfo/AppInfo.intl.json';
import styles from './acceptRules.scss';
@ -28,7 +27,7 @@ export default class AcceptRulesBody extends BaseAuthBody {
<Message {...messages.description1} values={{
link: (
<Link to="/rules" target="_blank">
<Message {...registerMessages.termsOfService} />
<Message {...messages.termsOfService} />
</Link>
)
}} />

View File

@ -6,6 +6,7 @@
"components.auth.acceptRules.declineAndLogout": "Decline and logout",
"components.auth.acceptRules.description1": "We have updated our {link}.",
"components.auth.acceptRules.description2": "In order to continue using {name} service, you need to accept them.",
"components.auth.acceptRules.termsOfService": "terms of service",
"components.auth.acceptRules.title": "User Agreement",
"components.auth.activation.accountActivationTitle": "Account activation",
"components.auth.activation.activationMailWasSent": "Please check {email} for the message with further instructions",