about summary refs log tree commit diff
path: root/app/assets/javascripts/components/containers
diff options
context:
space:
mode:
authorKoala Yeung <koalay@gmail.com>2017-04-22 01:16:26 +0800
committerEugen <eugen@zeonfederated.com>2017-04-21 19:16:26 +0200
commit935aecdc32f1bffa8ad9c3ea2c14052f1225478a (patch)
treeb73e0b43fd0ecada05b7b6f38b99cbcd15a904fb /app/assets/javascripts/components/containers
parent1714f08d757396ac145a0671fda1a40085c46015 (diff)
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)
Diffstat (limited to 'app/assets/javascripts/components/containers')
-rw-r--r--app/assets/javascripts/components/containers/mastodon.jsx2
1 files changed, 2 insertions, 0 deletions
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({