mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Добавлен перевод названия сайта
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"appName": "Ely Accounts",
|
||||
"goToAuth": "Go to auth"
|
||||
}
|
||||
|
||||
@@ -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}>
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
"repeatPassword": "Repeat password",
|
||||
"signUpButton": "Register",
|
||||
"acceptRules": "I agree with {link}",
|
||||
"termsOfService": "Terms of service"
|
||||
"termsOfService": "terms of service"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user