From eb42671ef34b220d27677718417150867a70f702 Mon Sep 17 00:00:00 2001 From: Fiqri Syah Redha <30799382+fiqrisr@users.noreply.github.com> Date: Tue, 7 May 2024 01:45:28 +0700 Subject: [PATCH] locale: add Bahasa Indonesia translation (#2003) --- src/translations/id.ts | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/translations/id.ts diff --git a/src/translations/id.ts b/src/translations/id.ts new file mode 100644 index 0000000000..3de8a14bf9 --- /dev/null +++ b/src/translations/id.ts @@ -0,0 +1,39 @@ +import { registerTranslation } from '@shoelace-style/localize'; +import type { Translation } from '../utilities/localize.js'; + +const translation: Translation = { + $code: 'id', + $name: 'Bahasa Indonesia', + $dir: 'ltr', + + carousel: 'Karousel', + clearEntry: 'Hapus entri', + close: 'Tutup', + copied: 'Disalin', + copy: 'Salin', + currentValue: 'Nilai saat ini', + error: 'Kesalahan', + goToSlide: (slide, count) => `Pergi ke slide ${slide} dari ${count}`, + hidePassword: 'Sembunyikan sandi', + loading: 'Memuat', + nextSlide: 'Slide berikutnya', + numOptionsSelected: num => { + if (num === 0) return 'Tidak ada opsi yang dipilih'; + if (num === 1) return '1 opsi yang dipilih'; + return `${num} opsi yang dipilih`; + }, + previousSlide: 'Slide sebelumnya', + progress: 'Kemajuan', + remove: 'Hapus', + resize: 'Ubah ukuran', + scrollToEnd: 'Gulir ke akhir', + scrollToStart: 'Gulir ke awal', + selectAColorFromTheScreen: 'Pilih warna dari layar', + showPassword: 'Tampilkan sandi', + slideNum: slide => `Slide ${slide}`, + toggleColorFormat: 'Beralih format warna' +}; + +registerTranslation(translation); + +export default translation;