From e65e85fa6ded897066ecb0bf2071e487017c0efb Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sun, 23 Sep 2018 17:21:56 +0200 Subject: [PATCH] Add indonesian language to CodiMD Big thanks @filosofikode for the translation work! Signed-off-by: Sheogorath --- app.js | 2 +- locales/id.json | 115 ++++++++++++++++++++++++++++++++++++ public/views/index/body.ejs | 1 + 3 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 locales/id.json diff --git a/app.js b/app.js index 24f0516..ab37bff 100644 --- a/app.js +++ b/app.js @@ -113,7 +113,7 @@ if (config.csp.enable) { } i18n.configure({ - locales: ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko'], + locales: ['en', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko', 'id'], cookie: 'locale', directory: path.join(__dirname, '/locales'), updateFiles: config.updateI18nFiles diff --git a/locales/id.json b/locales/id.json new file mode 100644 index 0000000..9748a5f --- /dev/null +++ b/locales/id.json @@ -0,0 +1,115 @@ +{ + "Collaborative markdown notes": "Catatan markdown kolaboratif", + "Realtime collaborative markdown notes on all platforms.": "Berkolaborasi di catatan markdown di semua platform secara realtime", + "Best way to write and share your knowledge in markdown.": "Platform terbaik untuk menulis dan membagikan markdown", + "Intro": "Perkenalan", + "History": "Riwayat", + "New guest note": "Catatan baru (sebagai tamu)", + "Collaborate with URL": "Kolaborasi real-time", + "Support charts and MathJax": "Mendukung charts dan MathJax", + "Support slide mode": "Mendukung mode slide", + "Sign In": "Masuk", + "Below is the history from browser": "Dibawah ini adalah riwayat dari peramban ini", + "Welcome!": "Selamat Datang", + "New note": "Catatan Baru", + "or": "atau", + "Sign Out": "Keluar", + "Explore all features": "Jelajahi semua fitur", + "Select tags...": "Pilih tanda...", + "Search keyword...": "Cari berdasarkan kata kunci...", + "Sort by title": "Urutkan berdasarkan judul", + "Title": "Judul", + "Sort by time": "Urutkan berdasarkan waktu", + "Time": "Waktu", + "Export history": "Ekspor Riwayat", + "Import history": "Impor Riwayat", + "Clear history": "Bersihkan Riwayat", + "Refresh history": "Muat-ulang Riwayat", + "No history": "Tidak ada riwayat", + "Import from browser": "Impor dari browser", + "Releases": "Penerbitan", + "Are you sure?": "Apakah anda yakin?", + "Do you really want to delete this note?": "Apakah anda yakin ingin menghapus catatan ini?", + "All users will lose their connection.": "Semua pengguna akan kehilangan koneksi nya", + "Cancel": "Batal", + "Yes, do it!": "Ya, lakukan!", + "Choose method": "Pilih cara", + "Sign in via %s": "Masuk menggunakan %s", + "New": "Baru", + "Publish": "Terbitkan", + "Extra": "Tambahan", + "Revision": "Revisi", + "Slide Mode": "Mode Slide", + "Export": "Ekspor", + "Import": "Impor", + "Clipboard": "Papan Klip", + "Download": "Unduh", + "Raw HTML": "File HTML", + "Edit": "Ubah", + "View": "Lihat", + "Both": "Keduanya", + "Help": "Bantuan", + "Upload Image": "Unggah Gambar", + "Menu": "Menu", + "This page need refresh": "Halaman ini perlu dimuat ulang", + "You have an incompatible client version.": "Versi pramban anda tidak kompatibel", + "Refresh to update.": "Muat ulang untuk memperbarui", + "New version available!": "Versi baru tersedia!", + "See releases notes here": "Lihat catatan penerbitan", + "Refresh to enjoy new features.": "Muat ulang untuk menikmati fitur baru.", + "Your user state has changed.": "Data pengguna anda telah berubah.", + "Refresh to load new user state.": "Muat ulang untuk memuat data baru pengguna.", + "Refresh": "Muat ulang", + "Contacts": "Kontak", + "Report an issue": "Laporkan kesalahan", + "Meet us on %s": "Temui kami di %s", + "Send us email": "Kirim kami email", + "Documents": "Dokumen", + "Features": "Fitur", + "YAML Metadata": "Metadata YML", + "Slide Example": "Contoh Slide", + "Cheatsheet": "Cheatsheet", + "Example": "Contoh", + "Syntax": "Sintaks", + "Header": "Header", + "Unordered List": "Daftar tak ber-urutan", + "Ordered List": "Daftar ber-urutan", + "Todo List": "Centang", + "Blockquote": "Blok kutipan", + "Bold font": "Tebal", + "Italics font": "Miring", + "Strikethrough": "Garis", + "Inserted text": "Teks ber-garis bawah", + "Marked text": "Teks yang disorot", + "Link": "Link", + "Image": "Gambar", + "Code": "Kode", + "Externals": "Eksternal", + "This is a alert area.": "Ini adalah area alert.", + "Revert": "Kembalikan", + "Import from clipboard": "Impor dari papan klip", + "Paste your markdown or webpage here...": "Tempel markdown atau halaman web disini", + "Clear": "Bersihkan", + "This note is locked": "Catatan ini terkunci", + "Sorry, only owner can edit this note.": "Maaf, hanya pemilik yang bisa mengubah catatan ini", + "OK": "OK", + "Reach the limit": "Memenuhi batas", + "Sorry, you've reached the max length this note can be.": "Maaf, anda telah memenuhi batas maksimum jumlah catatan ini", + "Please reduce the content or divide it to more notes, thank you!": "Tolong persingkat catatan nya.", + "Import from Gist": "Impor dari Gist", + "Paste your gist url here...": "Templekan URL gist anda disini...", + "Import from Snippet": "Impor dari Snippet", + "Select From Available Projects": "Pilih dari Project yang tersedia", + "Select From Available Snippets": "Pilih dari Snippet yang tersedia", + "OR": "Atau", + "Export to Snippet": "Ekspor ke Snippet", + "Select Visibility Level": "Pilih tingkat penglihatan", + "Night Theme": "Mode Malam", + "Follow us on %s and %s.": "Ikuti kami di %s, dan %s.", + "Privacy": "Privasi", + "Terms of Use": "Aturan Penggunaan", + "Do you really want to delete your user account?": "Apakah anda yakin ingin menghapus akun anda?", + "This will delete your account, all notes that are owned by you and remove all references to your account from other notes.": "Ini akan menghapus akun anda, semua catatan yang dimiliki oleh anda akan dihapus dan menghapus semua referensi ke akun anda dari catatan lain.", + "Delete user": "Hapus pengguna", + "Export user data": "Ekspor data pengguna" +} \ No newline at end of file diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 53dbf2a..5b5f7ed 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -147,6 +147,7 @@ +

© 2018 CodiMD | <%= __('Releases') %><% if(privacyStatement) { %> | <%= __('Privacy') %><% } %><% if(termsOfUse) { %> | <%= __('Terms of Use') %><% } %>