Forgot to enable hungarian translation in the frontend

master
Eugen Rochko 8 years ago
parent 66ab0d0d56
commit 79e41fbd51
  1. 3
      app/assets/javascripts/components/containers/mastodon.jsx

@ -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