// en/admin_settlements
export const admin_settlements = {
  page_title: 'Settlement Oversight',
  page_subtitle: 'Vendor settlement list',
  col_vendor: 'Vendor',
  col_period: 'Period',
  col_status: 'Status',
  col_total: 'Total (₪)',
  col_vendor_amount: 'Vendor share (₪)',
  col_platform_fee: 'Platform fee (₪)',
  col_created: 'Created',
  col_actions: 'Actions',
  status_pending: 'Awaiting payout',
  status_paid: 'Paid',
  status_disputed: 'Disputed',
  status_cancelled: 'Cancelled',
  btn_mark_paid: 'Mark Paid',
  btn_stripe_details: 'Stripe Details',
  mark_paid_dialog_title: 'Mark Settlement as Paid',
  mark_paid_dialog_notes_label: 'Notes (optional)',
  mark_paid_dialog_confirm: 'Confirm mark as paid',
  mark_paid_dialog_cancel: 'Cancel',
  mark_paid_dialog_note: 'This only updates the record — no money is transferred.',
  mark_paid_success: 'Settlement marked as paid',
  mark_pending_success: 'Settlement reverted to pending',
  mark_error: 'Error updating status',
  stripe_drilldown_title: 'Stripe Details for Vendor',
  stripe_drilldown_close: 'Close',
  stripe_loading: 'Loading Stripe data...',
  stripe_not_connected: 'Vendor not connected to Stripe',
  btn_reconcile: 'Check stuck payouts',
  btn_reconcile_tooltip:
    'Re-checks stuck payout and refund records against Stripe and fixes out-of-sync statuses. Safe to run repeatedly.',
  reconcile_running: 'Running reconciliation...',
  reconcile_success:
    'Check complete: {checked} payout records checked, {resolved} fixed, {failed} failed',
  reconcile_error: 'Reconciliation failed',
  tooltip_col_vendor_amount: 'The amount owed to the vendor after deducting the platform fee.',
  tooltip_status_pending: 'The settlement is calculated but the vendor has not been paid yet.',
  tooltip_btn_stripe_details: "Opens the vendor's Stripe Connect payouts and payments (read-only).",
  // Releases table (T29)
  releases_title: 'Vendor Payout Releases',
  releases_table_aria: 'Payout releases table',
  releases_filter_label: 'Filter by status',
  releases_filter_visible_label: 'Status:',
  releases_cancel: 'Cancel release',
  releases_cancel_aria: 'Cancel settlement {{id}}',
  releases_empty: 'No payout releases with status "{status}"',
  releases_col_id: 'ID',
  releases_col_vendor: 'Vendor',
  releases_col_vendor_id: 'ID',
  releases_release_at_label: 'Releases on',
  releases_cancel_dialog_title: 'Cancel payout release?',
  releases_cancel_dialog_body:
    'The amount {amount} for vendor {vendor} will not be released. This cannot be undone from this screen.',
  releases_cancel_reason_label: 'Reason (optional)',
  releases_cancel_reason_default: 'Cancelled by admin via dashboard',
  releases_col_amount: 'Net amount (₪)',
  releases_col_status: 'Status',
  releases_col_held_at: 'Held at',
  releases_col_release_at: 'Release at',
  releases_col_error: 'Last error',
  releases_status_held: 'Held',
  releases_status_enqueued: 'Queued',
  releases_status_releasing: 'Releasing',
  releases_status_released: 'Released',
  releases_status_refunded: 'Refunded to customer',
  releases_status_cancelled: 'Cancelled',
  tooltip_releases_status_held:
    'Funds are in the hold period and have not been sent to the vendor yet.',
  tooltip_releases_status_refunded:
    'The release was reversed and the money refunded to the customer — the vendor was not paid.',
  tooltip_releases_cancel: 'Stops the payout to the vendor. A confirmation step follows.',
  page_heading: 'Settlements',
  stripe_payouts_section: 'Payouts',
  stripe_payments_section: 'Payments',
} as const;
