diff options
author | Koala Yeung <koalay@gmail.com> | 2017-04-22 01:16:26 +0800 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-21 19:16:26 +0200 |
commit | 935aecdc32f1bffa8ad9c3ea2c14052f1225478a (patch) | |
tree | b73e0b43fd0ecada05b7b6f38b99cbcd15a904fb /app/assets/javascripts | |
parent | 1714f08d757396ac145a0671fda1a40085c46015 (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')
-rw-r--r-- | app/assets/javascripts/components/containers/mastodon.jsx | 2 | ||||
-rw-r--r-- | app/assets/javascripts/components/locales/id.jsx | 123 | ||||
-rw-r--r-- | app/assets/javascripts/components/locales/index.jsx | 2 |
3 files changed, 127 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({ diff --git a/app/assets/javascripts/components/locales/id.jsx b/app/assets/javascripts/components/locales/id.jsx new file mode 100644 index 000000000..f9cbeafb6 --- /dev/null +++ b/app/assets/javascripts/components/locales/id.jsx @@ -0,0 +1,123 @@ +const id = { + "account.block": "Blokir @{name}", + "account.disclaimer": "Pengguna ini berasal dari server lain. Angka berikut mungkin lebih besar.", + "account.edit_profile": "Ubah profil", + "account.follow": "Ikuti", + "account.followers": "Pengikut", + "account.follows_you": "Mengikuti anda", + "account.follows": "Mengikuti", + "account.mention": "Balasan @{name}", + "account.mute": "Bisukan @{name}", + "account.posts": "Postingan", + "account.report": "Laporkan @{name}", + "account.requested": "Menunggu persetujuan", + "account.unblock": "Hapus blokir @{name}", + "account.unfollow": "Berhenti mengikuti", + "account.unmute": "Berhenti membisukan @{name}", + "boost_modal.combo": "Anda dapat menekan {combo} untuk melewati ini", + "column_back_button.label": "Kembali", + "column.blocks": "Pengguna diblokir", + "column.community": "Linimasa Lokal", + "column.favourites": "Favorit", + "column.follow_requests": "Permintaan mengikuti", + "column.home": "Beranda", + "column.mutes": "Pengguna dibisukan", + "column.notifications": "Notifikasi", + "column.public": "Linimasa gabunggan", + "compose_form.placeholder": "Apa yang ada di pikiran anda?", + "compose_form.privacy_disclaimer": "Status pribadi anda akan dikirim ke pengguna yang disebut dalam {domains}. Apa anda mempercayai {domainsCount, plural, one {server tersebut} other {server tersebut}}? Privasi postingan hanya bekerja dalam server Mastodon. Jika {domains} {domainsCount, plural, one {bukan server Mastodon} other {bukan server Mastodon}}, akan ada indikasi bahwa postingan anda adalah postingan pribadi, dan dapat di-boost atau dapat dilihat oleh orang lain.", + "compose_form.publish": "Toot", + "compose_form.sensitive": "Tandai media sensitif", + "compose_form.spoiler_placeholder": "Peringatan konten", + "compose_form.spoiler": "Sembunyikan teks dibalik peringatan", + "emoji_button.label": "Tambahkan emoji", + "empty_column.community": "Linimasa lokal masih kosong. Tulis sesuatu secara publik dan buat roda berputar!", + "empty_column.hashtag": "Tidak ada apapun dalam hashtag ini.", + "empty_column.home.public_timeline": "linimasa publik", + "empty_column.home": "Anda sedang tidak mengikuti siapapun. Kunjungi {public} atau gunakan pencarian untuk memulai dan bertemu pengguna lain.", + "empty_column.notifications": "Anda tidak memiliki notifikasi apapun. Berinteraksi dengan orang lain untuk memulai percakapan.", + "empty_column.public": "Tidak ada apapun disini! Tulis sesuatu, atau ikuti pengguna lain dari server lain untuk mengisinya secara manual", + "follow_request.authorize": "Izinkan", + "follow_request.reject": "Tolak", + "getting_started.apps": "Tersedia dalam berbagai aplikasi", + "getting_started.heading": "Mulai", + "getting_started.open_source_notice": "Mastodon adalah perangkat lunak yang bersifat open source. Anda dapat berkontribusi atau melaporkan permasalahan/bug di Github {github}. {apps}.", + "home.column_settings.advanced": "Tingkat Lanjut", + "home.column_settings.basic": "Dasar", + "home.column_settings.filter_regex": "Penyaringan dengan Regular Expression", + "home.column_settings.show_reblogs": "Tampilkan Boost", + "home.column_settings.show_replies": "Tampilkan balasan", + "home.settings": "Pengaturan kolom", + "lightbox.close": "Tutup", + "loading_indicator.label": "Tunggu sebentar...", + "media_gallery.toggle_visible": "Ubah penampakan", + "missing_indicator.label": "Tidak ditemukan", + "navigation_bar.blocks": "Pengguna diblokir", + "navigation_bar.community_timeline": "Linimasa lokal", + "navigation_bar.edit_profile": "Ubah profil", + "navigation_bar.favourites": "Favorit", + "navigation_bar.follow_requests": "Permintaan mengikuti", + "navigation_bar.info": "Informasi selengkapnya", + "navigation_bar.logout": "Keluar", + "navigation_bar.mutes": "Pengguna dibisukan", + "navigation_bar.preferences": "Pengaturan", + "navigation_bar.public_timeline": "Linimasa gabungan", + "notification.favourite": "{name} menyukai status anda", + "notification.follow": "{name} mengikuti anda", + "notification.reblog": "{name} mem-boost status anda", + "notifications.clear_confirmation": "Apa anda yakin hendak menghapus semua notifikasi anda?", + "notifications.clear": "Hapus notifikasi", + "notifications.column_settings.alert": "Notifikasi desktop", + "notifications.column_settings.favourite": "Favorit:", + "notifications.column_settings.follow": "Pengikut baru:", + "notifications.column_settings.mention": "Balasan:", + "notifications.column_settings.reblog": "Boost:", + "notifications.column_settings.show": "Tampilkan dalam kolom", + "notifications.column_settings.sound": "Mainkan suara", + "notifications.settings": "Pengaturan kolom", + "privacy.change": "Tentukan privasi status", + "privacy.direct.long": "Kirim hanya ke pengguna yang disebut", + "privacy.direct.short": "Langsung", + "privacy.private.long": "Kirim hanya ke pengikut", + "privacy.private.short": "Pribadi", + "privacy.public.long": "Kirim ke linimasa publik", + "privacy.public.short": "Publik", + "privacy.unlisted.long": "Tidak ditampilkan di linimasa publik", + "privacy.unlisted.short": "Tak Terdaftar", + "reply_indicator.cancel": "Batal", + "report.heading": "Laporan baru", + "report.placeholder": "Komentar tambahan", + "report.submit": "Kirim", + "report.target": "Melaporkan", + "search_results.total": "{count} {count, plural, one {hasil} other {hasil}}", + "search.placeholder": "Pencarian", + "search.status_by": "Status oleh {name}", + "status.delete": "Hapus", + "status.favourite": "Difavoritkan", + "status.load_more": "Tampilkan semua", + "status.media_hidden": "Media disembunyikan", + "status.mention": "Balasan @{name}", + "status.open": "Tampilkan status ini", + "status.reblog": "Boost", + "status.reblogged_by": "di-boost {name}", + "status.reply": "Balas", + "status.report": "Laporkan @{name}", + "status.sensitive_toggle": "Klik untuk menampilkan", + "status.sensitive_warning": "Konten sensitif", + "status.show_less": "Tampilkan lebih sedikit", + "status.show_more": "Tampilkan semua", + "tabs_bar.compose": "Tulis", + "tabs_bar.federated_timeline": "Gabungan", + "tabs_bar.home": "Beranda", + "tabs_bar.local_timeline": "Lokal", + "tabs_bar.notifications": "Notifikasi", + "upload_area.title": "Seret & lepaskan untuk mengunggah", + "upload_button.label": "Tambahkan media", + "upload_form.undo": "Undo", + "upload_progress.label": "Mengunggah...", + "video_player.toggle_sound": "Suara", + "video_player.toggle_visible": "Tampilan", + "video_player.expand": "Tampilkan video", +}; + +export default id; diff --git a/app/assets/javascripts/components/locales/index.jsx b/app/assets/javascripts/components/locales/index.jsx index bdd88cc0b..b5db5477c 100644 --- a/app/assets/javascripts/components/locales/index.jsx +++ b/app/assets/javascripts/components/locales/index.jsx @@ -19,6 +19,7 @@ import ja from './ja'; import zh_hk from './zh-hk'; import zh_cn from './zh-cn'; import bg from './bg'; +import id from './id'; const locales = { en, @@ -41,6 +42,7 @@ const locales = { 'zh-HK': zh_hk, 'zh-CN': zh_cn, bg, + id, }; export default function getMessagesForLocale (locale) { |