From 2154d36d9993e128faaa6471cdae305cca3d810d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 10 Jul 2024 00:20:13 +0000
Subject: [PATCH] chore: use regex flag instead of string in regexp ctor
---
quartz/i18n/index.ts | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index 5365009..5ab52b8 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -6,6 +6,7 @@
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"
@@ -13,10 +14,14 @@
import ko from "./locales/ko-KR"
import zh from "./locales/zh-CN"
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"
export const TRANSLATIONS = {
"en-US": en,
+ "en-GB": en,
"fr-FR": fr,
"it-IT": it,
"ja-JP": ja,
@@ -25,6 +30,7 @@
"nl-BE": nl,
"ro-RO": ro,
"ro-MD": ro,
+ "ca-ES": ca,
"es-ES": es,
"ar-SA": ar,
"ar-AE": ar,
@@ -51,7 +57,10 @@
"ko-KR": ko,
"zh-CN": zh,
"vi-VN": vi,
+ "pt-BR": pt,
"hu-HU": hu,
+ "fa-IR": fa,
+ "pl-PL": pl,
} as const
export const defaultTranslation = "en-US"
--
Gitblit v1.10.0