Files
DevFlow/src/i18n/en/ideas.ts
T
lxy 83e86cd6b7 新增: 灵感归档箱与任务归档动线
- ideasStore/taskStore: archiveIdea/archiveTask IPC 封装(本地移除/本地更新,对齐 delete 语义)
- project.ts 组合 store 显式透传 archiveIdea/archiveTask
- Ideas.vue: 筛选栏归档箱 Tab(独立数据源 ideaApi.listArchived,主查询不受扰);archiveCurrentIdea 处理器(归档确认+归档箱内取消归档自动清选中);IdeaDetail 传 in-archive-box prop
- IdeaDetail.vue: inArchiveBox prop + archive emit;操作区归档/取消归档按钮,归档箱模式隐藏删除(防误删归档记忆)
- i18n zh-CN/en ideas 补 filterArchived/archiveBoxEmpty/quickArchive/quickUnarchive/confirmArchive/toast 键(前批遗留)
验收: vue-tsc --noEmit EXIT 0
2026-10-05 00:35:02 +08:00

162 lines
5.0 KiB
TypeScript

export default {
ideas: {
// Page header
title: '💡 Ideas',
refresh: '🔄 Refresh',
capture: '✨ Capture Idea',
// Filter bar
searchPlaceholder: 'Search ideas...',
filter: {
all: 'All',
hot: 'Hot',
pending: 'Pending',
promoted: 'Promoted',
},
// Empty state
emptyState: 'Select an idea to view details',
// List empty / async button placeholders
listEmpty: '📭 No ideas yet. Click "Capture Idea" at the top right to start.',
creating: 'Creating…',
deleting: 'Deleting…',
promoting: 'Promoting…',
// Errors
err: {
loadFailed: 'Failed to load ideas',
createFailed: 'Failed to create idea',
deleteFailed: 'Failed to delete idea',
relateFailed: 'Failed to update relations',
archiveFailed: 'Archive operation failed',
},
// Action feedback toasts (WK-16/18: success/failure light toast, aligns Knowledge.createdToast)
createdToast: '✅ Idea created',
descSaved: '✅ Description saved',
descSaveFailed: 'Failed to save description',
tagsSaved: '✅ Tags saved',
tagsSaveFailed: 'Failed to save tags',
// Adversarial evaluation
adversarialTitle: '⚖️ Adversarial Evaluation',
evalModeHeuristic: 'Heuristic',
positive: '📈 Pro',
negative: '📉 Con',
confidence: '{n}% confidence',
analystTitle: '🧠 AI Analyst Conclusion',
finalScore: 'Overall score: {score}/10',
netSentiment: 'Overall sentiment: {tone} ({n})',
sentimentPositive: 'Positive',
sentimentNegative: 'Cautious',
sentimentNeutral: 'Neutral',
actionTitle: '💡 Action Items',
evaluating: '⏳ Evaluating…',
startEval: '🔍 Start Adversarial Eval',
retryEval: 'Retry',
evalModeLlm: 'LLM deep eval',
evalModeFallback: 'Heuristic fallback',
// Description editing
editDesc: 'Edit',
saveDesc: 'Save',
cancelEdit: 'Cancel',
// List sorting
sortByScore: 'By score',
sortByTime: 'By time',
// Assessment badges
assessment: {
'immediate action': '🚀 Act immediately',
soon: '📅 Act soon',
'with resources': '📦 Act with resources',
'research more': '🔍 Needs more research',
monitor: '👁️ Keep monitoring',
cancel: '❌ Cancel idea',
},
// Project detail "Source Idea" card (promote carries evaluation conclusion back)
sourceIdea: '💡 Source Idea',
sourceIdeaNotEvaluated: 'Idea not evaluated yet, click to view',
// Multi-dimensional score
multiScoreTitle: '📊 Multi-dim Score',
noEval: 'No evaluation yet',
// Evaluation history (version timeline)
historyTitle: '📜 Evaluation History',
historyVersion: 'Version',
historyLatest: 'Latest',
historyEmpty: 'No evaluation history',
historyLoading: 'Loading history…',
// Related ideas
relatedTitle: '🔗 Related Ideas',
relatedEmpty: 'No relations',
relatedManage: 'Manage relations',
relatedConfirm: 'Confirm',
relatedCancel: 'Cancel',
relatedSearchPlaceholder: 'Search idea title or description...',
// Idea stats panel (used by IdeasPanel)
statsPending: 'Pending',
statsPromoted: 'Promoted',
statsAvgScore: 'Avg score',
// Tags
tagsTitle: '🏷️ Tags',
noTags: 'No tags',
editTags: 'Edit tags',
// Status management
statusTitle: '📋 Status',
status: {
draft: '📝 Draft',
pending_review: '⏳ Pending',
approved: '✅ Approved',
promoted: '🚀 Promoted',
rejected: '❌ Rejected',
},
// Action buttons
promoteToProject: '🚀 Promote to Project',
deleteIdea: '🗑️ Delete Idea',
promotedProject: 'Promoted to project',
// Capture modal
captureTitle: '✨ Capture New Idea',
fieldTitle: 'Title',
fieldDesc: 'Description',
fieldTags: 'Tags',
fieldPriority: 'Priority',
fieldSource: 'Source',
titlePlaceholder: 'Describe your idea in one sentence...',
descPlaceholder: 'More details (optional)...',
tagsPlaceholder: 'Comma-separated, e.g. tools, efficiency, automation',
sourcePlaceholder: 'Source (optional, e.g. user feedback, competitor analysis)',
priorityCritical: 'Critical',
priorityHigh: 'High',
priorityMedium: 'Medium',
priorityLow: 'Low',
// Deep link not found
notFound: 'Idea not found or deleted',
// Native dialog text (confirm / alert)
confirmDelete: 'Delete idea "{title}"? This cannot be undone.',
// ⑥ Status change confirm (terminal promoted/rejected/archived or leaving approved)
confirmStatus: 'Change idea "{title}" status from {from} to {to}?',
promoteFailed: 'Promotion failed',
// Archive P1: idea archive box
filterArchived: '📦 Archive',
archiveBoxEmpty: 'No archived ideas',
quickArchive: '📦 Archive',
quickUnarchive: '📤 Unarchive',
confirmArchive: 'Archive idea "{title}"? It will leave the main view; find it in the Archive box.',
archivedToast: 'Archived',
unarchivedToast: 'Unarchived',
evalFailed: 'Evaluation failed',
},
}