mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-28 14:49:01 +03:00
Add languages (#21870)
CI / AMD64 Build (push) Has been cancelled
CI / ARM Build (push) Has been cancelled
CI / Jetson Jetpack 6 (push) Has been cancelled
CI / AMD64 Extra Build (push) Has been cancelled
CI / ARM Extra Build (push) Has been cancelled
CI / Synaptics Build (push) Has been cancelled
CI / Assemble and push default build (push) Has been cancelled
CI / AMD64 Build (push) Has been cancelled
CI / ARM Build (push) Has been cancelled
CI / Jetson Jetpack 6 (push) Has been cancelled
CI / AMD64 Extra Build (push) Has been cancelled
CI / ARM Extra Build (push) Has been cancelled
CI / Synaptics Build (push) Has been cancelled
CI / Assemble and push default build (push) Has been cancelled
* add persian, croatian, and slovak * i18n * fix formatting due to new version of ruff
This commit is contained in:
@@ -193,6 +193,7 @@
|
||||
"yue": "粵語 (Cantonese)",
|
||||
"th": "ไทย (Thai)",
|
||||
"ca": "Català (Catalan)",
|
||||
"hr": "Hrvatski (Croatian)",
|
||||
"sr": "Српски (Serbian)",
|
||||
"sl": "Slovenščina (Slovenian)",
|
||||
"lt": "Lietuvių (Lithuanian)",
|
||||
|
||||
@@ -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