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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user