mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#95: transfer the rest of messages to intl.json format
This commit is contained in:
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'
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user