// en/admin_users
export const admin_users = {
  title: 'User Management',
  filter_state: 'Account state',
  filter_all: 'All',
  search_placeholder: 'Search by name, email, phone or ID...',
  state_active: 'Active',
  state_frozen: 'Frozen',
  state_frozen_tooltip: 'Frozen by an admin — the user cannot log in.',
  state_deleted_pending: 'Deletion pending',
  state_deleted_pending_tooltip:
    'The user requested account deletion; it completes after the grace period.',
  state_deleted: 'Deleted',
  col_purchases: 'Purchases',
  purchases_label: 'Purchases',
  joined_label: 'Joined',
  admin_badge: 'Admin',
  no_users: 'No users match the filters — try clearing filters or searching by email/phone/ID.',
  freeze: 'Freeze',
  unfreeze: 'Unfreeze',
  freeze_dialog_title: 'Freeze user account',
  freeze_dialog_description:
    'Provide a reason for freezing this user account. The user will not be able to log in while frozen.',
  unfreeze_dialog_title: 'Unfreeze user account',
  unfreeze_dialog_description:
    'Provide a reason for unfreezing this user account. The user will regain access immediately.',
  reason_label: 'Reason',
  freeze_reason_placeholder: 'Describe the reason for freezing this user...',
  unfreeze_reason_placeholder: 'Describe the reason for unfreezing this user...',
  confirm_freeze: 'Freeze account',
  confirm_unfreeze: 'Unfreeze account',
  total_label: 'Total users',
  actions_label: 'Actions',
  more_actions: 'More actions…',
  col_real_name: 'Real name',
  col_real_name_tooltip:
    "Name taken from the user's default shipping address — not necessarily a verified name.",
  col_city: 'City',
  col_email: 'Email',
  col_display: 'Display name',
  col_display_tooltip:
    'The name the user chose to show on the site. If missing, the phone hint is shown instead.',
  filter_role: 'Role',
  role_admin: 'Admin',
  role_vendor: 'Vendor',
  role_affiliate: 'Affiliate',
  role_customer: 'Customer',
  filter_activity: 'Activity',
  activity_has: 'Has purchases',
  activity_none: 'No purchases',
  filter_has_email: 'Has email',
  filter_email_verified: 'Email verified',
  filter_has_address: 'Has shipping address',
  filter_city: 'City',
  sort_label: 'Sort',
  sort_joined_desc: 'Newest joined',
  sort_joined_asc: 'Oldest joined',
  sort_purchases_desc: 'Top buyers',
  sort_name_asc: 'By name',
  matched_by: 'Matched by',
  match_phone: 'phone',
  match_email: 'email',
  match_uuid: 'ID',
  match_name: 'name',
  copy: 'Copy',
  copied: 'Copied',
  copy_phone: 'Copy masked phone',
  copy_phone_tooltip:
    'For privacy, only a masked number is shown and copied; the full number is available on the user page for authorized admins.',
  copy_email: 'Copy email',
  copy_id: 'Copy ID',
  bulk_selected: '{n} selected',
  bulk_freeze: 'Freeze selected',
  bulk_freeze_confirm_title: 'Freeze {n} accounts?',
  bulk_freeze_confirm_desc:
    'The selected users will not be able to log in until unfrozen. Provide a reason — it is saved to the audit log.',
  bulk_freeze_failed: 'Freeze failed for {name}',
  freeze_reason_admin: 'Frozen by admin',
  bulk_clear: 'Clear selection',
  export_csv: 'Export CSV',
  export_csv_tooltip:
    'Exports the results matching the current filters. Very large exports are blocked — narrow the filters first.',
  export_too_large: 'Too many results to export — narrow your filters',
  export_failed: 'Export failed',
  select_all_rows: 'Select all rows',
  select_row: 'Select row',
  seg_label: 'Quick filters',
  seg_tooltip: "Applies a saved filter; clear it with 'Clear filters'.",
  seg_frozen: 'Frozen',
  seg_new7d: 'New (7 days)',
  seg_pending: 'Pending deletion',
  seg_affiliates: 'Affiliates',
  seg_vendors: 'Vendors',
  recent_label: 'Recently viewed:',
  recent_chip_tooltip: 'Recently viewed user — click to open the user page.',
  grant_admin_confirm_title: 'Grant admin rights to {name}?',
  grant_admin_confirm_desc:
    'An admin user gets full access to the entire admin panel, including customer and financial data. This action is recorded in the audit log.',
  revoke_admin_confirm_title: 'Revoke admin rights from {name}?',
  revoke_admin_confirm_desc:
    "The user's admin rights will be removed. This action is recorded in the audit log.",
} as const;
