Browse Source

Forgot to enable hungarian translation in the frontend

closed-social-v3
Eugen Rochko 8 years ago
parent
commit
79e41fbd51
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

@ -40,6 +40,7 @@ import de from 'react-intl/locale-data/de';
import es from 'react-intl/locale-data/es'; import es from 'react-intl/locale-data/es';
import fr from 'react-intl/locale-data/fr'; import fr from 'react-intl/locale-data/fr';
import pt from 'react-intl/locale-data/pt'; import pt from 'react-intl/locale-data/pt';
import hu from 'react-intl/locale-data/hu';
import getMessagesForLocale from '../locales'; import getMessagesForLocale from '../locales';
const store = configureStore(); const store = configureStore();
@ -48,7 +49,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({
basename: '/web' basename: '/web'
}); });
addLocaleData([...en, ...de, ...es, ...fr, ...pt]);
addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu]);
const Mastodon = React.createClass({ const Mastodon = React.createClass({

Loading…
Cancel
Save