Добавлен перевод названия сайта

This commit is contained in:
ErickSkrauch 2016-05-19 22:29:14 +03:00
parent 8e9de8c7ed
commit f496f87a8e
6 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,4 @@
{
"appName": "Ely Accounts",
"goToAuth": "Go to auth"
}

View File

@ -1,5 +1,7 @@
import React, { Component, PropTypes } from 'react';
import { FormattedMessage as Message } from 'react-intl';
import { Button } from 'components/ui/form';
import styles from './appInfo.scss';
@ -20,7 +22,11 @@ export default class AppInfo extends Component {
return (
<div className={styles.appInfo}>
<div className={styles.logoContainer}>
<h2 className={styles.logo}>{name || 'Ely Accounts'}</h2>
<h2 className={styles.logo}>
{name ? name : (
<Message {...messages.appName} />
)}
</h2>
</div>
<div className={styles.descriptionContainer}>
<p className={styles.description}>

View File

@ -6,5 +6,5 @@
"repeatPassword": "Repeat password",
"signUpButton": "Register",
"acceptRules": "I agree with {link}",
"termsOfService": "Terms of service"
"termsOfService": "terms of service"
}

View File

@ -13,6 +13,7 @@
"components.auth.activation.confirmEmail": "Confirm E-mail",
"components.auth.activation.didNotReceivedEmail": "Did not received E-mail?",
"components.auth.activation.enterTheCode": "Enter the code from E-mail here",
"components.auth.appInfo.appName": "Ely Accounts",
"components.auth.appInfo.goToAuth": "Go to auth",
"components.auth.changePassword.change": "Change password",
"components.auth.changePassword.changePasswordMessage": "To enhance the security of your account, please change your password.",

View File

@ -13,6 +13,7 @@
"components.auth.activation.confirmEmail": "Подтверждение E-mail",
"components.auth.activation.didNotReceivedEmail": "Не получили E-mail?",
"components.auth.activation.enterTheCode": "Укажите код, полученный на E-mail здесь",
"components.auth.appInfo.appName": "Аккаунты Ely",
"components.auth.appInfo.goToAuth": "К авторизации",
"components.auth.changePassword.change": "Сменить пароль",
"components.auth.changePassword.changePasswordMessage": "Для обеспечения безопасности вашего аккаунта, пожалуйста, смените пароль.",

View File

@ -18,7 +18,7 @@
"emailIsTempmail": "Tempmail E-mail addresses is not allowed",
"emailNotAvailable": "This email is already registered.",
"rePasswordRequired": "Please retype your password",
"passwordTooShort": "Your password is too short",
"passwordTooShort": "Your password should be at least 8 characters length",
"passwordsDoesNotMatch": "The passwords does not match",
"rulesAgreementRequired": "You must accept rules in order to create an account",
"keyRequired": "Please, enter an activation key",