<?php

return [
    // ==================
    // General Keys
    // ==================
    'system_name' => 'Manufacturing System',
    'system_description' => 'Comprehensive Manufacturing Management and Control System',

    // ==================
    // Production Orders
    // ==================
    'orders' => [
        'title' => 'Production Orders',
        'description' => 'Manage and control production orders',
        'order_number' => 'Order Number',
        'product' => 'Product',
        'quantity' => 'Quantity',
        'unit' => 'Unit',
        'start_date' => 'Start Date',
        'deadline' => 'Deadline',
        'status' => 'Status',
        'progress' => 'Progress',
        'notes' => 'Notes',
        'assigned_to' => 'Assigned To',
        'create_order' => 'Create New Production Order',
        'edit_order' => 'Edit Production Order',
        'delete_order' => 'Delete Production Order',
        'view_details' => 'View Details',
        'order_details' => 'Order Details',
        'order_items' => 'Order Items',
        'no_items' => 'No Items',
        'start_production' => 'Start Production',
        'complete_order' => 'Complete Order',
    ],

    // ==================
    // Production Plans
    // ==================
    'plans' => [
        'title' => 'Production Plans',
        'description' => 'Strategic production planning',
        'plan_name' => 'Plan Name',
        'plan_period' => 'Plan Period',
        'start_date' => 'Start Date',
        'end_date' => 'End Date',
        'total_capacity' => 'Total Capacity',
        'allocated_capacity' => 'Allocated Capacity',
        'available_capacity' => 'Available Capacity',
        'status' => 'Plan Status',
        'create_plan' => 'Create New Production Plan',
        'edit_plan' => 'Edit Plan',
        'start_plan' => 'Start Plan',
        'pause_plan' => 'Pause Plan',
        'resume_plan' => 'Resume Plan',
        'complete_plan' => 'Complete Plan',
        'plan_details' => 'Plan Details',
    ],

    // ==================
    // Bill of Materials
    // ==================
    'bom' => [
        'title' => 'Bill of Materials',
        'description' => 'Manage product structure and components',
        'bom_name' => 'BOM Name',
        'product' => 'Product',
        'version' => 'Version',
        'status' => 'Status',
        'components' => 'Components',
        'component_code' => 'Component Code',
        'component_name' => 'Component Name',
        'quantity' => 'Required Quantity',
        'unit' => 'Unit',
        'create_bom' => 'Create New Bill of Materials',
        'edit_bom' => 'Edit BOM',
        'duplicate_bom' => 'Duplicate BOM',
        'approve_bom' => 'Approve BOM',
        'reject_bom' => 'Reject BOM',
        'bom_details' => 'BOM Details',
    ],

    // ==================
    // Production Lines
    // ==================
    'lines' => [
        'title' => 'Production Lines',
        'description' => 'Manage production lines and stations',
        'line_name' => 'Line Name',
        'line_code' => 'Line Code',
        'capacity' => 'Production Capacity',
        'status' => 'Line Status',
        'manager' => 'Line Manager',
        'location' => 'Location',
        'equipment' => 'Equipment',
        'create_line' => 'Create New Production Line',
        'edit_line' => 'Edit Line',
        'activate_line' => 'Activate Line',
        'deactivate_line' => 'Deactivate Line',
        'line_details' => 'Line Details',
    ],

    // ==================
    // Quality Control
    // ==================
    'quality' => [
        'title' => 'Quality Control',
        'description' => 'Monitor and inspect production quality',
        'test_name' => 'Test Name',
        'test_type' => 'Test Type',
        'standard' => 'Standard',
        'result' => 'Result',
        'passed' => 'Passed',
        'failed' => 'Failed',
        'status' => 'Test Status',
        'create_test' => 'Create New Quality Test',
        'approve_test' => 'Approve Test',
        'reject_test' => 'Reject Test',
        'defect_rate' => 'Defect Rate',
        'quality_details' => 'Test Details',
    ],

    // ==================
    // Production Schedules
    // ==================
    'schedules' => [
        'title' => 'Production Schedules',
        'description' => 'Timelines for production lines',
        'schedule_date' => 'Schedule Date',
        'production_line' => 'Production Line',
        'order' => 'Production Order',
        'start_time' => 'Start Time',
        'end_time' => 'End Time',
        'status' => 'Status',
        'duration' => 'Duration',
        'generate_schedule' => 'Generate Schedule',
        'view_timeline' => 'View Timeline',
        'schedule_details' => 'Schedule Details',
    ],

    // ==================
    // Raw Materials
    // ==================
    'raw_materials' => [
        'title' => 'Raw Materials',
        'description' => 'Manage raw materials and inventory',
        'material_code' => 'Material Code',
        'material_name' => 'Material Name',
        'supplier' => 'Supplier',
        'quantity' => 'Quantity',
        'unit_cost' => 'Unit Cost',
        'reorder_level' => 'Reorder Level',
        'status' => 'Status',
        'create_material' => 'Add New Raw Material',
        'edit_material' => 'Edit Material',
        'material_details' => 'Material Details',
    ],

    // ==================
    // Manufacturing Centers
    // ==================
    'centers' => [
        'title' => 'Manufacturing Centers',
        'description' => 'Manage manufacturing centers and workshops',
        'center_name' => 'Center Name',
        'center_code' => 'Center Code',
        'location' => 'Location',
        'capacity' => 'Capacity',
        'status' => 'Status',
        'manager' => 'Manager',
        'equipment' => 'Equipment',
        'create_center' => 'Create New Manufacturing Center',
        'center_details' => 'Center Details',
    ],

    // ==================
    // Production Operations
    // ==================
    'operations' => [
        'title' => 'Production Operations',
        'description' => 'Sequence of operations and production steps',
        'operation_name' => 'Operation Name',
        'sequence' => 'Sequence',
        'production_line' => 'Production Line',
        'duration' => 'Duration',
        'status' => 'Status',
        'assigned_to' => 'Assigned To',
        'create_operation' => 'Create New Operation',
        'operation_details' => 'Operation Details',
    ],

    // ==================
    // Labor Allocations
    // ==================
    'labor' => [
        'title' => 'Labor Allocations',
        'description' => 'Distribute workers to operations',
        'employee' => 'Employee',
        'operation' => 'Operation',
        'hours' => 'Working Hours',
        'rate' => 'Hourly Rate',
        'total_cost' => 'Total Cost',
        'status' => 'Status',
        'create_allocation' => 'Create New Allocation',
    ],

    // ==================
    // Work Stations
    // ==================
    'stations' => [
        'title' => 'Work Stations',
        'description' => 'Manage work stations and machines',
        'station_name' => 'Station Name',
        'station_code' => 'Station Code',
        'type' => 'Type',
        'capacity' => 'Capacity',
        'status' => 'Status',
        'maintenance_date' => 'Maintenance Date',
        'create_station' => 'Create New Work Station',
    ],

    // ==================
    // Reports
    // ==================
    'reports' => [
        'title' => 'Production Reports',
        'description' => 'Reports and statistics',
        'production_summary' => 'Production Summary',
        'cost_analysis' => 'Cost Analysis',
        'quality_report' => 'Quality Report',
        'schedule_report' => 'Schedule Report',
        'efficiency' => 'Production Efficiency',
        'date_range' => 'Date Range',
        'generate_report' => 'Generate Report',
        'export_pdf' => 'Export PDF',
        'export_excel' => 'Export Excel',
    ],

    // ==================
    // Status Messages
    // ==================
    'status' => [
        'pending' => 'Pending',
        'in_progress' => 'In Progress',
        'completed' => 'Completed',
        'cancelled' => 'Cancelled',
        'on_hold' => 'On Hold',
        'approved' => 'Approved',
        'rejected' => 'Rejected',
        'paused' => 'Paused',
        'resumed' => 'Resumed',
        'draft' => 'Draft',
        'active' => 'Active',
        'inactive' => 'Inactive',
    ],

    // ==================
    // Actions
    // ==================
    'actions' => [
        'create' => 'Create',
        'edit' => 'Edit',
        'delete' => 'Delete',
        'view' => 'View',
        'approve' => 'Approve',
        'reject' => 'Reject',
        'start' => 'Start',
        'pause' => 'Pause',
        'resume' => 'Resume',
        'complete' => 'Complete',
        'cancel' => 'Cancel',
        'export' => 'Export',
        'import' => 'Import',
        'print' => 'Print',
        'download' => 'Download',
        'add' => 'Add',
        'remove' => 'Remove',
        'save' => 'Save',
        'back' => 'Back',
    ],

    // ==================
    // Success Messages
    // ==================
    'messages' => [
        'production_order' => [
            'created' => 'Production order created successfully',
            'updated' => 'Production order updated successfully',
            'deleted' => 'Production order deleted successfully',
            'started' => 'Production order started successfully',
            'completed' => 'Production order completed successfully',
            'cancelled' => 'Production order cancelled successfully',
            'not_found' => 'Production order not found',
            'unauthorized' => 'You are not authorized to perform this action',
        ],
        'production_plan' => [
            'created' => 'Production plan created successfully',
            'updated' => 'Production plan updated successfully',
            'deleted' => 'Production plan deleted successfully',
            'started' => 'Production plan started successfully',
            'paused' => 'Production plan paused temporarily',
            'resumed' => 'Production plan resumed successfully',
            'completed' => 'Production plan completed successfully',
        ],
        'bom' => [
            'created' => 'Bill of Materials created successfully',
            'updated' => 'Bill of Materials updated successfully',
            'deleted' => 'Bill of Materials deleted successfully',
            'duplicated' => 'Bill of Materials duplicated successfully',
            'approved' => 'Bill of Materials approved successfully',
            'rejected' => 'Bill of Materials rejected',
        ],
        'quality_control' => [
            'created' => 'Quality test created successfully',
            'updated' => 'Quality test updated successfully',
            'approved' => 'Quality test approved',
            'rejected' => 'Quality test rejected',
        ],
        'general' => [
            'created' => 'Created successfully',
            'updated' => 'Updated successfully',
            'deleted' => 'Deleted successfully',
            'approved' => 'Approved successfully',
            'rejected' => 'Rejected successfully',
        ],
    ],

    // ==================
    // Error Messages
    // ==================
    'errors' => [
        'not_found' => 'Record not found',
        'unauthorized' => 'You are not authorized to perform this action',
        'validation_failed' => 'Data validation failed',
        'something_wrong' => 'Something went wrong',
        'invalid_action' => 'Invalid action',
        'duplicate_entry' => 'This record already exists',
        'cannot_delete' => 'This record cannot be deleted',
        'cannot_edit' => 'This record cannot be edited',
    ],

    // ==================
    // Warnings
    // ==================
    'warnings' => [
        'confirm_delete' => 'Are you sure you want to delete?',
        'unsaved_changes' => 'You have unsaved changes',
        'no_data' => 'No data available',
        'insufficient_capacity' => 'Insufficient production capacity',
        'low_inventory' => 'Low inventory',
    ],

    // ==================
    // Common Fields
    // ==================
    'fields' => [
        'name' => 'Name',
        'code' => 'Code',
        'description' => 'Description',
        'status' => 'Status',
        'date' => 'Date',
        'quantity' => 'Quantity',
        'unit' => 'Unit',
        'price' => 'Price',
        'total' => 'Total',
        'notes' => 'Notes',
        'created_at' => 'Created At',
        'updated_at' => 'Updated At',
        'created_by' => 'Created By',
        'updated_by' => 'Updated By',
    ],

    // ==================
    // UI Elements
    // ==================
    'ui' => [
        'dashboard' => 'Dashboard',
        'sidebar' => 'Sidebar',
        'header' => 'Header',
        'footer' => 'Footer',
        'search' => 'Search',
        'filter' => 'Filter',
        'sort' => 'Sort',
        'pagination' => 'Pagination',
        'table' => 'Table',
        'form' => 'Form',
        'modal' => 'Dialog',
        'button' => 'Button',
    ],

];
