mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-04 06:33:45 +00:00
Add Thai (still need to merge weblate)
This commit is contained in:
parent
afe513336c
commit
d6c273dc99
@ -162,6 +162,7 @@
|
||||
"da": "Dansk (Danish)",
|
||||
"sk": "Slovenčina (Slovak)",
|
||||
"yue": "粵語 (Cantonese)",
|
||||
"th": "ไทย (Thai)",
|
||||
"withSystem": {
|
||||
"label": "Use the system settings for language"
|
||||
}
|
||||
|
||||
@ -33,6 +33,7 @@ const localeMap: Record<string, () => Promise<Locale>> = {
|
||||
sk: () => import("date-fns/locale/sk").then((module) => module.sk),
|
||||
"yue-Hant": () =>
|
||||
import("date-fns/locale/zh-HK").then((module) => module.zhHK),
|
||||
th: () => import("date-fns/locale/th").then((module) => module.th),
|
||||
};
|
||||
|
||||
export function useDateLocale(): Locale {
|
||||
|
||||
@ -8,6 +8,7 @@ export const supportedLanguageKeys = [
|
||||
"nb-NO",
|
||||
"zh-CN",
|
||||
"yue-Hant",
|
||||
"th",
|
||||
"ru",
|
||||
"tr",
|
||||
"pl",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user