mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:17:32 +00:00
Adding French locale to mastodon.jsx
This commit is contained in:
parent
115ce90578
commit
f9bd3d8808
|
@ -38,6 +38,7 @@ import { IntlProvider, addLocaleData } from 'react-intl';
|
|||
import en from 'react-intl/locale-data/en';
|
||||
import de from 'react-intl/locale-data/de';
|
||||
import es from 'react-intl/locale-data/es';
|
||||
import fr from 'react-intl/locale-data/fr';
|
||||
import getMessagesForLocale from '../locales';
|
||||
|
||||
const store = configureStore();
|
||||
|
@ -46,7 +47,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({
|
|||
basename: '/web'
|
||||
});
|
||||
|
||||
addLocaleData([...en, ...de, ...es]);
|
||||
addLocaleData([...en, ...de, ...es, ...fr]);
|
||||
|
||||
const Mastodon = React.createClass({
|
||||
|
||||
|
|
Loading…
Reference in a new issue