Forgot to enable hungarian translation in the frontend

This commit is contained in:
Eugen Rochko 2016-11-28 13:55:45 +01:00
parent 66ab0d0d56
commit 79e41fbd51

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({