From efd46f84de2d8dcc630b96de5454027bfbbf5f6e Mon Sep 17 00:00:00 2001
From: Eiko Wagenknecht <git@eiko-wagenknecht.de>
Date: Mon, 19 Feb 2024 08:08:36 +0000
Subject: [PATCH] fix(frontmatter): delimiters parameter was not passed (#885)
---
quartz/i18n/index.ts | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts
index f9758d3..5224f66 100644
--- a/quartz/i18n/index.ts
+++ b/quartz/i18n/index.ts
@@ -1,4 +1,4 @@
-import { Translation } from "./locales/definition"
+import { Translation, CalloutTranslation } from "./locales/definition"
import en from "./locales/en-US"
import fr from "./locales/fr-FR"
import ja from "./locales/ja-JP"
@@ -8,6 +8,8 @@
import es from "./locales/es-ES"
import ar from "./locales/ar-SA"
import uk from "./locales/uk-UA"
+import ru from "./locales/ru-RU"
+import ko from "./locales/ko-KR"
export const TRANSLATIONS = {
"en-US": en,
@@ -15,6 +17,7 @@
"ja-JP": ja,
"de-DE": de,
"nl-NL": nl,
+ "nl-BE": nl,
"ro-RO": ro,
"ro-MD": ro,
"es-ES": es,
@@ -39,8 +42,11 @@
"ar-DZ": ar,
"ar-MR": ar,
"uk-UA": uk,
+ "ru-RU": ru,
+ "ko-KR": ko,
} as const
export const defaultTranslation = "en-US"
export const i18n = (locale: ValidLocale): Translation => TRANSLATIONS[locale ?? defaultTranslation]
export type ValidLocale = keyof typeof TRANSLATIONS
+export type ValidCallout = keyof CalloutTranslation
--
Gitblit v1.10.0