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

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"
}