From cedde04e7b09d8b8b4e701dda1c2585c590e881b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B0=E9=83=BD=E5=BF=83=28Neet=20Shin=29?= Date: Tue, 11 Apr 2017 15:29:26 +0530 Subject: [PATCH] Imported/Added ja to addLocaleData --- app/assets/javascripts/components/containers/mastodon.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/containers/mastodon.jsx b/app/assets/javascripts/components/containers/mastodon.jsx index fea8b15949..d48bb2ba98 100644 --- a/app/assets/javascripts/components/containers/mastodon.jsx +++ b/app/assets/javascripts/components/containers/mastodon.jsx @@ -49,6 +49,7 @@ import uk from 'react-intl/locale-data/uk'; import fi from 'react-intl/locale-data/fi'; import eo from 'react-intl/locale-data/eo'; import ru from 'react-intl/locale-data/ru'; +import ja from 'react-intl/locale-data/ja'; import getMessagesForLocale from '../locales'; import { hydrateStore } from '../actions/store'; @@ -63,7 +64,7 @@ const browserHistory = useRouterHistory(createBrowserHistory)({ }); -addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu, ...uk, ...fi, ...eo, ...ru]); +addLocaleData([...en, ...de, ...es, ...fr, ...pt, ...hu, ...uk, ...fi, ...eo, ...ru, ...ja]); const Mastodon = React.createClass({