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

    // Filter bar
    filter: {
      project: 'Project: ',
      status: 'Status: ',
      all: 'All',
    },
    // 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',
    },

    // New task modal
    modal: {
      title: 'New Task',
      project: 'Project',
      titleField: 'Title',
      desc: 'Description',
      branch: 'Branch',
      priority: 'Priority',
      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',
    },
  },
}
