// English translations
import type { TranslationKeys } from './de'

export const en: TranslationKeys = {
  // Currency
  currency: {
    symbol: '$',
    code: 'USD',
    format: (amount: number) => `$${amount.toLocaleString('en-US')}`,
  },
  
  // Common
  common: {
    loading: 'Loading...',
    error: 'Error',
    success: 'Success',
    save: 'Save',
    cancel: 'Cancel',
    overview: 'Overview',
    add: 'Add',
    create: 'Create',
    delete: 'Delete',
    edit: 'Edit',
    actions: 'Actions',
    name: 'Name',
    title: 'Title',
    content: 'Content',
    confirmDelete: 'Are you sure you want to delete?',
    delete: 'Delete',
    edit: 'Edit',
    create: 'Create',
    search: 'Search',
    filter: 'Filter',
    refresh: 'Refresh',
    back: 'Back',
    next: 'Next',
    previous: 'Previous',
    close: 'Close',
    confirm: 'Confirm',
    yes: 'Yes',
    no: 'No',
    all: 'All',
    none: 'None',
    select: 'Select',
    noData: 'No data available',
    actions: 'Actions',
    status: 'Status',
    date: 'Date',
    time: 'Time',
    name: 'Name',
    description: 'Description',
    amount: 'Amount',
    total: 'Total',
    online: 'Online',
    offline: 'Offline',
    active: 'Active',
    inactive: 'Inactive',
    enabled: 'Enabled',
    disabled: 'Disabled',
    unknown: 'Unknown',
    copied: 'Copied!',
    copyToClipboard: 'Copy to clipboard',
  },

  // Navigation
  nav: {
    dashboard: 'Dashboard',
    characters: 'My Characters',
    profile: 'My Profile',
    finances: 'Finances',
    vehicles: 'Vehicles',
    properties: 'Properties',
    inventory: 'Inventory',
    history: 'Game History',
    support: 'Support',
    admin: 'Administration',
    settings: 'Settings',
    users: 'Users',
    logs: 'Logs',
    settings: 'Settings',
    logout: 'Logout',
    support: 'Support',
    jobPanels: 'Job Panels',
    playerAccounts: 'Player Accounts',
    userGroups: 'User Groups',
  },

  // Auth
  auth: {
    login: 'Login',
    logout: 'Logout',
    register: 'Register',
    forgotPassword: 'Forgot password?',
    resetPassword: 'Reset password',
    email: 'Email address',
    password: 'Password',
    confirmPassword: 'Confirm password',
    username: 'Username',
    rememberMe: 'Remember me',
    loginWithDiscord: 'Login with Discord',
    welcomeBack: 'Welcome back!',
    loginDescription: 'Sign in with your Discord account to access the User Control Panel.',
    noAccount: "Don't have an account?",
    hasAccount: 'Already have an account?',
    loggingIn: 'Logging in...',
    loginSuccess: 'Successfully logged in!',
    loginError: 'Login failed',
    logoutSuccess: 'Successfully logged out',
  },

  // Dashboard
  dashboard: {
    title: 'Dashboard',
    welcome: 'Welcome back',
    overview: 'Overview',
    statistics: 'Statistics',
    recentActivity: 'Recent Activity',
    quickActions: 'Quick Actions',
    serverStatus: 'Server Status',
    playersOnline: 'Players online',
    totalPlayers: 'Total Players',
    totalCharacters: 'Total Characters',
    totalVehicles: 'Total Vehicles',
    totalProperties: 'Total Properties',
    totalMoney: 'Total Wealth',
    economyOverview: 'Economy Overview',
    playerActivity: 'Player Activity',
    serverUptime: 'Server Uptime',
    averagePlaytime: 'Average Playtime',
    newPlayersToday: 'New Players Today',
    activePlayersWeek: 'Active Players This Week',
  },

  // Characters
  characters: {
    title: 'My Characters',
    subtitle: 'Select a character to view all details',
    noCharacters: 'No characters found',
    noCharactersDesc: 'Please connect to the FiveM server first to link your account.',
    createCharacter: 'Create Character',
    deleteCharacter: 'Delete Character',
    characterDetails: 'Character Details',
    selectCharacter: 'Select Character',
    firstName: 'First Name',
    lastName: 'Last Name',
    fullName: 'Full Name',
    dateOfBirth: 'Date of Birth',
    gender: 'Gender',
    male: 'Male',
    female: 'Female',
    diverse: 'Diverse',
    nationality: 'Nationality',
    phone: 'Phone Number',
    job: 'Job',
    jobGrade: 'Grade',
    gang: 'Gang',
    unemployed: 'Unemployed',
    rank: 'Rank',
    personalData: 'Personal Data',
    jobAndGang: 'Job & Gang',
    citizenId: 'Citizen ID',
    lastPlayed: 'Last Played',
    playTime: 'Play Time',
    createdAt: 'Created At',
    characterCount: 'Character',
    characterCountPlural: 'Characters',
    totalWealth: 'Total Wealth',
    retryCheck: 'Retry Check',
    overview: 'Overview',
    inventory: 'Inventory',
    vehicles: 'Vehicles',
    properties: 'Properties',
    statistics: 'Statistics',
    backToCharacters: 'Back to my characters',
    backToOverview: 'Back to overview',
    characterNotFound: 'Character not found',
    
    // Tabs
    tabs: {
      overview: 'Overview',
      inventory: 'Inventory',
      vehicles: 'Vehicles',
      properties: 'Properties',
      stats: 'Statistics',
    },
  },

  // Finances
  finances: {
    title: 'Finances',
    cash: 'Cash',
    bank: 'Bank Account',
    crypto: 'Cryptocurrency',
    blackMoney: 'Black Money',
    totalBalance: 'Total Balance',
    totalWealth: 'Total Wealth',
    transactions: 'Transactions',
    recentTransactions: 'Recent Transactions',
    income: 'Income',
    expenses: 'Expenses',
    transfer: 'Transfer',
    deposit: 'Deposit',
    withdraw: 'Withdrawal',
    salary: 'Salary',
    purchase: 'Purchase',
    sale: 'Sale',
    fine: 'Fine',
    tax: 'Tax',
    noTransactions: 'No transactions available',
  },

  // Vehicles
  vehicles: {
    title: 'Vehicles',
    myVehicles: 'My Vehicles',
    noVehicles: 'No vehicles found',
    noVehiclesDesc: 'You currently do not own any vehicles.',
    vehicleName: 'Vehicle Name',
    plate: 'License Plate',
    model: 'Model',
    brand: 'Brand',
    color: 'Color',
    garage: 'Garage',
    state: 'State',
    fuel: 'Fuel',
    engine: 'Engine',
    body: 'Body',
    mileage: 'Mileage',
    stored: 'Stored',
    out: 'Out',
    impounded: 'Impounded',
    destroyed: 'Destroyed',
    insurance: 'Insurance',
    insured: 'Insured',
    notInsured: 'Not Insured',
    modifications: 'Modifications',
    vehicleCondition: 'Vehicle Condition',
    excellent: 'Excellent',
    good: 'Good',
    fair: 'Fair',
    poor: 'Poor',
    broken: 'Broken',
  },

  // Properties
  properties: {
    title: 'Properties',
    myProperties: 'My Properties',
    noProperties: 'No properties found',
    noPropertiesDesc: 'You currently do not own any properties.',
    propertyName: 'Property Name',
    address: 'Address',
    type: 'Type',
    house: 'House',
    apartment: 'Apartment',
    garage: 'Garage',
    business: 'Business',
    warehouse: 'Warehouse',
    owner: 'Owner',
    coOwners: 'Co-Owners',
    keys: 'Keys',
    storage: 'Storage',
    upgrades: 'Upgrades',
    value: 'Value',
    purchaseDate: 'Purchase Date',
    location: 'Location',
  },

  // Inventory
  inventory: {
    title: 'Inventory',
    items: 'Items',
    noItems: 'No items in inventory',
    weight: 'Weight',
    maxWeight: 'Maximum Weight',
    slots: 'Slots',
    quantity: 'Quantity',
    itemName: 'Item Name',
    itemDescription: 'Description',
    itemType: 'Type',
    weapon: 'Weapon',
    item: 'Item',
    money: 'Money',
    usable: 'Usable',
    equipable: 'Equipable',
    stackable: 'Stackable',
    unique: 'Unique',
    rare: 'Rare',
    legendary: 'Legendary',
  },

  // Support
  support: {
    title: 'Support',
    subtitle: 'Create a support ticket to get help',
    newTicket: 'New Ticket',
    myTickets: 'My Tickets',
    ticketHistory: 'Ticket History',
    createTicket: 'Create Ticket',
    subject: 'Subject',
    category: 'Category',
    priority: 'Priority',
    message: 'Message',
    description: 'Problem Description',
    attachments: 'Attachments',
    send: 'Submit',
    submitting: 'Submitting...',
    ticketCreated: 'Ticket created successfully!',
    ticketError: 'Error creating ticket',
    ticketCreateError: 'Error creating ticket',
    fillAllFields: 'Please fill in all required fields',
    noTickets: 'No tickets available',
    noTicketsDesc: 'You have not created any support tickets yet.',
    createNewTicket: 'Create New Support Ticket',
    describeIssue: 'Describe your issue as detailed as possible.',
    subjectPlaceholder: 'Brief description of the problem',
    messagePlaceholder: 'Describe your issue in detail...',
    total: 'Total',
    yourTickets: 'Your Tickets',
    ticketOverview: 'Overview of all your support requests',
    
    categories: {
      general: 'General Question',
      technical: 'Technical Problem',
      account: 'Account Problem',
      ingame: 'In-Game Problem',
      bugReport: 'Bug Report',
      suggestion: 'Suggestion',
      appeal: 'Ban Appeal',
      other: 'Other',
    },
    
    priorities: {
      low: 'Low',
      medium: 'Medium',
      high: 'High',
      urgent: 'Urgent',
    },
    
    status: {
      open: 'Open',
      inProgress: 'In Progress',
      waitingForUser: 'Waiting for Response',
      resolved: 'Resolved',
      closed: 'Closed',
    },
    
    faq: 'Frequently Asked Questions',
    faqSubtitle: 'Maybe you can find an answer here',
    faqProcessingTime: 'How long does processing take?',
    faqProcessingTimeAnswer: 'Tickets are usually processed within 24-48 hours. Urgent requests are prioritized.',
    faqBanAppeal: 'How can I appeal my ban?',
    faqBanAppealAnswer: 'Create a ticket with the category "Ban Appeal" and explain the situation in detail.',
    faqItemLoss: 'My character lost items',
    faqItemLossAnswer: 'For item loss due to bugs, create a ticket with exact details (what, when, how).',
    faqTechnical: 'Technical Issues',
    faqTechnicalAnswer: 'Describe the problem exactly and attach screenshots or error messages if possible.',
    contactUs: 'Contact Us',
    responseTime: 'Response Time',
    responseTimeDesc: 'We typically respond within 24-48 hours.',
  },

  // Admin
  admin: {
    title: 'Administration',
    dashboard: 'Admin Dashboard',
    users: 'User Management',
    roles: 'Role Management',
    permissions: 'Permissions',
    settings: 'Settings',
    logs: 'Audit Logs',
    resources: 'Resources',
    gameServer: 'Game Server Connection',
    
    userManagement: {
      title: 'User Management',
      searchUsers: 'Search users...',
      totalUsers: 'Total Users',
      activeUsers: 'Active Users',
      newUsers: 'New Users',
      bannedUsers: 'Banned Users',
      editUser: 'Edit User',
      deleteUser: 'Delete User',
      banUser: 'Ban User',
      unbanUser: 'Unban User',
      changeRole: 'Change Role',
      resetPassword: 'Reset Password',
      viewDetails: 'View Details',
      lastLogin: 'Last Login',
      registeredAt: 'Registered At',
      role: 'Role',
      status: 'Status',
      subtitle: 'Manage panel users and their permissions',
      inviteUser: 'Invite User',
      activeToday: 'Active Today',
      allUsers: 'All Users',
      users: 'users',
      user: 'User',
      noUsers: 'No users found',
      // New translations
      editUserDesc: 'Edit user information',
      username: 'Username',
      userUpdated: 'User successfully updated',
      changeRoleDesc: 'Assign a new role to the user',
      newRole: 'New Role',
      roleChanged: 'Role successfully changed',
      banUserDesc: 'The user will be banned from the system',
      banReason: 'Ban Reason',
      banReasonPlaceholder: 'Reason for the ban...',
      confirmBan: 'Ban User',
      userBanned: 'User successfully banned',
      userUnbanned: 'User successfully unbanned',
    },
    
    // Roles
    roles: {
      user: 'User',
      moderator: 'Moderator',
      admin: 'Admin',
      superadmin: 'Superadmin',
    },
    
    // Role Management
    roles: {
      title: 'Role Management',
      subtitle: 'Create and manage custom roles with granular permissions',
      createRole: 'Create Role',
      editRole: 'Edit Role',
      deleteRole: 'Delete Role',
      createDesc: 'Define a new role with specific permissions',
      editDesc: 'Modify role settings and permissions',
      deleteWarning: 'Are you sure you want to delete this role? All users with this role will lose their permissions.',
      displayName: 'Display Name',
      description: 'Description',
      color: 'Color',
      priority: 'Priority',
      permissions: 'Permissions',
      totalRoles: 'Total Roles',
      totalPermissions: 'Permissions',
      assignedUsers: 'Assigned Users',
      customRoles: 'Custom Roles',
      customRolesDesc: 'Manage custom roles and their permissions',
      noRoles: 'No custom roles created yet',
      noRolesHint: 'Create a role to get started',
      role: 'Role',
      users: 'Users',
      created: 'Role created successfully!',
      updated: 'Role updated successfully!',
      deleted: 'Role deleted successfully!',
      initPermissions: 'Initialize Permissions',
      permissionsInitialized: 'Permissions initialized!',
    },
    
    // Logs
    logs: {
      title: 'Logs',
      subtitle: 'All system activities and changes',
      searchPlaceholder: 'Search logs...',
      filterCategory: 'Filter by category',
      allCategories: 'All Categories',
      logEntries: 'Log Entries',
      showing: 'Showing',
      of: 'of',
      entries: 'entries',
      page: 'Page',
      dateTime: 'Date/Time',
      user: 'User',
      category: 'Category',
      action: 'Action',
      details: 'Details',
      system: 'System',
      noLogs: 'No logs found',
      logDetails: 'Log Details',
      totalLogs: 'Total',
      todayLogs: 'Today',
      authLogs: 'Auth',
      adminLogs: 'Admin',
    },
    
    settings: {
      title: 'Settings',
      subtitle: 'Manage all UCP configurations',
      general: 'General',
      appearance: 'Appearance',
      database: 'Database',
      inventory: 'Inventory',
      security: 'Security',
      advanced: 'Advanced',
      validateAll: 'Validate All',
      
      serverName: 'Server Name',
      serverDescription: 'Server Description',
      maintenanceMode: 'Maintenance Mode',
      registrationEnabled: 'Registration Enabled',
      
      theme: 'Theme',
      primaryColor: 'Primary Color',
      accentColor: 'Accent Color',
      darkMode: 'Dark Mode',
      
      databaseHost: 'Database Host',
      databasePort: 'Database Port',
      databaseName: 'Database Name',
      databaseUser: 'Database User',
      databasePassword: 'Database Password',
      testConnection: 'Test Connection',
      connectionSuccess: 'Connection successful!',
      connectionError: 'Connection failed',
      
      inventorySystem: 'Inventory System',
      inventoryImagePath: 'Image Path',
      autoDetect: 'Auto Detect',
      
      language: 'Language',
      timezone: 'Timezone',
      
      // Additional settings
      settingSaved: 'Setting saved',
      saveFailed: 'Failed to save',
      validationResults: 'Validation Results',
      someChecksFailed: 'Some checks failed',
      allChecksPassed: 'All checks passed',
      validationFailed: 'Validation failed',
      testFailed: 'Test failed',
      demoMode: 'Demo Mode',
      demoModeEnabled: 'Demo mode enabled',
      demoModeDisabled: 'Demo mode disabled',
      ok: 'OK',
      error: 'Error',
      warning: 'Warning',
      
      // API Key
      apiKey: 'API Key',
      apiKeyDesc: 'Required for FiveM server communication',
      regenerateApiKey: 'Regenerate',
      regenerateConfirm: 'Are you sure? All FiveM scripts using the old key will stop working.',
      apiKeyRegenerated: 'API Key has been regenerated',
      apiKeyRegenerateFailed: 'Failed to regenerate API key',
      copiedToClipboard: 'Copied to clipboard',
      
      // Discord
      discord: 'Discord',
      discordClientId: 'Discord Client ID',
      discordClientSecret: 'Discord Client Secret',
      discordRedirectUri: 'Redirect URI',
      discordBotToken: 'Bot Token',
      discordGuildId: 'Server (Guild) ID',
      
      // FiveM
      fivem: 'FiveM',
      fivemServerIp: 'Server IP',
      fivemServerPort: 'Server Port',
      fivemResourceName: 'Resource Name',
      
      // Security
      sessionTimeout: 'Session Timeout',
      maxLoginAttempts: 'Max Login Attempts',
      requireDiscordVerification: 'Discord Verification Required',
      
      // Categories
      ucpSettings: 'UCP Settings',
      fivemConnection: 'FiveM Connection',
      discordIntegration: 'Discord Integration',
      apiKeyManagement: 'API Key Management',
      
      // Branding
      appearanceDesc: 'Customize the look of your panel',
      backgroundUrl: 'Background URL',
      preview: 'Preview',
      colorChangeNote: 'Color changes are automatically applied to the entire panel.',
      
      // Migrations
      migrations: 'Migrations',
      databaseMigrations: 'Database Migrations',
      migrationsDesc: 'Automatic database structure updates',
      runMigrations: 'Run Migrations',
      migrationsNeeded: 'Migrations needed',
      tablesMissing: 'tables missing',
      migrationsUpToDate: 'All up to date',
      tablesExist: 'tables exist',
      tableStatus: 'Table Status',
      migrationsInfo: 'Migrations run automatically on first dashboard access as superadmin. You can also trigger them manually here.',
    },
  },

  // Profile
  profile: {
    title: 'My Profile',
    editProfile: 'Edit Profile',
    avatar: 'Avatar',
    changeAvatar: 'Change Avatar',
    displayName: 'Display Name',
    email: 'Email Address',
    discordId: 'Discord ID',
    discordUsername: 'Discord Username',
    linkedAccounts: 'Linked Accounts',
    accountSettings: 'Account Settings',
    notifications: 'Notifications',
    privacy: 'Privacy',
    security: 'Security',
    memberSince: 'Member Since',
    lastActive: 'Last Active',
    preferences: 'Preferences',
    language: 'Language',
    timezone: 'Timezone',
    twoFactor: 'Two-Factor Authentication',
    sessions: 'Active Sessions',
  },

  // First Join / Server Connection
  firstJoin: {
    title: 'Server Connection Required',
    subtitle: 'Please connect to the FiveM server first',
    description: 'To use the User Control Panel, you must connect to the FiveM server at least once. This will link your Discord account with your player profile.',
    steps: {
      title: 'How to connect:',
      step1: 'Open FiveM on your computer',
      step2: 'Search for our server or use the direct connection',
      step3: 'Connect to the server and create a character',
      step4: 'Return here and refresh the page',
    },
    serverInfo: 'Server Information',
    serverAddress: 'Server Address',
    directConnect: 'Direct Connect',
    copyAddress: 'Copy Address',
    checkStatus: 'Check Status',
    checking: 'Checking...',
    retryCheck: 'Retry Check',
    needHelp: 'Need help?',
    joinDiscord: 'Join our Discord',
    alreadyConnected: 'Already connected? Reload the page.',
  },

  // Errors
  errors: {
    generic: 'An error occurred',
    notFound: 'Page not found',
    unauthorized: 'Unauthorized',
    forbidden: 'Access denied',
    serverError: 'Server error',
    networkError: 'Network error',
    timeout: 'Request timeout',
    invalidInput: 'Invalid input',
    requiredField: 'This field is required',
    invalidEmail: 'Invalid email address',
    invalidPassword: 'Invalid password',
    passwordMismatch: 'Passwords do not match',
    tryAgain: 'Please try again',
    contactSupport: 'Contact support if the problem persists',
  },

  // Time
  time: {
    now: 'Just now',
    minutesAgo: '{count} minute(s) ago',
    hoursAgo: '{count} hour(s) ago',
    daysAgo: '{count} day(s) ago',
    weeksAgo: '{count} week(s) ago',
    monthsAgo: '{count} month(s) ago',
    yearsAgo: '{count} year(s) ago',
    today: 'Today',
    yesterday: 'Yesterday',
    tomorrow: 'Tomorrow',
    thisWeek: 'This Week',
    lastWeek: 'Last Week',
    thisMonth: 'This Month',
    lastMonth: 'Last Month',
  },

  // Job Panels / Factions
  jobPanels: {
    title: 'Faction Management',
    subtitle: 'Manage your factions and their features',
    
    // Database Setup
    setupRequired: 'Database Setup Required',
    setupDescription: 'The Job Panel database needs to be initialized first. This process will create all necessary tables.',
    setupWillCreate: 'The following will be created:',
    initializing: 'Initializing...',
    initializeDatabase: 'Initialize Database',
    dbInitialized: 'Database initialized successfully!',
    loadError: 'Error loading factions.',
    
    // UI Labels
    refresh: 'Refresh',
    createNewPanel: 'Create New Panel',
    selectJobDesc: 'Select a job and configure the panel settings',
    chooseJob: 'Choose a job...',
    loadingJobs: 'Loading jobs...',
    allJobsHavePanels: 'All jobs already have panels',
    employeesCount: 'employees',
    panelNameLabel: 'Panel Name',
    panelNamePlaceholder: 'e.g., LSPD Panel, Medical Center',
    descriptionLabel: 'Description',
    descriptionPlaceholder: 'Optional description for this panel',
    enableFeatures: 'Enable Features',
    creating: 'Creating...',
    saving: 'Saving...',
    deleting: 'Deleting...',
    savedSuccess: 'Panel saved successfully!',
    deletedSuccess: 'Panel deleted successfully!',
    leaderAdded: 'Leader added successfully!',
    leaderRemoved: 'Leader removed!',
    panelNotFound: 'Panel Not Found',
    panelNotFoundDesc: 'The requested panel could not be found.',
    backToPanels: 'Back to Panels',
    loadingPanel: 'Loading panel...',
    active: 'Active',
    inactive: 'Inactive',
    panelStatus: 'Panel Status',
    generalSettings: 'General Settings',
    featureSettings: 'Feature Settings',
    webhookSettings: 'Webhook Settings',
    permissionSettings: 'Permission Settings',
    panelLeaders: 'Panel Leaders',
    addLeader: 'Add Leader',
    removeLeader: 'Remove Leader',
    noLeaders: 'No leaders assigned',
    searchUsers: 'Search users...',
    quickAccess: 'Quick Access',
    quickAccessDesc: 'Jump to enabled features',
    panelLeadersDesc: 'Users with access to manage this panel',
    addLeaderDesc: 'Select a user to assign as a leader of this panel',
    rankPermissions: 'Rank Permissions',
    factionWebhook: 'Faction Webhook',
    adminWebhook: 'Admin Webhook',
    webhookEnabled: 'Webhook Enabled',
    testWebhook: 'Test Webhook',
    dangerZone: 'Danger Zone',
    deleteWarning: 'Deleting this panel cannot be undone.',
    confirmDelete: 'Delete Panel Permanently',
    
    // Announcements
    announcements: {
      title: 'Announcements',
      description: 'Important messages for the faction',
      create: 'New Announcement',
      edit: 'Edit Announcement',
      delete: 'Delete Announcement',
      noAnnouncements: 'No announcements',
      titleLabel: 'Title',
      contentLabel: 'Content',
      priority: 'Priority',
      priorityLow: 'Low',
      priorityNormal: 'Normal',
      priorityHigh: 'Important',
      priorityUrgent: 'Urgent',
      minRank: 'Minimum Rank',
      allRanks: 'All Ranks',
      visibleFrom: 'Visible from',
      visibleUntil: 'Visible until',
      pinned: 'Pinned',
      pinDescription: 'Pin announcement (always on top)',
      immediately: 'Immediately',
      unlimited: 'Unlimited',
    },
    
    myPanels: 'My Factions',
    allPanels: 'All Factions',
    createPanel: 'Create Faction',
    editPanel: 'Edit Faction',
    deletePanel: 'Delete Faction',
    panelName: 'Faction Name',
    panelColor: 'Faction Color',
    panelLogo: 'Faction Logo',
    jobName: 'Job Name (FiveM)',
    selectJob: 'Select Job',
    noAccess: 'No Access',
    noAccessDesc: 'You do not have access to this faction.',
    noPanels: 'No Factions',
    noPanelsDesc: 'You are not a member of any faction.',
    features: 'Features',
    feature: 'Feature',
    enabledFeatures: 'Enabled Features',
    totalFactions: 'All Factions',
    activeFactions: 'Active',
    panelLeaders: 'Panel Leaders',
    totalEmployees: 'Employees',
    createFaction: 'Create Faction',
    refresh: 'Refresh',
    settings: 'Settings',
    members: 'Members',
    memberCount: '{count} member(s)',
    ranks: 'Ranks',
    grade: 'Grade',
    permissions: 'Permissions',
    
    // Permission Labels
    permissionLabels: {
      viewData: 'View Data',
      editRecords: 'Edit Records',
      createEntries: 'Create Entries',
      deleteEntries: 'Delete Entries',
      manageEmployees: 'Manage Employees',
      manageVehicles: 'Manage Vehicles',
      accessStorage: 'Access Storage',
      accessLogs: 'Access Logs',
      manageRanks: 'Manage Ranks',
      sendInvoices: 'Send Invoices',
    },
    
    // Panel actions
    confirmDelete: 'Do you really want to delete "{name}"? This action cannot be undone.',
    panelDeleted: 'Faction successfully deleted',
    
    // Features - Keys match API feature keys
    features: {
      criminal_records: 'Criminal Records / Files',
      criminal_records_desc: 'Create and manage criminal records',
      employee_management: 'Employee Management',
      employee_management_desc: 'Manage faction employees',
      rank_management: 'Rank Management',
      rank_management_desc: 'Configure rank permissions',
      vehicle_management: 'Vehicle Management',
      vehicle_management_desc: 'Track faction vehicles',
      inventory_access: 'Inventory Access',
      inventory_access_desc: 'View player inventories',
      dispatch_logs: 'Dispatch / Activity Logs',
      dispatch_logs_desc: 'Track faction activities',
      billing_invoices: 'Billing / Invoices',
      billing_invoices_desc: 'Create and manage invoices',
      storage_management: 'Storage Management',
      storage_management_desc: 'Manage faction storage',
      notes_system: 'Custom Notes System',
      notes_system_desc: 'Create internal notes',
      duty_tracking: 'Duty Tracking',
      duty_tracking_desc: 'Track employee duty time',
      live_overview: 'Live Activity Overview',
      live_overview_desc: 'Real-time faction status',
    },
    
    // Criminal Records
    records: {
      title: 'Criminal Records',
      search: 'Search person...',
      newRecord: 'New Record',
      editRecord: 'Edit Record',
      citizenId: 'Citizen ID',
      offenses: 'Offenses',
      fines: 'Fines',
      jailTime: 'Jail Time',
      notes: 'Notes',
      createdBy: 'Created by',
      wanted: 'Wanted',
      wantedLevel: 'Wanted Level',
      noRecords: 'No Criminal Records',
      addOffense: 'Add Offense',
      updated: 'Record updated!',
      deleted: 'Record deleted!',
      created: 'Record created!',
    },
    
    // Employees
    employees: {
      title: 'Employees',
      hire: 'Hire',
      fire: 'Fire',
      promote: 'Promote',
      demote: 'Demote',
      setRank: 'Set Rank',
      currentRank: 'Current Rank',
      hireDate: 'Hire Date',
      lastActive: 'Last Active',
      onDuty: 'On Duty',
      offDuty: 'Off Duty',
      bosses: 'Bosses',
      recruits: 'Recruits',
      noEmployees: 'No employees at this rank',
    },
    
    // Vehicles
    vehicles: {
      title: 'Vehicles',
      addVehicle: 'Add Vehicle',
      addDesc: 'Add a new vehicle to the fleet',
      assignVehicle: 'Assign Vehicle',
      plate: 'License Plate',
      model: 'Model',
      assignedTo: 'Assigned To',
      status: 'Status',
      available: 'Available',
      inUse: 'In Use',
      damaged: 'Damaged',
      impounded: 'Impounded',
      total: 'Total',
      fleet: 'Vehicle Fleet',
      registered: 'registered vehicles',
      noVehicles: 'No vehicles found',
      added: 'Vehicle added!',
      deleted: 'Vehicle removed!',
    },
    
    // Duty Tracking
    duty: {
      title: 'Duty Tracking',
      overview: 'Duty Overview',
      thisWeek: 'This Week',
      totalHours: 'Total Hours',
      avgHours: 'Average',
      weeklyHours: 'Weekly Hours',
      lastOnDuty: 'Last On Duty',
      status: 'Status',
    },
    
    // Billing
    billing: {
      title: 'Invoices',
      createInvoice: 'Create Invoice',
      createDesc: 'Create a new invoice for a citizen',
      amount: 'Amount',
      reason: 'Reason',
      pending: 'Pending',
      paid: 'Paid',
      cancelled: 'Cancelled',
      overdue: 'Overdue',
      total: 'Total',
      invoiceList: 'Invoice List',
      invoices: 'Invoices',
      noInvoices: 'No invoices available',
      created: 'Invoice created!',
      updated: 'Status updated!',
      deleted: 'Invoice deleted!',
    },
    
    // Live Overview
    liveOverview: {
      title: 'Live Overview',
      lastUpdated: 'Last updated',
      activeCallouts: 'Active Callouts',
      completedToday: 'Completed Today',
      dutyCapacity: 'Duty Capacity',
      capacity: 'Capacity',
      currentlyOnDuty: 'Currently On Duty',
      recentActivity: 'Recent Activity',
    },
    
    // Notes
    notes: {
      title: 'Notes',
      addNote: 'Create Note',
      addNoteDesc: 'Create a new internal note',
      category: 'Category',
      total: 'Notes',
      pinned: 'Pinned',
      allNotes: 'All Notes',
      noNotes: 'No notes available',
      added: 'Note created!',
      deleted: 'Note deleted!',
    },
    
    // Dispatch
    dispatch: {
      title: 'Dispatch Logs',
      createLog: 'Create Entry',
      createDesc: 'Add a new dispatch entry',
      type: 'Type',
      priority: 'Priority',
      low: 'Low',
      medium: 'Medium',
      high: 'High',
      critical: 'Critical',
      callout: 'Callout',
      patrol: 'Patrol',
      investigation: 'Investigation',
      transport: 'Transport',
      other: 'Other',
      today: 'Today',
      thisWeek: 'This Week',
      noLogs: 'No entries available',
      created: 'Entry created!',
      deleted: 'Entry deleted!',
    },
    
    // Storage
    storage: {
      title: 'Storage Management',
      addItem: 'Add Item',
      addDesc: 'Add a new item to storage',
      itemName: 'Item Name',
      quantity: 'Quantity',
      category: 'Category',
      weapons: 'Weapons',
      equipment: 'Equipment',
      medical: 'Medical',
      vehicles: 'Vehicles',
      evidence: 'Evidence',
      totalItems: 'Total Items',
      categories: 'Categories',
      lowStock: 'Low Stock',
      noItems: 'No items in storage',
      added: 'Item added!',
      updated: 'Stock updated!',
      removed: 'Item removed!',
    },
    
    // Rank Permissions
    rankPermissions: 'Rank Permissions',
    rankPermissionsDesc: 'Configure permissions per rank',
    permissionsDesc: 'Enable/disable permissions for each rank',
    rankInfo: 'Note',
    rankInfoDesc: 'Higher ranks automatically inherit permissions from lower ranks. Boss ranks have all permissions automatically.',
    
    // Webhooks
    webhooks: {
      title: 'Discord Webhooks',
      add: 'Add Webhook',
      test: 'Test',
      url: 'Webhook URL',
      events: 'Events',
      eventHire: 'Hire',
      eventFire: 'Fire',
      eventPromotion: 'Promotion',
      eventRecord: 'Criminal Record',
      testSuccess: 'Webhook tested successfully!',
      testFailed: 'Webhook test failed',
    },
  },

  // Footer
  footer: {
    version: 'Version',
    copyright: 'All rights reserved',
    privacyPolicy: 'Privacy Policy',
    termsOfService: 'Terms of Service',
    imprint: 'Imprint',
  },

  // Demo Mode
  demoMode: {
    title: 'Demo Mode',
    description: 'You are in demo mode. All data is simulated.',
    exit: 'Exit Demo',
  },

  // Player Accounts Admin
  playerAccounts: {
    title: 'Player Accounts',
    subtitle: 'Manage all player accounts from your game database',
    searchPlaceholder: 'Search by name, identifier...',
    showing: 'Showing',
    of: 'of',
    page: 'Page',
    player: 'Player',
    job: 'Job',
    money: 'Money',
    phone: 'Phone',
    actions: 'Actions',
    viewProfile: 'View',
    playerProfile: 'Player Profile',
    playerNotFound: 'Player not found',
    noPlayers: 'No players found',
    loadError: 'Failed to load players',
    
    // Profile
    overview: 'Overview',
    assets: 'Assets',
    notes: 'Notes',
    logs: 'Logs',
    totalWealth: 'Total Wealth',
    cash: 'Cash',
    bank: 'Bank',
    vehicles: 'Vehicles',
    properties: 'Properties',
    personalInfo: 'Personal Info',
    identifier: 'Identifier',
    dateOfBirth: 'Date of Birth',
    jobInfo: 'Job Info',
    rank: 'Rank',
    male: 'Male',
    female: 'Female',
    stored: 'Stored',
    out: 'Out',
    noVehicles: 'No vehicles',
    noProperties: 'No properties',
    
    // Notes
    addNote: 'Add Note',
    noteContent: 'Enter note content...',
    noteInfo: 'Info',
    noteWarning: 'Warning',
    notePositive: 'Positive',
    noteNegative: 'Negative',
    noteBanHistory: 'Ban History',
    save: 'Save',
    existingNotes: 'Existing Notes',
    noNotes: 'No notes yet',
    
    // Logs
    loginLogs: 'Login Logs',
    deathLogs: 'Death Logs',
    itemTransfers: 'Item Transfers',
    adminActions: 'Admin Actions',
    noLogs: 'No logs available',
    killedBy: 'Killed by',
  },
}
