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