diff --git a/src/components/langMenu/langMenu.scss b/src/components/langMenu/langMenu.scss index bacf54e..aa0e01c 100644 --- a/src/components/langMenu/langMenu.scss +++ b/src/components/langMenu/langMenu.scss @@ -1,4 +1,5 @@ @import "~components/ui/colors.scss"; +@import "~components/ui/fonts.scss"; .container { position: relative; diff --git a/src/i18n/en.json b/src/i18n/en.json index 762b94b..48cbc64 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -92,6 +92,7 @@ "enterNewEmail": "Then provide your new E-mail address, that you want to use with this account. You will be mailed with confirmation code.", "logout": "Logout", "newEmailPlaceholder": "Enter new E-mail", + "pages.root.siteName": "Ely.by", "pleaseEnterPassword": "Please, enter your current password", "pressButtonToStart": "Press the button below to send a message with the code for E-mail change initialization.", "register": "Join", diff --git a/src/i18n/ru.json b/src/i18n/ru.json index e182eda..f2a6f03 100644 --- a/src/i18n/ru.json +++ b/src/i18n/ru.json @@ -92,6 +92,7 @@ "enterNewEmail": "Then provide your new E-mail address, that you want to use with this account. You will be mailed with confirmation code.", "logout": "Выход", "newEmailPlaceholder": "Новый E-mail", + "pages.root.siteName": "Ely.by", "pleaseEnterPassword": "Пожалуйста, введите пароль от аккаунта", "pressButtonToStart": "Нажмите на кнопку ниже, чтобы отправить письмо с кодом для инициализации процесса смены E-mail адреса.", "register": "Регистрация", diff --git a/src/pages/root/RootPage.intl.json b/src/pages/root/RootPage.intl.json new file mode 100644 index 0000000..0c05bc2 --- /dev/null +++ b/src/pages/root/RootPage.intl.json @@ -0,0 +1,3 @@ +{ + "siteName": "Ely.by" +} diff --git a/src/pages/root/RootPage.jsx b/src/pages/root/RootPage.jsx index 5d4a905..1a76097 100644 --- a/src/pages/root/RootPage.jsx +++ b/src/pages/root/RootPage.jsx @@ -1,5 +1,6 @@ import React, { PropTypes } from 'react'; +import { FormattedMessage as Message } from 'react-intl'; import { Link } from 'react-router'; import classNames from 'classnames'; @@ -8,6 +9,8 @@ import PopupStack from 'components/ui/popup/PopupStack'; import styles from './root.scss'; +import messages from './RootPage.intl.json'; + function RootPage(props) { return (
@@ -17,7 +20,7 @@ function RootPage(props) {
- Ely.by +