about summary refs log tree commit diff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-28 13:55:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-28 13:55:03 +0100
commit66ab0d0d56234567497d8814001371da55efa490 (patch)
tree617aca7964c2cabeaa291e546b5bc2641c7d1410 /app/assets/javascripts
parentea05fdaa57d0e93e31f0e3f2ca0fbd2e4b1ff6cb (diff)
Enabling portuguese and hungarian translations, which are awfully incomplete
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/components/containers/mastodon.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/containers/mastodon.jsx b/app/assets/javascripts/components/containers/mastodon.jsx
index c9f037ec2..af4dabdfc 100644
--- a/app/assets/javascripts/components/containers/mastodon.jsx
+++ b/app/assets/javascripts/components/containers/mastodon.jsx
@@ -39,6 +39,7 @@ 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 pt from 'react-intl/locale-data/pt';
 import getMessagesForLocale from '../locales';
 
 const store = configureStore();
@@ -47,7 +48,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({
   basename: '/web'
 });
 
-addLocaleData([...en, ...de, ...es, ...fr]);
+addLocaleData([...en, ...de, ...es, ...fr, ...pt]);
 
 const Mastodon = React.createClass({