From b9ee44aad7b7f12372a916c19437df3081f4776e Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sat, 20 Jul 2024 20:24:17 -0700 Subject: [PATCH] i18n: disambiguate en-us and en-gb --- quartz/i18n/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/quartz/i18n/index.ts b/quartz/i18n/index.ts index 5ab52b83e..edde307f5 100644 --- a/quartz/i18n/index.ts +++ b/quartz/i18n/index.ts @@ -1,5 +1,6 @@ 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" @@ -20,8 +21,8 @@ import fa from "./locales/fa-IR" import pl from "./locales/pl-PL" export const TRANSLATIONS = { - "en-US": en, - "en-GB": en, + "en-US": enUs, + "en-GB": enGb, "fr-FR": fr, "it-IT": it, "ja-JP": ja,