mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-20 13:54:36 +01:00
Add languages (#21870)
* add persian, croatian, and slovak * i18n * fix formatting due to new version of ruff
This commit is contained in:
@@ -37,6 +37,7 @@ const localeMap: Record<string, () => Promise<Locale>> = {
|
||||
lt: () => import("date-fns/locale/lt").then((module) => module.lt),
|
||||
th: () => import("date-fns/locale/th").then((module) => module.th),
|
||||
ca: () => import("date-fns/locale/ca").then((module) => module.ca),
|
||||
hr: () => import("date-fns/locale/hr").then((module) => module.hr),
|
||||
};
|
||||
|
||||
export function useDateLocale(): Locale {
|
||||
|
||||
@@ -17,9 +17,12 @@ export const supportedLanguageKeys = [
|
||||
"vi",
|
||||
"th",
|
||||
"he",
|
||||
"fa",
|
||||
"ru",
|
||||
"tr",
|
||||
"pl",
|
||||
"hr",
|
||||
"sk",
|
||||
"lt",
|
||||
"uk",
|
||||
"cs",
|
||||
|
||||
Reference in New Issue
Block a user