fix: map chinese language requests to zh-CN

This commit is contained in:
TerryM
2026-05-26 08:09:20 +08:00
parent e7a5952d58
commit f2e97c329e
7 changed files with 14 additions and 11 deletions

View File

@@ -383,5 +383,5 @@ export function useI18n() {
}
export function langQuery(lang: Lang) {
return lang;
return lang === "zh" ? "zh-CN" : lang;
}