Files
DevFlow/src/i18n/en/dashboard.ts
T
lxy 861aad56f4 优化: 项目进度改为真实任务完成率
- 进度条不再用阶段写死百分比,改为已完成任务数/总任务数
- 复用现有任务计数通道,零后端改动;无任务项目显示无任务不伪造数字
- 阶段映射表仅保留颜色文案用途
2026-09-29 17:52:55 +08:00

60 lines
1.5 KiB
TypeScript

export default {
dashboard: {
title: 'Overview',
subtitle: 'All systems operational',
refresh: 'Refresh',
captureIdea: 'Capture Idea',
stats: {
ideas: 'Ideas',
projects: 'Projects',
activeTasks: 'Active Tasks',
drafts: 'Drafts',
annotations: 'Annotations',
},
activeProjects: 'Active Projects',
viewAll: 'View all',
ideaPool: 'Idea Pool',
goProjectDetail: 'View project details',
goIdeaDetail: 'View idea details',
recentDecisions: 'Recent Decisions',
openAnnotations: 'Open Annotations',
aiBatchProcess: 'AI Batch Process',
tasks: '{count} tasks',
taskUnit: '{n} tasks',
noTasks: 'No tasks',
trending: 'Trending',
approved: 'Approved',
pending: 'Pending',
reviewing: 'Reviewing',
coding: 'Coding',
testing: 'Testing',
release: 'Release',
empty: {
noProjects: 'No projects yet, go',
noProjectsLink: 'create one',
noIdeas: 'No ideas yet, click above to capture',
noData: 'No data',
},
// Error fallback (refresh/onMounted load failures surfaced to user)
err: {
loadFailed: 'Failed to load data, please retry later',
},
stage: {
planning: 'Planning',
coding: 'Coding',
testing: 'Testing',
release: 'Release',
done: 'Done',
paused: 'Paused',
cancelled: 'Cancelled',
},
ideaStatus: {
draft: 'Draft',
pending_review: 'Pending',
approved: 'Approved',
promoted: 'Promoted',
rejected: 'Rejected',
},
},
}