diff --git a/src/App.tsx b/src/App.tsx index b69bc05..94ef3f5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -50,14 +50,14 @@ export default function App() { } if (appState === 'checking') { - return
检查配置状态...
+ return
Checking configuration status...
} if (appState === 'setup') { return } - if (loading) return
加载中...
+ if (loading) return
Loading...
if (!user) { return ( diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 5237e4f..8906839 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -29,11 +29,11 @@ export default function Sidebar({ user, onLogout }: Props) { }, [user]) const links = user ? [ - { to: '/', icon: '📊', label: '仪表盘' }, + { to: '/', icon: '📊', label: 'Dashboard' }, { to: '/issues', icon: '📋', label: 'Issues' }, - { to: '/projects', icon: '📁', label: '项目' }, - { to: '/milestones', icon: '🏁', label: '里程碑' }, - { to: '/notifications', icon: '🔔', label: '通知' + (unreadCount > 0 ? ' (' + unreadCount + ')' : '') }, + { to: '/projects', icon: '📁', label: 'Projects' }, + { to: '/milestones', icon: '🏁', label: 'Milestones' }, + { to: '/notifications', icon: '🔔', label: 'Notifications' + (unreadCount > 0 ? ' (' + unreadCount + ')' : '') }, { to: '/monitor', icon: '📡', label: 'Monitor' }, ] : [ { to: '/monitor', icon: '📡', label: 'Monitor' }, @@ -54,7 +54,7 @@ export default function Sidebar({ user, onLogout }: Props) { {user && (
👤 {user.username} - +
)} diff --git a/src/pages/CreateIssuePage.tsx b/src/pages/CreateIssuePage.tsx index 86a175d..4f0cc0f 100644 --- a/src/pages/CreateIssuePage.tsx +++ b/src/pages/CreateIssuePage.tsx @@ -27,16 +27,16 @@ export default function CreateIssuePage() { return (
-

新建 Issue

+

Create Issue

- -