export const admin_campaigns = {
  page_title: 'Email Campaigns',
  page_subtitle: 'Create and send marketing email via Brevo',

  create_section_title: 'Create New Campaign',
  field_name_label: 'Campaign Name',
  field_name_placeholder: 'Campaign name',
  field_subject_label: 'Email subject',
  field_subject_placeholder: 'Email subject',
  field_html_label: 'Email body (HTML)',
  field_html_placeholder: '<p>Campaign content...</p>',
  field_html_hint:
    'Paste the full email body as HTML, including styling. Send yourself a test email before sending to everyone.',
  field_scheduled_label: 'Schedule send — optional (Israel time)',
  field_scheduled_hint:
    'If set, the campaign sends automatically at the chosen time — no further action needed. Leave empty to send manually.',

  audience_line: 'Audience: default Brevo list (all contacts on the list configured in the system)',

  btn_create_loading: 'Creating...',
  btn_create: 'Create Campaign',
  btn_send_loading: 'Sending...',
  btn_send: 'Send to entire list now',

  send_confirm_title: 'Send campaign "{name}" to all contacts on the mailing list?',
  send_confirm_body: 'This action cannot be undone.',
  send_confirm_cta: 'Send',

  campaign_created: 'Campaign created — ID:',
  send_success: 'Campaign sent successfully',
  error_unknown: 'Save failed. Try again or refresh the page.',
  error_network: 'Network error — please try again',
  error_network_send: 'Network error while sending',
  error_send_prefix: 'Error:',
  error_config: 'Mailing list is not configured — ask the technical admin to set BREVO_LIST_ID.',

  stats_section_title: 'Campaign Statistics',
  stats_campaign_id_label: 'Campaign ID',
  stats_campaign_id_placeholder: 'e.g. 42',
  stats_fetch_loading: 'Loading...',
  stats_fetch_btn: 'Show statistics',
  stats_error_invalid_id: 'Please enter a valid campaign ID',
  stats_error_load: 'Error loading statistics',
  stats_card_title: 'Campaign Statistics #',
  stats_col_metric: 'Metric',
  stats_col_value: 'Value',

  stat_delivered: 'Delivered',
  stat_open_rate: 'Open Rate',
  stat_click_rate: 'Click rate',
  stat_open_rate_value: '{{rate}}% ({{count}} opens)',
  stat_click_rate_value: '{{rate}}% ({{count}} clicks)',
  stat_unsubscribes: 'Unsubscribes',
  stat_bounces: 'Bounces',

  campaign_scheduled_status:
    'Campaign is scheduled to send automatically on {date} at {time} (Israel time).',
  btn_send_override: 'Send now instead of the schedule',
} as const;
