Update Sidebar labels for improved localization

Changed the label for the home item in the Sidebar from "控制台" to "首页" to enhance clarity and localization for users. This update ensures that the interface is more intuitive for native speakers.
This commit is contained in:
Xin Wang
2026-06-07 20:02:42 +08:00
parent 74e72d03c9
commit d043258453

View File

@@ -28,7 +28,7 @@ const mainItems: Array<{
label: string;
icon: React.ComponentType<{ size?: number }>;
}> = [
{ key: "home", label: "控制台", icon: Home },
{ key: "home", label: "首页", icon: Home },
{ key: "test", label: "测试助手", icon: PlayCircle },
];
@@ -102,7 +102,7 @@ export function Sidebar({
active={active === "home"}
collapsed={collapsed}
icon={Home}
label="控制台"
label="首页"
onClick={() => onNavigate("home")}
/>
<div className="pt-2">