From 73983cfb0edb93185df5ec65cda33f3636943c0f Mon Sep 17 00:00:00 2001
From: Nizav <106657905+Ni-zav@users.noreply.github.com>
Date: Sat, 24 May 2025 02:07:29 +0000
Subject: [PATCH] feat(i18n): Bahasa Indonesia translations (#1981)
---
quartz/i18n/locales/id-ID.ts | 87 +++++++++++++++++++++++++++++++++++++++++++
quartz/i18n/index.ts | 2 +
2 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index c7d5018..975326d 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -26,6 +26,7 @@
import lt from "./locales/lt-LT"
import fi from "./locales/fi-FI"
import no from "./locales/nb-NO"
+import id from "./locales/id-ID"
export const TRANSLATIONS = {
"en-US": enUs,
@@ -76,6 +77,7 @@
"lt-LT": lt,
"fi-FI": fi,
"nb-NO": no,
+ "id-ID": id,
} as const
export const defaultTranslation = "en-US"
diff --git a/quartz/i18n/locales/id-ID.ts b/quartz/i18n/locales/id-ID.ts
new file mode 100644
index 0000000..813e2bb
--- /dev/null
+++ b/quartz/i18n/locales/id-ID.ts
@@ -0,0 +1,87 @@
+import { Translation } from "./definition"
+
+export default {
+ propertyDefaults: {
+ title: "Tanpa Judul",
+ description: "Tidak ada deskripsi",
+ },
+ components: {
+ callout: {
+ note: "Catatan",
+ abstract: "Abstrak",
+ info: "Info",
+ todo: "Daftar Tugas",
+ tip: "Tips",
+ success: "Berhasil",
+ question: "Pertanyaan",
+ warning: "Peringatan",
+ failure: "Gagal",
+ danger: "Bahaya",
+ bug: "Bug",
+ example: "Contoh",
+ quote: "Kutipan",
+ },
+ backlinks: {
+ title: "Tautan Balik",
+ noBacklinksFound: "Tidak ada tautan balik ditemukan",
+ },
+ themeToggle: {
+ lightMode: "Mode Terang",
+ darkMode: "Mode Gelap",
+ },
+ readerMode: {
+ title: "Mode Pembaca",
+ },
+ explorer: {
+ title: "Penjelajah",
+ },
+ footer: {
+ createdWith: "Dibuat dengan",
+ },
+ graph: {
+ title: "Tampilan Grafik",
+ },
+ recentNotes: {
+ title: "Catatan Terbaru",
+ seeRemainingMore: ({ remaining }) => `Lihat ${remaining} lagi →`,
+ },
+ transcludes: {
+ transcludeOf: ({ targetSlug }) => `Transklusi dari ${targetSlug}`,
+ linkToOriginal: "Tautan ke asli",
+ },
+ search: {
+ title: "Cari",
+ searchBarPlaceholder: "Cari sesuatu",
+ },
+ tableOfContents: {
+ title: "Daftar Isi",
+ },
+ contentMeta: {
+ readingTime: ({ minutes }) => `${minutes} menit baca`,
+ },
+ },
+ pages: {
+ rss: {
+ recentNotes: "Catatan terbaru",
+ lastFewNotes: ({ count }) => `${count} catatan terakhir`,
+ },
+ error: {
+ title: "Tidak Ditemukan",
+ notFound: "Halaman ini bersifat privat atau tidak ada.",
+ home: "Kembali ke Beranda",
+ },
+ folderContent: {
+ folder: "Folder",
+ itemsUnderFolder: ({ count }) =>
+ count === 1 ? "1 item di bawah folder ini." : `${count} item di bawah folder ini.`,
+ },
+ tagContent: {
+ tag: "Tag",
+ tagIndex: "Indeks Tag",
+ itemsUnderTag: ({ count }) =>
+ count === 1 ? "1 item dengan tag ini." : `${count} item dengan tag ini.`,
+ showingFirst: ({ count }) => `Menampilkan ${count} tag pertama.`,
+ totalTags: ({ count }) => `Ditemukan total ${count} tag.`,
+ },
+ },
+} as const satisfies Translation
--
Gitblit v1.10.0