mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 12:03:01 +03:00
add serbian latin
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
@@ -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),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ export const supportedLanguageKeys = [
|
|||||||
"pl",
|
"pl",
|
||||||
"hr",
|
"hr",
|
||||||
"bs",
|
"bs",
|
||||||
|
"sr-Latn",
|
||||||
"sk",
|
"sk",
|
||||||
"sl",
|
"sl",
|
||||||
"lt",
|
"lt",
|
||||||
|
|||||||
Reference in New Issue
Block a user