mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-10 17:17:42 +03:00
add persian, croatian, and slovak
This commit is contained in:
parent
06141b900e
commit
becfad8ce6
@ -37,6 +37,7 @@ const localeMap: Record<string, () => Promise<Locale>> = {
|
|||||||
lt: () => import("date-fns/locale/lt").then((module) => module.lt),
|
lt: () => import("date-fns/locale/lt").then((module) => module.lt),
|
||||||
th: () => import("date-fns/locale/th").then((module) => module.th),
|
th: () => import("date-fns/locale/th").then((module) => module.th),
|
||||||
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),
|
||||||
};
|
};
|
||||||
|
|
||||||
export function useDateLocale(): Locale {
|
export function useDateLocale(): Locale {
|
||||||
|
|||||||
@ -17,9 +17,12 @@ export const supportedLanguageKeys = [
|
|||||||
"vi",
|
"vi",
|
||||||
"th",
|
"th",
|
||||||
"he",
|
"he",
|
||||||
|
"fa",
|
||||||
"ru",
|
"ru",
|
||||||
"tr",
|
"tr",
|
||||||
"pl",
|
"pl",
|
||||||
|
"hr",
|
||||||
|
"sk",
|
||||||
"lt",
|
"lt",
|
||||||
"uk",
|
"uk",
|
||||||
"cs",
|
"cs",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user