Skip to content

Commit 73983cf

Browse files
authored
feat(i18n): Bahasa Indonesia translations (#1981)
1 parent 52344cd commit 73983cf

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

quartz/i18n/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import th from "./locales/th-TH"
2626
import lt from "./locales/lt-LT"
2727
import fi from "./locales/fi-FI"
2828
import no from "./locales/nb-NO"
29+
import id from "./locales/id-ID"
2930

3031
export const TRANSLATIONS = {
3132
"en-US": enUs,
@@ -76,6 +77,7 @@ export const TRANSLATIONS = {
7677
"lt-LT": lt,
7778
"fi-FI": fi,
7879
"nb-NO": no,
80+
"id-ID": id,
7981
} as const
8082

8183
export const defaultTranslation = "en-US"

quartz/i18n/locales/id-ID.ts

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
import { Translation } from "./definition"
2+
3+
export default {
4+
propertyDefaults: {
5+
title: "Tanpa Judul",
6+
description: "Tidak ada deskripsi",
7+
},
8+
components: {
9+
callout: {
10+
note: "Catatan",
11+
abstract: "Abstrak",
12+
info: "Info",
13+
todo: "Daftar Tugas",
14+
tip: "Tips",
15+
success: "Berhasil",
16+
question: "Pertanyaan",
17+
warning: "Peringatan",
18+
failure: "Gagal",
19+
danger: "Bahaya",
20+
bug: "Bug",
21+
example: "Contoh",
22+
quote: "Kutipan",
23+
},
24+
backlinks: {
25+
title: "Tautan Balik",
26+
noBacklinksFound: "Tidak ada tautan balik ditemukan",
27+
},
28+
themeToggle: {
29+
lightMode: "Mode Terang",
30+
darkMode: "Mode Gelap",
31+
},
32+
readerMode: {
33+
title: "Mode Pembaca",
34+
},
35+
explorer: {
36+
title: "Penjelajah",
37+
},
38+
footer: {
39+
createdWith: "Dibuat dengan",
40+
},
41+
graph: {
42+
title: "Tampilan Grafik",
43+
},
44+
recentNotes: {
45+
title: "Catatan Terbaru",
46+
seeRemainingMore: ({ remaining }) => `Lihat ${remaining} lagi →`,
47+
},
48+
transcludes: {
49+
transcludeOf: ({ targetSlug }) => `Transklusi dari ${targetSlug}`,
50+
linkToOriginal: "Tautan ke asli",
51+
},
52+
search: {
53+
title: "Cari",
54+
searchBarPlaceholder: "Cari sesuatu",
55+
},
56+
tableOfContents: {
57+
title: "Daftar Isi",
58+
},
59+
contentMeta: {
60+
readingTime: ({ minutes }) => `${minutes} menit baca`,
61+
},
62+
},
63+
pages: {
64+
rss: {
65+
recentNotes: "Catatan terbaru",
66+
lastFewNotes: ({ count }) => `${count} catatan terakhir`,
67+
},
68+
error: {
69+
title: "Tidak Ditemukan",
70+
notFound: "Halaman ini bersifat privat atau tidak ada.",
71+
home: "Kembali ke Beranda",
72+
},
73+
folderContent: {
74+
folder: "Folder",
75+
itemsUnderFolder: ({ count }) =>
76+
count === 1 ? "1 item di bawah folder ini." : `${count} item di bawah folder ini.`,
77+
},
78+
tagContent: {
79+
tag: "Tag",
80+
tagIndex: "Indeks Tag",
81+
itemsUnderTag: ({ count }) =>
82+
count === 1 ? "1 item dengan tag ini." : `${count} item dengan tag ini.`,
83+
showingFirst: ({ count }) => `Menampilkan ${count} tag pertama.`,
84+
totalTags: ({ count }) => `Ditemukan total ${count} tag.`,
85+
},
86+
},
87+
} as const satisfies Translation

0 commit comments

Comments
 (0)