From 935aecdc32f1bffa8ad9c3ea2c14052f1225478a Mon Sep 17 00:00:00 2001 From: Koala Yeung Date: Sat, 22 Apr 2017 01:16:26 +0800 Subject: Add Indonesian (Bahasa Indonesia / id) translation (#2200) * add Indonesian (Bahasa Indonesia) translation add id.jsx add translations on email views add devise.id.yml add doorkeeper.id.yml add id.yml add simple_form.id.yml update id locale on mastodon.jsx, index.jsx, settings_helper.rb, and application.rb * add Indonesian (Bahasa Indonesia) translation add id.jsx add translations on email views add devise.id.yml add doorkeeper.id.yml add id.yml add simple_form.id.yml update id locale on mastodon.jsx, index.jsx, settings_helper.rb, and application.rb * fix InvalidLocaleData on a string * fix InvalidLocaleData on a string * Fix language keys in Indonesian ruby locale (id) Use "id" instead of "en" as object keys. * Removed obsoleted translation (id) --- app/assets/javascripts/components/containers/mastodon.jsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/assets/javascripts/components/containers/mastodon.jsx') diff --git a/app/assets/javascripts/components/containers/mastodon.jsx b/app/assets/javascripts/components/containers/mastodon.jsx index 2050d9362..e303a8820 100644 --- a/app/assets/javascripts/components/containers/mastodon.jsx +++ b/app/assets/javascripts/components/containers/mastodon.jsx @@ -57,6 +57,7 @@ import ru from 'react-intl/locale-data/ru'; import uk from 'react-intl/locale-data/uk'; import zh from 'react-intl/locale-data/zh'; import bg from 'react-intl/locale-data/bg'; +import id from 'react-intl/locale-data/id'; import { localeData as zh_hk } from '../locales/zh-hk'; import { localeData as zh_cn } from '../locales/zh-cn'; import pt_br from '../locales/pt-br'; @@ -92,6 +93,7 @@ addLocaleData([ ...zh_hk, ...zh_cn, ...bg, + ...id, ]); const Mastodon = React.createClass({ -- cgit