mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 11:07:41 +03:00
Add Hebrew and Catalan
This commit is contained in:
parent
a745cbe4e6
commit
011e4918a0
@ -163,6 +163,7 @@
|
||||
"sk": "Slovenčina (Slovak)",
|
||||
"yue": "粵語 (Cantonese)",
|
||||
"th": "ไทย (Thai)",
|
||||
"ca": "Català (Catalan)",
|
||||
"withSystem": {
|
||||
"label": "Use the system settings for language"
|
||||
}
|
||||
|
||||
@ -34,6 +34,7 @@ const localeMap: Record<string, () => Promise<Locale>> = {
|
||||
"yue-Hant": () =>
|
||||
import("date-fns/locale/zh-HK").then((module) => module.zhHK),
|
||||
th: () => import("date-fns/locale/th").then((module) => module.th),
|
||||
ca: () => import("date-fns/locale/ca").then((module) => module.ca),
|
||||
};
|
||||
|
||||
export function useDateLocale(): Locale {
|
||||
|
||||
@ -5,11 +5,13 @@ export const supportedLanguageKeys = [
|
||||
"fr",
|
||||
"de",
|
||||
"it",
|
||||
"ca",
|
||||
"nl",
|
||||
"nb-NO",
|
||||
"zh-CN",
|
||||
"yue-Hant",
|
||||
"th",
|
||||
"he",
|
||||
"ru",
|
||||
"tr",
|
||||
"pl",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user