Update web/src/components/menu/GeneralSettings.tsx

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
GuoQing Liu 2025-03-12 23:13:08 +08:00 committed by GitHub
parent 4585499576
commit 59c6e1732f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -320,7 +320,7 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {
? "cursor-pointer"
: "flex items-center p-2 text-sm"
}
aria-label="Dark mode"
aria-label={t("menu.language.zhCN")}
onClick={() => setLanguage("zh-CN")}
>
{language === "zh-CN" ? (