mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-17 09:03:09 +05:30
#95: transfer the rest of messages to intl.json format
This commit is contained in:
parent
dffc73cc6d
commit
d45b3da5d6
3
src/components/userbar/LoggedInPanel.intl.json
Normal file
3
src/components/userbar/LoggedInPanel.intl.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"logout": "Logout"
|
||||
}
|
@ -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';
|
||||
|
@ -1,8 +0,0 @@
|
||||
import { defineMessages } from 'react-intl';
|
||||
|
||||
export default defineMessages({
|
||||
logout: {
|
||||
id: 'logout',
|
||||
defaultMessage: 'Logout'
|
||||
}
|
||||
});
|
3
src/components/userbar/Userbar.intl.json
Normal file
3
src/components/userbar/Userbar.intl.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"register": "Join"
|
||||
}
|
@ -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';
|
||||
|
@ -1,8 +0,0 @@
|
||||
import { defineMessages } from 'react-intl';
|
||||
|
||||
export default defineMessages({
|
||||
register: {
|
||||
id: 'register',
|
||||
defaultMessage: 'Join'
|
||||
}
|
||||
});
|
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user