diff options
author | pinfort <walter.pinfo@gmail.com> | 2017-04-12 04:52:09 +0900 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-11 21:52:09 +0200 |
commit | 6f5268b02d49ed1b3575891ba11e858f752d1d9e (patch) | |
tree | 8a9f95ba905d82c422db1e67bdb91017459789fc /app/assets/javascripts/components/containers | |
parent | 4964433190e142aeb05af28937596fb471df9abf (diff) |
Add Japanese translation (#1552)
* add device.ja.yml * update device.ja.yml * add file simple_form.ja.yml * 👍Added doorkeeper.ja.yml * add ja.yml * Update doorkeeper.ja.yml fixed url to uri * update ja.yml * fix some translations * fix japanese grammar of a translate * fix some translates * fix ja.yml * add ja.jsx * add Japanese user mail views * Added japanese translate locales * Added :ja to available_locales こっちも * Added "日本語" to HUMAN_LOCALES * Imported/Added ja to addLocaleData * update ja.jsx
Diffstat (limited to 'app/assets/javascripts/components/containers')
-rw-r--r-- | app/assets/javascripts/components/containers/mastodon.jsx | 3 |
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 fea8b1594..d48bb2ba9 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({ |