diff --git a/.all-contributorsrc b/.all-contributorsrc index 311b2c34..925bf94c 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -64,6 +64,15 @@ "contributions": [ "translation" ] + }, + { + "login": "py7hon", + "name": "iqbal rifai", + "avatar_url": "https://avatars0.githubusercontent.com/u/29944979?v=4", + "profile": "https://natsuzora.dob.jp", + "contributions": [ + "translation" + ] } ], "repoType": "github" diff --git a/app/containers/Language/index.js b/app/containers/Language/index.js index 5721bd40..c838fd42 100644 --- a/app/containers/Language/index.js +++ b/app/containers/Language/index.js @@ -24,7 +24,7 @@ export class Language extends React.Component { const app = electron.remote.app || electron.app const sysLocale = app.getLocale().toLowerCase() - const locale = ['ja', 'zh', 'zh-tw'].includes(sysLocale) + const locale = ['id', 'ja', 'zh', 'zh-tw'].includes(sysLocale) ? sysLocale : 'en' this.props.changeLocale(locale) diff --git a/app/containers/SettingModal/SettingModal.js b/app/containers/SettingModal/SettingModal.js index 573bacd3..f693fa79 100644 --- a/app/containers/SettingModal/SettingModal.js +++ b/app/containers/SettingModal/SettingModal.js @@ -128,6 +128,7 @@ export default class SettingFilterModal extends Component { onChange={(ev, i, value) => onSelectLanguage(value)} > + diff --git a/app/i18n/id.yml b/app/i18n/id.yml new file mode 100644 index 00000000..55def7f6 --- /dev/null +++ b/app/i18n/id.yml @@ -0,0 +1,86 @@ +components: + Dropdown: + logout: Keluar + setting: Settings + LoginModal: + login: Masuk + error: Gagal Masuk + password: Password + username: Username + errorInfo: Periksa Usename dan Password Anda. + loginLoading: Masuk... + UserDrawer: + tabManga: 'Manga ({count})' + tabIllust: 'Ilustrasi ({count})' + addColumn: Tambahkan ke Kolom + ColumnHeaderBookmark: + bookmarkFilter: Filter Bookmarks +containers: + SearchField: + users: pengguna di + search: Pencarian + keywordSearch: Cari menggunakan kata kunci + ColumnRanking: + day: Peringkat Harian + week: Peringkat Mingguan + month: Peringkat Bulanan + day_male: Peringkat Pria Populer + day_female: Peringkat Wanita Populer + week_rookie: Peringkat Pemula + week_original: Peringkat Asli + BoxContainer: + save: Simpan Gambar Asli + showUser: Tampilkan Info Pengguna + bookmark: Tambah bookmark + openPixiv: Buka Halaman Pixiv + privateBookmark: Tambahkan Bookmark Pribadi + SettingModal: + limit: Batasi akses + cache: Hapus cache (tidak aman) + r18Link: pixiv - r18 + language: Bahasa + tagFilter: Tag filter + uiSetting: UI setting + showOnlyImg: Hanya tampilkan gambar + showCaption: Tampilkan Keterangan + r18FilterDesc: >- + Anda dapat menambahkan "R-18" dan "R-18G" ke dalam filter tag untuk menghapus konten R18 + di klien ini, + + atau tambahkan "-R-18 -R-18G" ke dalam kueri untuk menghapus konten R18 secara spesifik + pencarian. + + Anda juga dapat mengubah batasan pada pengaturan akun Pixiv Anda di bawah, + yang akan berlaku secara global. + AddColumnModal: + new: Baru oleh ... + header: Pilih Kolom + public: Publik + history: Histori + ranking: Peringkat + private: Pribadi + bookmark: Bookmarks + r18ranking: Peringkat R-18 + recommended: Rekomendasi untuk anda + ColumnFollow: + public: Mengikuti publik + private: Mengikuti pribadi + FollowButton: + follow: Mengikuti + unFollow: Berhenti mengikuti + following: Pengikut + ColumnHistory: + title: Histori + ColumnBookmark: + public: Bookmarks Publik + private: Bookmarks Pribadi + ColumnRankingR18: + day_r18: Peringkat Harian R-18 + week_r18: Peringkat Mingguan R-18 + week_r18g: Peringkat R-18 G + day_male_r18: Peringkat R-18 Pria + day_female_r18: Peringkat R-18 Wanita + AddNewColumnButton: + addColumn: Tambah Kolom + ColumnRecommended: + reccomended: Rekomendasi untuk anda diff --git a/app/i18n/index.js b/app/i18n/index.js index 45447ddc..be7afc58 100644 --- a/app/i18n/index.js +++ b/app/i18n/index.js @@ -3,22 +3,26 @@ import { addLocaleData } from 'react-intl' import jaLocaleData from 'react-intl/locale-data/ja' import enLocaleData from 'react-intl/locale-data/en' import zhLocaleData from 'react-intl/locale-data/zh' +import idLocaleData from 'react-intl/locale-data/id' import zhtwLocaleData from './localedata-zhtw' import enTranslationMessages from './en.yml' +import idTranslationMessages from './id.yml' import jaTranslationMessages from './ja.yml' import zhTranslationMessages from './zh.yml' import zhtwTranslationMessages from './zh-TW.yml' addLocaleData(enLocaleData) +addLocaleData(idLocaleData) addLocaleData(jaLocaleData) addLocaleData(zhLocaleData) addLocaleData(zhtwLocaleData) -export const appLocales = ['en', 'ja', 'zh', 'zh-tw'] +export const appLocales = ['en', 'id', 'ja', 'zh', 'zh-tw'] export const translationMessages = { en: enTranslationMessages, + id: idTranslationMessages, ja: jaTranslationMessages, zh: zhTranslationMessages, 'zh-tw': zhtwTranslationMessages, diff --git a/readme.md b/readme.md index d9a49635..0ff1cdde 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ [![MIT License](https://img.shields.io/npm/l/nps.svg?style=flat-square)](./license) [![Donate](https://img.shields.io/badge/%EF%BC%84-support-green.svg?style=flat-square)](http://amzn.asia/bO78HzR) [![Code of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](./CODE_OF_CONDUCT.md) -[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors) +[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors) ## Screenshot @@ -89,8 +89,8 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds -| [
akameco](http://akameco.github.io)
[💬](#question-akameco "Answering Questions") [💻](https://github.com/akameco/PixivDeck/commits?author=akameco "Code") [🎨](#design-akameco "Design") [⚠️](https://github.com/akameco/PixivDeck/commits?author=akameco "Tests") | [
trnhoe](https://github.com/trnhoe)
[💻](https://github.com/akameco/PixivDeck/commits?author=trnhoe "Code") [🌍](#translation-trnhoe "Translation") | [
鳶一雨音](https://github.com/TobiichiAmane)
[🌍](#translation-TobiichiAmane "Translation") | [
Austin Huang](http://austinhuang.me)
[🌍](#translation-austinhuang0131 "Translation") | [
sachin21](https://profile.sachin21.jp)
[💻](https://github.com/akameco/PixivDeck/commits?author=sachin21 "Code") | [
maple](https://blog.maple3142.net/)
[🌍](#translation-maple3142 "Translation") | -| :---: | :---: | :---: | :---: | :---: | :---: | +| [
akameco](http://akameco.github.io)
[💬](#question-akameco "Answering Questions") [💻](https://github.com/akameco/PixivDeck/commits?author=akameco "Code") [🎨](#design-akameco "Design") [⚠️](https://github.com/akameco/PixivDeck/commits?author=akameco "Tests") | [
trnhoe](https://github.com/trnhoe)
[💻](https://github.com/akameco/PixivDeck/commits?author=trnhoe "Code") [🌍](#translation-trnhoe "Translation") | [
鳶一雨音](https://github.com/TobiichiAmane)
[🌍](#translation-TobiichiAmane "Translation") | [
Austin Huang](http://austinhuang.me)
[🌍](#translation-austinhuang0131 "Translation") | [
sachin21](https://profile.sachin21.jp)
[💻](https://github.com/akameco/PixivDeck/commits?author=sachin21 "Code") | [
maple](https://blog.maple3142.net/)
[🌍](#translation-maple3142 "Translation") | [
iqbal rifai](https://natsuzora.dob.jp)
[🌍](#translation-py7hon "Translation") | +| :---: | :---: | :---: | :---: | :---: | :---: | :---: |