feat(translations): Add Simplified Chinese translation

- Add simplified Chinese translation files
- Add the Simplified Chinese option in the language selection
- Update the translation index to support Simplified Chinese
This commit is contained in:
YiZixuan
2025-08-13 00:05:16 +08:00
parent d4636d5436
commit f15a00772e
17 changed files with 433 additions and 3 deletions
@@ -119,6 +119,9 @@ export const Header = ({
<DropdownMenuItem onClick={() => setLanguage("ja")} className={language === "ja" ? "bg-accent" : ""}>
{t("japanese")}
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setLanguage("zhcn")} className={language === "zhcn" ? "bg-accent" : ""}>
{t("simplifiedChinese")}
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
@@ -212,4 +215,4 @@ export const Header = ({
</div>
</header>
);
};
};