about summary refs log tree commit diff
path: root/app/assets/javascripts/components/containers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-19 00:10:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-19 00:10:47 +0100
commitc7a1b78536d946597f4711191beacc7b53f4eddc (patch)
treea62ad249b310a458363b73d27847495f38c20c30 /app/assets/javascripts/components/containers
parentac2403fb248ebb9be67b6fa3a1af6def9b12638c (diff)
Activating Spanish i18n
Diffstat (limited to 'app/assets/javascripts/components/containers')
-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 e61107cd1..b2c978ee8 100644
--- a/app/assets/javascripts/components/containers/mastodon.jsx
+++ b/app/assets/javascripts/components/containers/mastodon.jsx
@@ -35,6 +35,7 @@ import HashtagTimeline from '../features/hashtag_timeline';
 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 getMessagesForLocale from '../locales';
 
 const store = configureStore();
@@ -43,7 +44,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({
   basename: '/web'
 });
 
-addLocaleData([...en, ...de]);
+addLocaleData([...en, ...de, ...es]);
 
 const Mastodon = React.createClass({