From cdd0be2aa8c6e0a6d97779f3db3072952b54bf13 Mon Sep 17 00:00:00 2001
From: Jiangnan Li <lijn101@nenu.edu.cn>
Date: Sun, 08 Jun 2025 09:23:01 +0000
Subject: [PATCH] feat(giscus): expose language option for Comments component (#2012)
---
quartz/i18n/index.ts | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index 2f7b9b2..975326d 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -25,6 +25,8 @@
import th from "./locales/th-TH"
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,
@@ -74,6 +76,8 @@
"th-TH": th,
"lt-LT": lt,
"fi-FI": fi,
+ "nb-NO": no,
+ "id-ID": id,
} as const
export const defaultTranslation = "en-US"
--
Gitblit v1.10.0