Add indonesian language to CodiMD

Big thanks @filosofikode for the translation work!

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath 2018-09-23 17:21:56 +02:00
parent fe977434f9
commit e65e85fa6d
No known key found for this signature in database
GPG Key ID: 1F05CC3635CDDFFD
3 changed files with 117 additions and 1 deletions

2
app.js
View File

@ -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

115
locales/id.json Normal file
View File

@ -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"
}

View File

@ -147,6 +147,7 @@
<option value="eo">Esperanto</option>
<option value="da">dansk</option>
<option value="ko">한국어</option>
<option value="id">Bahasa Indonesia</option>
</select>
<p>
&copy; 2018 <a href="https://hackmd.io">CodiMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a><% if(privacyStatement) { %> | <a href="<%- url %>/s/privacy" target="_blank"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- url %>/s/terms-of-use" target="_blank"><%= __('Terms of Use') %></a><% } %>