Add Thai (still need to merge weblate)

This commit is contained in:
Josh Hawkins 2025-05-20 10:00:20 -05:00
parent afe513336c
commit d6c273dc99
3 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,7 @@
"da": "Dansk (Danish)", "da": "Dansk (Danish)",
"sk": "Slovenčina (Slovak)", "sk": "Slovenčina (Slovak)",
"yue": "粵語 (Cantonese)", "yue": "粵語 (Cantonese)",
"th": "ไทย (Thai)",
"withSystem": { "withSystem": {
"label": "Use the system settings for language" "label": "Use the system settings for language"
} }

View File

@ -33,6 +33,7 @@ const localeMap: Record<string, () => Promise<Locale>> = {
sk: () => import("date-fns/locale/sk").then((module) => module.sk), sk: () => import("date-fns/locale/sk").then((module) => module.sk),
"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),
}; };
export function useDateLocale(): Locale { export function useDateLocale(): Locale {

View File

@ -8,6 +8,7 @@ export const supportedLanguageKeys = [
"nb-NO", "nb-NO",
"zh-CN", "zh-CN",
"yue-Hant", "yue-Hant",
"th",
"ru", "ru",
"tr", "tr",
"pl", "pl",