Browse Source

Adding French locale to mastodon.jsx

closed-social-v3
nicolas 8 years ago
committed by GitHub
parent
commit
f9bd3d8808
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/assets/javascripts/components/containers/mastodon.jsx

+ 2
- 1
app/assets/javascripts/components/containers/mastodon.jsx View File

@ -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…
Cancel
Save