add serbian latin

This commit is contained in:
Josh Hawkins
2026-11-17 07:59:16 -06:00
parent 1d642086ed
commit 11d8988d54
4 changed files with 5 additions and 0 deletions
+1
View File
@@ -216,6 +216,7 @@
"hr": "Hrvatski (Croatian)",
"bs": "Bosanski (Bosnian)",
"sr": "Српски (Serbian)",
"srLatn": "Srpski (Serbian, Latin)",
"sl": "Slovenščina (Slovenian)",
"lt": "Lietuvių (Lithuanian)",
"bg": "Български (Bulgarian)",
@@ -115,6 +115,7 @@ export default function GeneralSettings({
"zh-CN": "zhCN",
"zh-Hant": "zhHant",
"pt-BR": "ptBR",
"sr-Latn": "srLatn",
};
return supportedLanguageKeys.map((key) => {
+2
View File
@@ -42,6 +42,8 @@ const localeMap: Record<string, () => Promise<Locale>> = {
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),
"sr-Latn": () =>
import("date-fns/locale/sr-Latn").then((module) => module.srLatn),
sl: () => import("date-fns/locale/sl").then((module) => module.sl),
};
+1
View File
@@ -42,6 +42,7 @@ export const supportedLanguageKeys = [
"pl",
"hr",
"bs",
"sr-Latn",
"sk",
"sl",
"lt",