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)", "hr": "Hrvatski (Croatian)",
"bs": "Bosanski (Bosnian)", "bs": "Bosanski (Bosnian)",
"sr": "Српски (Serbian)", "sr": "Српски (Serbian)",
"srLatn": "Srpski (Serbian, Latin)",
"sl": "Slovenščina (Slovenian)", "sl": "Slovenščina (Slovenian)",
"lt": "Lietuvių (Lithuanian)", "lt": "Lietuvių (Lithuanian)",
"bg": "Български (Bulgarian)", "bg": "Български (Bulgarian)",
@@ -115,6 +115,7 @@ export default function GeneralSettings({
"zh-CN": "zhCN", "zh-CN": "zhCN",
"zh-Hant": "zhHant", "zh-Hant": "zhHant",
"pt-BR": "ptBR", "pt-BR": "ptBR",
"sr-Latn": "srLatn",
}; };
return supportedLanguageKeys.map((key) => { 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), ca: () => import("date-fns/locale/ca").then((module) => module.ca),
hr: () => import("date-fns/locale/hr").then((module) => module.hr), hr: () => import("date-fns/locale/hr").then((module) => module.hr),
bs: () => import("date-fns/locale/bs").then((module) => module.bs), 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), sl: () => import("date-fns/locale/sl").then((module) => module.sl),
}; };
+1
View File
@@ -42,6 +42,7 @@ export const supportedLanguageKeys = [
"pl", "pl",
"hr", "hr",
"bs", "bs",
"sr-Latn",
"sk", "sk",
"sl", "sl",
"lt", "lt",