From f24a1472765e0752bcf158a3db53a717b8dc2191 Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Thu, 14 Nov 2024 11:28:06 +0000
Subject: [PATCH] fix(comment): negate check (closes #1582) (#1586)
---
quartz/i18n/index.ts | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index 6707ea3..f328ada 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -1,11 +1,13 @@
import { Translation, CalloutTranslation } from "./locales/definition"
-import en from "./locales/en-US"
+import enUs from "./locales/en-US"
+import enGb from "./locales/en-GB"
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"
import ro from "./locales/ro-RO"
+import ca from "./locales/ca-ES"
import es from "./locales/es-ES"
import ar from "./locales/ar-SA"
import uk from "./locales/uk-UA"
@@ -15,9 +17,14 @@
import vi from "./locales/vi-VN"
import pt from "./locales/pt-BR"
import hu from "./locales/hu-HU"
+import fa from "./locales/fa-IR"
+import pl from "./locales/pl-PL"
+import cs from "./locales/cs-CZ"
+import tr from "./locales/tr-TR"
export const TRANSLATIONS = {
- "en-US": en,
+ "en-US": enUs,
+ "en-GB": enGb,
"fr-FR": fr,
"it-IT": it,
"ja-JP": ja,
@@ -26,6 +33,7 @@
"nl-BE": nl,
"ro-RO": ro,
"ro-MD": ro,
+ "ca-ES": ca,
"es-ES": es,
"ar-SA": ar,
"ar-AE": ar,
@@ -54,6 +62,10 @@
"vi-VN": vi,
"pt-BR": pt,
"hu-HU": hu,
+ "fa-IR": fa,
+ "pl-PL": pl,
+ "cs-CZ": cs,
+ "tr-TR": tr,
} as const
export const defaultTranslation = "en-US"
--
Gitblit v1.10.0