Skip to content

Commit

Permalink
feat(lang): indonesian localisation added (#236)
Browse files Browse the repository at this point in the history
* Add Indonesian language support

* Update function to handle edge cases
  • Loading branch information
DemuraAIdev authored Mar 9, 2024
1 parent 6d742be commit 04812e6
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"es": "Español",
"fr": "Français",
"hi": "हिंदी",
"id": "Indonesia",
"ja": "日本語",
"pl": "Polski",
"ru": "Русский",
Expand Down Expand Up @@ -318,4 +319,4 @@
"manga-chapter-read": "Manga Chapter Read: {chapters}",
"anime-episode-watch": "Anime Episode Watched: {episodes}"
}
}
}
307 changes: 307 additions & 0 deletions assets/i18n/id.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,307 @@
{
"common": {
"anime": "Anime",
"manga": "Manga",
"home": "Beranda",
"search": "Cari",
"extension": "Ekstensi",
"extension-repo": "Repository Ekstensi",
"settings": "Pengaturan",
"no-extension": "Tidak ada ekstensi",
"no-result": "Tidak ada hasil",
"no-more-data": "Tidak ada data",
"cancel": "Batal",
"confirm": "Konfirmasi",
"close": "Tutup",
"copied": "Tersalin",
"uninstall": "Uninstall",
"install": "Install",
"repo": "Repository",
"unset": "Tidak diatur",
"extension-missing": "Ekstensi {package} tidak ditemukan",
"error": "Kesalahan",
"retry": "Mencoba kembali",
"next": "Berikutnya",
"previous": "Sebelumnya",
"show-all": "Tampilkan semua",
"delete": "Hapus",
"delete-all": "Hapus semua",
"save": "Simpan",
"save-success": "Simpan berhasil",
"logout": "Logout",
"login": "Login",
"no-data": "Tidak ada data",
"clear": "Bersihkan",
"export": "Ekspor",
"off": "Off",
"error-message": "Pesan Kesalahan",
"disconnect": "Terputus"
},
"home": {
"continue-watching": "Lanjutkan",
"favorite": "Favorite",
"no-record": "Tidak ada Favorit or Riwayat tampilan",
"watched": "Menonton {ep}",
"favorite-all": "Semua favorit {type}"
},
"search": {
"hint-text": "Silakan gunakan pencarian dengan bijak!~",
"all": "Semua",
"filter": "Filter"
},
"extension": {
"import": {
"title": "Import Ekstensi",
"url-label": "URL Ekstensi",
"tips": "Kamu dapat mengimpor ekstensi melalui URL, atau mengeklik direktori ekstensi di bawah dan meletakkan file ekstensi di sana.",
"extension-dir": "Direktori Ekstensi",
"import-by-url": "Impor berdasarkan URL"
},
"error-dialog": "Pesan Kesalahan",
"installed": "Terinstall",
"edit-code": "Edit Kode"
},
"extension-repo": {
"error": "Terjadi kesalahan!",
"error-tips": "Silakan periksa koneksi jaringan Anda atau URL repositori",
"empty": "Repositori kosong",
"upgrade": "Update"
},
"settings": {
"general": "General",
"general-subtitle": "TMDB, Bahasa, Tema, periksa untuk update...",
"extension": "Ekstensi",
"extension-subtitle": "Ekstensi repository",
"video-player": "Pemutar video",
"video-player-subtitle": "Server BT, Pemutar Eksternal...",
"comic-reader": "Pembaca Komik",
"comic-reader-subtitle": "Mode pembaca default...",
"tracking": "Pelacakan",
"tracking-subtitle": "AniList...",
"auto-tracking": "Pelacakan Otomatis",
"auto-tracking-subtitle": "Sinkronkan kemajuan secara otomatis setelah selesai menonton / membaca",
"about": "Tentang",
"links": "Links",
"contributors": "Kontributor",
"repo-url": "Repository URL",
"repo-url-subtitle": "Dapatkan URL repositori untuk ekstensi",
"tmdb-key": "TMDB API Key",
"tmdb-key-subtitle": "Dapatkan API key untuk metadata TMDB",
"bt-server": "BT Server",
"bt-server-subtitle": "BT Server adalah komponen penting untuk pemutaran torrent onlinet",
"bt-server-manager": "Manage",
"upgrade": "Perbarui Aplikasi",
"upgrade-subtitle": "Versi: {version}",
"upgrade-training": "Memeriksa",
"auto-check-update": "Periksa Pembaruan Secara Otomatis",
"auto-check-update-subtitle": "Periksa pembaruan pada setiap startup aplikasi",
"language": "Bahasa",
"theme": "Tema",
"theme-subtitle": "Ubah tema aplikasi",
"theme-system": "System",
"theme-light": "Light",
"theme-dark": "Dark",
"theme-black": "Black",
"nsfw": "NSFW",
"nsfw-subtitle": "Tampilkan konten NSFW",
"external-player": "Pemutar video eksternal",
"external-player-subtitle": "Saat ini, pemutar video adalah {player}",
"external-player-builtin": "Built-in",
"language-subtitle": "Pilih bahasa aplikasi",
"extension-log": "Extension Log Window",
"extension-log-subtitle": "Used for debugging extensions",
"skip-interval": "Lewati Interval",
"skip-interval-subtitle": "Melewati interval untuk pemutar video internal",
"default-reader-mode": "Default reader mode",
"network": "Jaringan",
"network-subtitle": "Proxy, User-Agent...",
"network-ua": "Webview User-Agent",
"network-ua-subtitle": "Ubah Agen-Pengguna di header request untuk Web dan ekstensi.",
"proxy-type": "Tipe Proxy",
"proxy-type-subtitle": "Jenis proxy untuk permintaan",
"proxy-type-direct": "Direct",
"proxy-type-socks4": "Socks4",
"proxy-type-socks5": "Socks5",
"proxy-type-http": "HTTP",
"proxy": "Proxy",
"proxy-subtitle": "Proxy address (e.g. username:password@host:port)",
"log": "Log",
"log-subtitle": "Simpan log, ekspor log...",
"save-log": "Simpan Log",
"save-log-subtitle": "Simpan file log secara otomatis",
"export-log": "Export Log",
"export-log-subtitle": "Ekspor log ke file",
"advanced": "Lanjutan"
},
"external-player-launching": "Menjalankan {player}",
"detail": {
"tracking": "Pelacakan",
"favorite": "Favorit",
"favorited": "Favorit",
"continue-watching": "Lanjutkan {episode}",
"total-episodes": "Total {total}",
"overview": "Ringkasan",
"cast": "Cast",
"additional-info": "Informasi Tambahan",
"get-lastest-data-error": "Gagal mendapatkan data terbaru, coba lagi nanti",
"modify-tmdb-binding": "Ubah binding data TMDB",
"no-tmdb-data": "No TMDB data matched, please bind the data yourself",
"tmdb-key-missing": "Kunci API TMDB hilang, silakan isi pengaturannya",
"tracker": "Pelacak"
},
"video": {
"episodes": "Episode",
"watch-now": "Tonton Sekarang",
"no-episodes": "Tidak ada episode",
"play-complete": "Pemutaran selesai",
"resume-last-playback": "Lanjutkan pemutaran terakhir",
"subtitle-none": "Tidak ada Subtitle",
"subtitle": "Subtitle",
"subtitle-change": "Ubah Subtitle {title}",
"subtitle-file": "Tambahkan File subtitle",
"torrent-downloading": "Torrent downloading",
"no-qualities": "Tidak ada kualitas yang tersedia",
"audio": "Audio",
"getting-streamlink": "Mendapatkan streamlink...",
"streamlink-error": "Gagal mendapatkan streamlink",
"tooltip": {
"close": "Tutup",
"subtitle": "Subtitle",
"play-list": "Play List",
"quality": "Kualitas",
"speed": "Kecepatan",
"play": "Play",
"play-or-pause": "Pause",
"previous": "Previous",
"next": "Next",
"full-screen": "Full Screen",
"volume": "Volume",
"torrent-file-list": "Torrent file list"
},
"cast": "Cast to device",
"cast-device": "diputar di {perangkat}",
"sidebar": {
"tab": {
"episodes": "Episode",
"qualitys": "Kualitas",
"torrentFiles": "Torrent Files",
"tracks": "Tracks",
"settings": "Pengaturan"
},
"subtitle": {
"title": "Subtitle",
"font-size": "Ukuran Font",
"font-color": "Warna Font",
"background-color": "Warna Background",
"background-opacity": "Opacity Background",
"text-align": "Text align",
"font-weight": "Font weight",
"font-weight-normal": "Normal",
"font-weight-bold": "Bold"
},
"play-mode": {
"title": "Modus Putar",
"loop": "Loop",
"single": "Single",
"auto-next": "Auto next"
}
}
},
"comic-settings": {
"read-mode": "Modus baca",
"standard": "Standar",
"right-to-left": "Kanan ke kiri",
"web-tonn": "Webtoon"
},
"novel-settings": {
"font-size": "Ukuran Font"
},
"bugreport": {
"auto-remove-subtitle": "di hapus dalam ~ hari",
"show-report-dialog": "Tampilkan Dialog Laporan",
"show-report-dialog-subtitle": "Tampilkan dialog laporan kesalahan saat aplikasi dimulai"
},
"reader": {
"chapters": "Bab",
"read-now": "Baca Sekarang",
"no-chapters": "Tidak ada bab"
},
"upgrade": {
"check-update": "Periksa pembaruan",
"new-version": "Versi baru {version} terdeteksi",
"download": "Buka Pembaruan",
"no-update": "Tidak ada pembaruan yang tersedia",
"not-now": "Tidak sekarang",
"error": "Gagal memeriksa pembaruan, terjadi kesalahan jaringan"
},
"extension-install-error": "Gagal memasang ekstensi",
"extension-type": {
"video": "Vidio",
"novel": "Novel",
"comic": "Komik"
},
"extension-info": {
"author": "Author",
"description": "Deskripsi",
"version": "Versi",
"language": "Bahasa",
"original-site": "Situs Asli",
"other-information": "Informasi Lainnya",
"license": "Lisensi",
"title": "Info Ekstensi"
},
"cookie-clean": {
"title": "Cookie Clean",
"subtitle": "Kamu mungkin perlu login lagi setelah pembersihan",
"success": "Clean success",
"clean": "Clean"
},
"tmdb": {
"backdrops": "Backdrops",
"status": "Status",
"original-title": "Judul Asli",
"release-date": "Tanggal Rilis",
"genres": "Genr",
"runtime": "Runtime",
"languages": "Bahasa"
},
"bt-server": {
"not-installed": "BT-Server tidak diinstal",
"running": "BT-Server sedang berjalan",
"stopped": "BT-Server telah berhenti",
"version": "Versi {version}",
"remote-version": "Versi remote {version}",
"stop": "Stop",
"upgrade": "Upgrade",
"start": "Start"
},
"report": {
"copied": "Disalin ke clipboard",
"github-bug-report": "Laporkan Bug di Github",
"title": "Laporkan Bug",
"copy-message": "Salin pesan kesalahan",
"show-report-checkbox": "Tampilkan dialog laporan saat aplikasi dimulai"
},
"anilist": {
"title": "AniList Tracking",
"login-hint-1": "Sepertinya kamu belum Login ke AniList",
"login-hint-2": "Silakan login ke AniList terlebih dahulu",
"status": "Status",
"score": "Skor",
"watching": "Menonton",
"reading": "Membaca",
"completed": "Lengkap",
"paused": "Paused",
"dropped": "Dropped",
"planning": "Planning",
"hold-on": "Hold on",
"re-watching": "Re-watching",
"re-reading": "Re-reading",
"start-date": "Tanggal Mulai",
"end-date": "Tanggal Selesai",
"unbind": "Unbind",
"episodes": "Episode",
"manga-chapter-read": "Bacaan Bab Manga: {bab}",
"anime-episode-watch": "Episode Anime yang Ditonton: {episodes}"
}
}
1 change: 1 addition & 0 deletions lib/views/pages/settings/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ class _SettingsPageState extends State<SettingsPage> {
'languages.es'.i18n: 'es',
'languages.fr'.i18n: 'fr',
'languages.hi'.i18n: 'hi',
'languages.id'.i18n: 'id',
'languages.ja'.i18n: 'ja',
'languages.pl'.i18n: 'pl',
'languages.ru'.i18n: 'ru',
Expand Down

0 comments on commit 04812e6

Please sign in to comment.