<?php
/**
 * Language Extensions - English
 * This file contains additional translations for all frontend pages
 */

$lang_extensions_en = array(
    // File Management
    'file' => array(
        'title' => 'File Management',
        'current_path' => 'Current Path',
        'upload' => 'Upload File',
        'create_folder' => 'New Folder',
        'create_file' => 'New File',
        'file_name' => 'File Name',
        'file_size' => 'Size',
        'file_type' => 'Type',
        'modified_time' => 'Modified',
        'permissions' => 'Permissions',
        'actions' => 'Actions',
        'download' => 'Download',
        'rename' => 'Rename',
        'copy' => 'Copy',
        'move' => 'Move',
        'compress' => 'Compress',
        'extract' => 'Extract',
        'edit_file' => 'Edit',
        'view_file' => 'View',
        'delete_confirm' => 'Are you sure you want to delete?',
        'folder' => 'Folder',
        'file' => 'File',
        'back_parent' => 'Back to Parent',
        'select_all' => 'Select All',
        'batch_delete' => 'Batch Delete',
        'batch_download' => 'Batch Download',
        'search_files' => 'Search Files',
        'file_content_search' => 'Search File Content',
        'empty_folder' => 'Folder is empty',
        'upload_success' => 'Upload successful',
        'upload_failed' => 'Upload failed',
    ),
    
    // Backup Management
    'backup' => array(
        'title' => 'Backup Management',
        'create_backup' => 'Create Backup',
        'backup_list' => 'Backup List',
        'backup_name' => 'Backup Name',
        'backup_size' => 'Backup Size',
        'backup_time' => 'Backup Time',
        'backup_type' => 'Backup Type',
        'restore' => 'Restore',
        'download_backup' => 'Download Backup',
        'delete_backup' => 'Delete Backup',
        'website_backup' => 'Website Backup',
        'database_backup' => 'Database Backup',
        'full_backup' => 'Full Backup',
        'creating' => 'Creating...',
        'backup_success' => 'Backup successful',
        'backup_failed' => 'Backup failed',
        'restore_success' => 'Restore successful',
        'restore_failed' => 'Restore failed',
        'auto_backup' => 'Auto Backup',
        'manual_backup' => 'Manual Backup',
    ),
    
    // Traffic Statistics
    'traffic' => array(
        'title' => 'Traffic Statistics',
        'today_traffic' => 'Today Traffic',
        'week_traffic' => 'This Week',
        'month_traffic' => 'This Month',
        'total_traffic' => 'Total Traffic',
        'traffic_chart' => 'Traffic Chart',
        'daily_stats' => 'Daily Statistics',
        'date' => 'Date',
        'traffic' => 'Traffic',
        'requests' => 'Requests',
        'avg_bandwidth' => 'Avg Bandwidth',
        'peak_bandwidth' => 'Peak Bandwidth',
        'traffic_limit' => 'Traffic Limit',
        'traffic_usage' => 'Traffic Usage',
        'remaining_traffic' => 'Remaining Traffic',
    ),
    
    // Cron Jobs
    'cron' => array(
        'title' => 'Cron Jobs',
        'task_list' => 'Task List',
        'add_task' => 'Add Task',
        'task_name' => 'Task Name',
        'execution_cycle' => 'Execution Cycle',
        'script_content' => 'Script Content',
        'last_execution' => 'Last Execution',
        'next_execution' => 'Next Execution',
        'task_status' => 'Status',
        'enabled' => 'Enabled',
        'disabled' => 'Disabled',
        'enable' => 'Enable',
        'disable' => 'Disable',
        'execute_now' => 'Execute Now',
        'execution_log' => 'Execution Log',
        'every_minute' => 'Every Minute',
        'every_hour' => 'Every Hour',
        'every_day' => 'Every Day',
        'every_week' => 'Every Week',
        'every_month' => 'Every Month',
        'custom' => 'Custom',
    ),
    
    // Orders
    'order' => array(
        'title' => 'Order History',
        'order_no' => 'Order No.',
        'order_type' => 'Order Type',
        'amount' => 'Amount',
        'order_status' => 'Status',
        'create_time' => 'Create Time',
        'pay_time' => 'Pay Time',
        'payment_method' => 'Payment Method',
        'pending' => 'Pending',
        'paid' => 'Paid',
        'cancelled' => 'Cancelled',
        'refunded' => 'Refunded',
        'view_detail' => 'View Detail',
        'pay_now' => 'Pay Now',
        'cancel_order' => 'Cancel Order',
        'order_detail' => 'Order Detail',
        'recharge' => 'Recharge',
        'renewal' => 'Renewal',
        'upgrade' => 'Upgrade',
    ),
    
    // Payment
    'payment' => array(
        'title' => 'Recharge Center',
        'balance' => 'Balance',
        'recharge_amount' => 'Recharge Amount',
        'payment_method' => 'Payment Method',
        'alipay' => 'Alipay',
        'wechat' => 'WeChat Pay',
        'bank_card' => 'Bank Card',
        'please_select_amount' => 'Please select amount',
        'custom_amount' => 'Custom Amount',
        'submit_payment' => 'Submit Payment',
        'payment_success' => 'Payment Successful',
        'payment_failed' => 'Payment Failed',
        'payment_cancelled' => 'Payment Cancelled',
        'recharge_history' => 'Recharge History',
        'current_balance' => 'Current Balance',
    ),
    
    // FTP Settings
    'ftp' => array(
        'title' => 'FTP Settings',
        'ftp_account' => 'FTP Account',
        'ftp_password' => 'FTP Password',
        'ftp_port' => 'FTP Port',
        'ftp_host' => 'FTP Host',
        'root_directory' => 'Root Directory',
        'status' => 'Status',
        'modify_password' => 'Modify Password',
        'reset_password' => 'Reset Password',
        'connection_info' => 'Connection Info',
        'passive_mode' => 'Passive Mode',
        'active' => 'Active',
        'inactive' => 'Inactive',
    ),
    
    // SQL Management
    'sql' => array(
        'title' => 'SQL Management',
        'database_name' => 'Database Name',
        'database_user' => 'Database User',
        'database_password' => 'Database Password',
        'database_host' => 'Database Host',
        'database_port' => 'Database Port',
        'database_size' => 'Database Size',
        'table_count' => 'Table Count',
        'phpmyadmin' => 'phpMyAdmin',
        'import_sql' => 'Import SQL',
        'export_sql' => 'Export SQL',
        'optimize_database' => 'Optimize Database',
        'repair_database' => 'Repair Database',
        'database_backup' => 'Database Backup',
    ),
    
    // SSL Certificate
    'ssl' => array(
        'title' => 'SSL Certificate',
        'ssl_status' => 'SSL Status',
        'certificate' => 'Certificate',
        'private_key' => 'Private Key',
        'certificate_chain' => 'Certificate Chain',
        'issue_date' => 'Issue Date',
        'expiry_date' => 'Expiry Date',
        'days_remaining' => 'Days Remaining',
        'enable_ssl' => 'Enable SSL',
        'disable_ssl' => 'Disable SSL',
        'force_https' => 'Force HTTPS',
        'auto_renew' => 'Auto Renew',
        'apply_certificate' => 'Apply Certificate',
        'upload_certificate' => 'Upload Certificate',
        'free_certificate' => 'Free Certificate',
        'paid_certificate' => 'Paid Certificate',
    ),
    
    // Form Common
    'form' => array(
        'required_field' => 'Required',
        'optional_field' => 'Optional',
        'please_input' => 'Please input',
        'please_select' => 'Please select',
        'please_upload' => 'Please upload',
        'input_error' => 'Input error',
        'format_error' => 'Format error',
        'save_success' => 'Save successful',
        'save_failed' => 'Save failed',
        'update_success' => 'Update successful',
        'update_failed' => 'Update failed',
        'delete_success' => 'Delete successful',
        'delete_failed' => 'Delete failed',
        'operation_success' => 'Operation successful',
        'operation_failed' => 'Operation failed',
        'confirm_operation' => 'Confirm Operation',
        'cancel_operation' => 'Cancel Operation',
        'new' => 'New',
        'old' => 'Old',
    ),
    
    // DateTime
    'datetime' => array(
        'year' => 'Year',
        'month' => 'Month',
        'day' => 'Day',
        'hour' => 'Hour',
        'minute' => 'Minute',
        'second' => 'Second',
        'today' => 'Today',
        'yesterday' => 'Yesterday',
        'this_week' => 'This Week',
        'this_month' => 'This Month',
        'this_year' => 'This Year',
        'custom_time' => 'Custom Time',
    ),
);

// Merge into main language array
foreach ($lang_extensions_en as $category => $translations) {
    if (isset($lang[$category])) {
        $lang[$category] = array_merge($lang[$category], $translations);
    } else {
        $lang[$category] = $translations;
    }
}
?>
