From 09a226911f28fc4d6b4c0273784e301324e769c0 Mon Sep 17 00:00:00 2001 From: Kira <117554978+kiraware@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:36:59 +0700 Subject: [PATCH] add Bahasa Indonesia (id) translation --- package.nls.id.json | 46 +++++++++++++++++++++++++++ src/core/i18n/translate.ts | 3 ++ src/core/i18n/translations/lang-id.ts | 45 ++++++++++++++++++++++++++ 3 files changed, 94 insertions(+) create mode 100644 package.nls.id.json create mode 100644 src/core/i18n/translations/lang-id.ts diff --git a/package.nls.id.json b/package.nls.id.json new file mode 100644 index 0000000000..0ffd516c33 --- /dev/null +++ b/package.nls.id.json @@ -0,0 +1,46 @@ +{ + "command.activateIcons": "Material Icons: Aktifkan Tema Ikon", + "command.toggleIconPacks": "Material Icons: Konfigurasi Paket Ikon", + "command.changeFolderTheme": "Material Icons: Ubah Tema Folder", + "command.changeFolderColor": "Material Icons: Ubah Warna Folder", + "command.changeFileColor": "Material Icons: Ubah Warna File", + "command.restoreDefaultConfig": "Material Icons: Pulihkan Konfigurasi Default", + "command.toggleExplorerArrows": "Material Icons: Alihkan Panah Explorer", + "command.changeOpacity": "Material Icons: Ubah Opasitas", + "command.toggleGrayscale": "Material Icons: Alihkan Grayscale", + "command.changeSaturation": "Material Icons: Ubah Saturasi", + "configuration.title": "Material Icons", + "configuration.files.associations": "Tetapkan asosiasi ikon file kustom.", + "configuration.folders.associations": "Tetapkan asosiasi ikon folder kustom.", + "configuration.languages.associations": "Tetapkan asosiasi ikon bahasa kustom.", + "configuration.customClones": "Klon ikon yang ada dan buat yang baru dengan warna dan asosiasi kustom", + "configuration.customClones.base": "Ikon yang digunakan sebagai dasar untuk membuat ikon klon kustom", + "configuration.customClones.name": "Nama ikon kustom", + "configuration.customClones.color": "Warna yang digunakan sebagai dasar untuk mengubah warna ikon", + "configuration.customClones.lightColor": "Warna yang digunakan sebagai dasar untuk mengubah warna ikon ketika tema terang", + "configuration.customClones.fileNames": "Nama file yang akan diasosiasikan dengan ikon kustom", + "configuration.customClones.fileExtensions": "Ekstensi file yang akan diasosiasikan dengan ikon kustom", + "configuration.customClones.folderNames": "Nama folder yang akan diasosiasikan dengan ikon kustom", + "configuration.customClones.activeForPacks": "Hanya buat klon ini ketika paket ikon aktif adalah salah satu dari ini.", + "configuration.activeIconPack": "Pilih paket ikon yang mengaktifkan ikon tertentu.", + "configuration.activeIconPack.angular": "Ikon untuk Angular.", + "configuration.activeIconPack.angular_ngrx": "Ikon untuk Angular dan ngrx.", + "configuration.activeIconPack.react": "Ikon untuk React.", + "configuration.activeIconPack.react_redux": "Ikon untuk React dan Redux.", + "configuration.activeIconPack.qwik": "Ikon untuk Qwik.", + "configuration.activeIconPack.vue": "Ikon untuk Vue.", + "configuration.activeIconPack.vue_vuex": "Ikon untuk Vue dan Vuex.", + "configuration.activeIconPack.nest": "Ikon untuk NestJS.", + "configuration.activeIconPack.none": "Tidak ada paket ikon yang diaktifkan.", + "configuration.folders.theme": "Tetapkan jenis untuk ikon folder.", + "configuration.folders.theme.specific": "Pilih ikon folder spesifik.", + "configuration.folders.theme.classic": "Pilih ikon folder klasik.", + "configuration.folders.theme.none": "Tidak ada ikon folder.", + "configuration.folders.color": "Ubah warna ikon folder.", + "configuration.files.color": "Ubah warna ikon file.", + "configuration.hidesExplorerArrows": "Sembunyikan panah explorer sebelum folder.", + "configuration.opacity": "Ubah opasitas ikon.", + "configuration.saturation": "Ubah saturasi ikon.", + "configuration.enableLogging": "Aktifkan pencatatan ke saluran output.", + "configuration.logLevel": "Tetapkan level log untuk pesan output." +} diff --git a/src/core/i18n/translate.ts b/src/core/i18n/translate.ts index 698e80d8a8..de35efe398 100644 --- a/src/core/i18n/translate.ts +++ b/src/core/i18n/translate.ts @@ -6,6 +6,7 @@ import { translation as langDe } from './translations/lang-de'; import { translation as langEn } from './translations/lang-en'; import { translation as langEs } from './translations/lang-es'; import { translation as langFr } from './translations/lang-fr'; +import { translation as langId } from './translations/lang-id'; import { translation as langJa } from './translations/lang-ja'; import { translation as langKo } from './translations/lang-ko'; import { translation as langNl } from './translations/lang-nl'; @@ -55,6 +56,8 @@ const getTranslationObject = async (language: string): Promise => { return langEs; case 'fr': return langFr; + case 'id': + return langId; case 'ja': return langJa; case 'ko': diff --git a/src/core/i18n/translations/lang-id.ts b/src/core/i18n/translations/lang-id.ts new file mode 100644 index 0000000000..f411072e9f --- /dev/null +++ b/src/core/i18n/translations/lang-id.ts @@ -0,0 +1,45 @@ +import type { Translation } from '../../models/i18n/translation'; + +export const translation: Translation = { + activate: "Aktifkan", + activated: "Tema Ikon Material aktif.", + iconPacks: { + selectPack: "Pilih paket ikon", + description: "Pilih paket ikon '%0'", + disabled: "Nonaktifkan paket ikon" + }, + folders: { + toggleIcons: "Pilih tema folder", + disabled: "Tidak ada ikon folder", + theme: { + description: "Pilih tema folder '%0'" + } + }, + colorSelect: { + color: "Pilih warna", + hexCode: "Masukkan kode warna HEX", + wrongHexCode: "Kode warna HEX tidak valid!" + }, + opacity: { + inputPlaceholder: "Nilai opasitas (antara 0 dan 1)", + wrongValue: "Silakan masukkan angka desimal antara 0 dan 1." + }, + toggleSwitch: { + on: "AKTIF", + off: "NONAKTIF" + }, + explorerArrows: { + toggle: "Alihkan panah folder di Explorer", + enable: "Tampilkan panah folder di Explorer", + disable: "Sembunyikan panah folder di Explorer" + }, + grayscale: { + toggle: "Alihkan ikon grayscale", + enable: "Aktifkan ikon grayscale", + disable: "Nonaktifkan ikon grayscale" + }, + saturation: { + inputPlaceholder: "Nilai saturasi (antara 0 dan 1)", + wrongValue: "Silakan masukkan angka desimal antara 0 dan 1." + } +};