Files
DevFlow/src/i18n/en/projectDetail.ts
绝尘 02ff88fc61 优化: 前端扫描文案 i18n + parseStack 抽公共 + alert/confirm 换组件
- 扫描/目录状态文案走 $t(Projects/ProjectDetail,zh-CN+en 同步)
- parseStack 抽公共到 src/utils/project.ts(删两份本地实现)
- 8 处原生 alert/confirm 全换(confirm→ConfirmDialog / alert→Arco Message),控制流语义不变

Sprint 20 审查 ⑥⑦⑧。vue-tsc 0 error,验证 safe 0 issue
2026-06-14 14:22:57 +08:00

62 lines
2.1 KiB
TypeScript

export default {
projectDetail: {
// Header
backToList: '← Projects',
sync: '🔄 Sync',
delete: '🗑 Delete',
newTask: '+ New Task',
// Stage pipeline
stageIdea: '💡 Idea',
stageRequirement: '📋 Requirement',
stageCoding: '💻 Coding',
stageTesting: '🧪 Testing',
stageRelease: '🚀 Release',
// New task modal
newTaskTitle: 'New Task',
taskTitleLabel: 'Task Title',
taskTitlePlaceholder: 'Enter task title',
descLabel: 'Description',
descPlaceholder: 'Brief description',
branchLabel: 'Branch Name',
confirmCreate: 'Create',
// Project info panel
infoTitle: '📋 Project Info',
sourceIdea: 'Source Idea',
viewIdea: 'View idea details',
ideaDeleted: 'Original idea deleted',
createdAt: 'Created',
updatedAt: 'Updated',
description: 'Description',
projectStatus: 'Status',
// Task list panel
taskListTitle: '🔀 Tasks',
taskCount: '{n} tasks',
emptyTasks: 'No tasks yet',
// Workflow log panel
workflowLogTitle: '📋 Workflow Log',
runDemoWorkflow: '▶ Run Demo Workflow',
emptyWorkflowLog: 'Click "Run Demo Workflow" to view live logs',
// Approval dialog
approvalTitle: 'Manual Approval Required',
approvalHint: 'Choose an action:',
approvalLater: 'Later',
// Delete confirm
confirmDelete: 'Delete project "{name}"? It will be moved to trash and can be restored.',
// Project directory
codeDirLabel: 'Code Directory',
noDirBound: 'Not bound',
relocateDir: 'Relocate',
bindDir: 'Bind Directory',
dirStatusLabel: 'Directory Status',
dirChecking: 'Checking…',
dirExists: '✓ Directory exists',
dirMissing: '⚠ Directory moved, recommend relocate',
dirConflict: 'This directory is already bound to project "{name}"',
relocateConfirmRelocate: 'Relocate project directory to:\n{dir}\n\nTech stack will be re-detected. Confirm?',
relocateConfirmBind: 'Bind project directory to:\n{dir}\n\nTech stack will be re-detected. Confirm?',
relocateFailed: 'Relocate failed: {msg}',
// Tech stack
techStackLabel: 'Tech Stack',
},
}