mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-17 19:13:02 +03:00
add serbian latin
This commit is contained in:
@@ -115,6 +115,7 @@ export default function GeneralSettings({
|
||||
"zh-CN": "zhCN",
|
||||
"zh-Hant": "zhHant",
|
||||
"pt-BR": "ptBR",
|
||||
"sr-Latn": "srLatn",
|
||||
};
|
||||
|
||||
return supportedLanguageKeys.map((key) => {
|
||||
|
||||
@@ -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),
|
||||
};
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ export const supportedLanguageKeys = [
|
||||
"pl",
|
||||
"hr",
|
||||
"bs",
|
||||
"sr-Latn",
|
||||
"sk",
|
||||
"sl",
|
||||
"lt",
|
||||
|
||||
Reference in New Issue
Block a user