#95: transfer the rest of messages to intl.json format

This commit is contained in:
SleepWalker 2016-05-22 11:06:21 +03:00
parent dffc73cc6d
commit d45b3da5d6
8 changed files with 12 additions and 22 deletions

View File

@ -0,0 +1,3 @@
{
"logout": "Logout"
}

View File

@ -7,7 +7,7 @@ import { intlShape } from 'react-intl';
import buttons from 'components/ui/buttons.scss';
import buttonGroups from 'components/ui/button-groups.scss';
import messages from './LoggedInPanel.messages.js';
import messages from './LoggedInPanel.intl.json';
import styles from './loggedInPanel.scss';
import { userShape } from 'components/user/User';

View File

@ -1,8 +0,0 @@
import { defineMessages } from 'react-intl';
export default defineMessages({
logout: {
id: 'logout',
defaultMessage: 'Logout'
}
});

View File

@ -0,0 +1,3 @@
{
"register": "Join"
}

View File

@ -5,7 +5,7 @@ import { FormattedMessage as Message } from 'react-intl';
import buttons from 'components/ui/buttons.scss';
import messages from './Userbar.messages.js';
import messages from './Userbar.intl.json';
import styles from './userbar.scss';
import { userShape } from 'components/user/User';

View File

@ -1,8 +0,0 @@
import { defineMessages } from 'react-intl';
export default defineMessages({
register: {
id: 'register',
defaultMessage: 'Join'
}
});

View File

@ -96,9 +96,9 @@
"components.profile.personalData": "Personal data",
"components.profile.preferencesDescription": "Here you can change the key preferences of your account. Please note that all actions must be confirmed by entering a password.",
"components.profile.twoFactorAuth": "Two factor auth",
"logout": "Logout",
"components.userbar.logout": "Logout",
"components.userbar.register": "Join",
"pages.root.siteName": "Ely.by",
"register": "Join",
"services.accountNotActivated": "The account is not activated",
"services.emailFrequency": "Please cool down, you are requesting emails too often. New key can be retrieved after 30 minutes from the previous request.",
"services.emailInvalid": "Email is invalid",

View File

@ -96,9 +96,9 @@
"components.profile.personalData": "Персональные данные",
"components.profile.preferencesDescription": "Здесь вы можете сменить ключевые параметры вашего аккаунта. Обратите внимание, что для всех действий необходимо подтверждение при помощи ввода пароля.",
"components.profile.twoFactorAuth": "Двухфакторная аутентификация",
"logout": "Выход",
"components.userbar.logout": "Выход",
"components.userbar.register": "Регистрация",
"pages.root.siteName": "Ely.by",
"register": "Регистрация",
"services.accountNotActivated": "Аккаунт не активирован",
"services.emailFrequency": "Пожалуйста, успокойтесь, вы запрашиваете E-mail слишком часто. Новый ключ можно будет заказать через 30 минут от предыдущего запроса.",
"services.emailInvalid": "Указан неправильный E-mail",