From b30a200bd4ddc64f4fd3d2124fcda0b354847073 Mon Sep 17 00:00:00 2001
From: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Date: Fri, 08 Mar 2024 17:14:22 +0000
Subject: [PATCH] fix(i18n): make sure to use correct fileData for manual localization (#975)
---
quartz/i18n/index.ts | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index 5224f66..b97368d 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -1,6 +1,7 @@
import { Translation, CalloutTranslation } from "./locales/definition"
import en from "./locales/en-US"
import fr from "./locales/fr-FR"
+import it from "./locales/it-IT"
import ja from "./locales/ja-JP"
import de from "./locales/de-DE"
import nl from "./locales/nl-NL"
@@ -10,10 +11,13 @@
import uk from "./locales/uk-UA"
import ru from "./locales/ru-RU"
import ko from "./locales/ko-KR"
+import zh from "./locales/zh-CN"
+import vi from "./locales/vi-VN"
export const TRANSLATIONS = {
"en-US": en,
"fr-FR": fr,
+ "it-IT": it,
"ja-JP": ja,
"de-DE": de,
"nl-NL": nl,
@@ -44,6 +48,8 @@
"uk-UA": uk,
"ru-RU": ru,
"ko-KR": ko,
+ "zh-CN": zh,
+ "vi-VN": vi,
} as const
export const defaultTranslation = "en-US"
--
Gitblit v1.10.0