Add Hebrew and Catalan

This commit is contained in:
Josh Hawkins 2025-06-10 08:01:27 -05:00
parent a745cbe4e6
commit 011e4918a0
3 changed files with 4 additions and 0 deletions

View File

@ -163,6 +163,7 @@
"sk": "Slovenčina (Slovak)",
"yue": "粵語 (Cantonese)",
"th": "ไทย (Thai)",
"ca": "Català (Catalan)",
"withSystem": {
"label": "Use the system settings for language"
}

View File

@ -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 {

View File

@ -5,11 +5,13 @@ export const supportedLanguageKeys = [
"fr",
"de",
"it",
"ca",
"nl",
"nb-NO",
"zh-CN",
"yue-Hant",
"th",
"he",
"ru",
"tr",
"pl",