From 44f4c6b9e3b6f638dc482527e90d81da7373750d Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 9 May 2026 08:56:30 -0500 Subject: [PATCH] add bosnian --- web/public/locales/en/common.json | 1 + web/src/hooks/use-date-locale.ts | 1 + web/src/lib/const.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json index 8b86b69d42..a05126c681 100644 --- a/web/public/locales/en/common.json +++ b/web/public/locales/en/common.json @@ -207,6 +207,7 @@ "th": "ไทย (Thai)", "ca": "Català (Catalan)", "hr": "Hrvatski (Croatian)", + "bs": "Bosanski (Bosnian)", "sr": "Српски (Serbian)", "sl": "Slovenščina (Slovenian)", "lt": "Lietuvių (Lithuanian)", diff --git a/web/src/hooks/use-date-locale.ts b/web/src/hooks/use-date-locale.ts index 901162fe45..4feef686a4 100644 --- a/web/src/hooks/use-date-locale.ts +++ b/web/src/hooks/use-date-locale.ts @@ -38,6 +38,7 @@ const localeMap: Record Promise> = { th: () => import("date-fns/locale/th").then((module) => module.th), ca: () => import("date-fns/locale/ca").then((module) => module.ca), hr: () => import("date-fns/locale/hr").then((module) => module.hr), + bs: () => import("date-fns/locale/bs").then((module) => module.bs), sl: () => import("date-fns/locale/sl").then((module) => module.sl), }; diff --git a/web/src/lib/const.ts b/web/src/lib/const.ts index 78774bb66a..96aa1f4b18 100644 --- a/web/src/lib/const.ts +++ b/web/src/lib/const.ts @@ -29,6 +29,7 @@ export const supportedLanguageKeys = [ "tr", "pl", "hr", + "bs", "sk", "sl", "lt",