export default {
  taskDetail: {
    // Header
    backToList: '← Back to Tasks',
    refresh: 'Refresh',
    // Status hints
    loading: 'Loading...',
    loadFailed: 'Failed to load: {msg}',
    // Panel
    infoTitle: 'Task Info',
    // Field labels
    title: 'Title',
    description: 'Description',
    status: 'Status',
    priority: 'Priority',
    project: 'Project',
    relatedIdea: 'Related Idea',
    branch: 'Branch',
    assignee: 'Assignee',
    baseBranch: 'Base Branch',
    workflowDef: 'Workflow Definition',
    // F-AiNodeSelfReview: task output + AI self-review verdict
    output: 'Output',
    review: {
      pass: 'Review Passed',
      fail: 'Review Failed',
      unknown: 'Review Inconclusive',
    },
    reviewRounds: 'Review Round {n}',
    createdAt: 'Created At',
    updatedAt: 'Updated At',
    // F-05 advance buttons (shown by state-machine-legal next states, validated by advance_task)
    advanceTitle: 'Advance Task',
    // Button labels (legal transitions per task_state_machine.rs can_transition)
    advance: {
      toInProgress: 'Start',
      toInReview: 'Submit for Review',
      toTesting: 'Approve to Testing',
      toDone: 'Done',
      resume: 'Resume',
      sendBack: 'Send Back',
      sendBackToReview: 'Send Back to Review',
      block: 'Block',
      cancel: 'Cancel Task',
    },
    advancing: 'Advancing...',
    advanceFailed: 'Failed to advance task: {msg}',
    // F-260616-06 ①-1 / B-41 Workflow advance (linked to task, auto-selects pipeline template by target_status)
    workflowAdvanceTitle: 'Workflow Advance',
    workflowAdvance: 'Run Workflow',
    workflowAdvancing: 'Workflow advancing...',
    workflowAdvanceFailed: 'Workflow advance failed: {msg}',
    // B-41 Inline progress (lightweight, listens to NodeStarted/NodeCompleted/WorkflowFailed)
    workflowStepRunning: 'Running: {node}',
    workflowStepsProgress: '{done} / {total} steps done',
    workflowCompletedHint: 'Workflow completed, task advanced',
    workflowFailedHint: 'Workflow failed, task rolled back',
    // Workflow DAG display (WorkflowDagDisplay.vue)
    workflowDagTitle: 'Workflow Structure',
    workflowLayer: 'Layer',
    workflowDagEmpty: 'No workflow data',
    workflowEdgeDetail: 'Edge Condition Editor',
    workflowUnconditional: 'Unconditional',
    workflowCondPlaceholder: 'Enter condition expression (e.g. outputs.done == true)',
    // Description collapse (show expand button beyond 400px, Problem4 redesign)
    expand: 'Expand',
    collapse: 'Collapse',
    // Related info panel title (wide-screen right column / info grouping)
    relatedTitle: 'Related',
  },
}
