export default {
  tasks: {
    // Header
    title: '🔀 Task Queue',
    refresh: '🔄 Refresh',
    create: '+ New Task',
    searchPlaceholder: 'Search title/description...',

    // Filter bar
    filter: {
      project: 'Project: ',
      status: 'Status: ',
      all: 'All',
    },
    // Sort
    sort: {
      label: 'Sort: ',
      updated: 'Updated',
      created: 'Created',
      priority: 'Priority',
      status: 'Status',
    },
    // Status filters (with icons) — D-260616-01 aligned to backend 7 states
    statusFilter: {
      all: 'All',
      todo: 'Todo',
      in_progress: 'In Progress',
      in_review: 'In Review',
      testing: 'Testing',
      done: 'Done',
      blocked: 'Blocked',
      cancelled: 'Cancelled',
    },

    // Groups
    group: {
      taskCount: '{n} tasks',
      unknownProject: 'Unknown Project',
      empty: 'No tasks yet',
    },
    confirmDelete: 'Delete task "{title}"? This action cannot be undone.',
    // Quick action menu (task card quick status/priority/delete)
    quickActions: 'Quick Actions',
    quickStatus: 'Status',
    quickPriority: 'Priority',
    quickDelete: '🗑 Delete',

    // New task modal
    modal: {
      title: 'New Task',
      project: 'Project',
      titleField: 'Title',
      desc: 'Description',
      branch: 'Branch',
      priority: 'Priority',
      // F-260619-01: related idea (1:1, optional)
      idea: 'Related Idea',
      ideaPlaceholder: 'None (optional)',
      titlePlaceholder: 'Enter task title...',
      descPlaceholder: 'Brief description (optional)',
      branchPlaceholder: 'feature/xxx (optional)',
      // Priority options
      priorityCritical: 'P0 Critical',
      priorityHigh: 'P1 High',
      priorityMedium: 'P2 Medium',
      priorityLow: 'P3 Low',
    },
    // Status labels (TASK_STATUS_LABELS values in constants/project.ts use these keys) — D-260616-01 aligned to backend 7 states
    status: {
      todo: '📋 Todo',
      in_progress: '🔄 In Progress',
      in_review: '👀 In Review',
      testing: '🧪 Testing',
      done: '✅ Done',
      blocked: '🚫 Blocked',
      cancelled: '🗑️ Cancelled',
    },
    // Error fallbacks (user-visible via state.error)
    err: {
      loadFailed: 'Failed to load tasks',
      createFailed: 'Failed to create task',
      deleteFailed: 'Failed to delete task',
      updateFailed: 'Failed to update task',
    },
  },
}
