translate base
This commit is contained in:
59
lang/en/enums.php
Normal file
59
lang/en/enums.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'gender' => [
|
||||
'male' => 'Male',
|
||||
'female' => 'Female',
|
||||
'other' => 'Other',
|
||||
],
|
||||
|
||||
'employment_status' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
'terminated' => 'Terminated',
|
||||
'on_leave' => 'On Leave',
|
||||
],
|
||||
|
||||
'vacation_type' => [
|
||||
'annual' => 'Annual',
|
||||
'marriage' => 'Marriage',
|
||||
'study' => 'Study',
|
||||
'other' => 'Other',
|
||||
],
|
||||
|
||||
'approval_status' => [
|
||||
'pending' => 'Pending',
|
||||
'approved' => 'Approved',
|
||||
'rejected' => 'Rejected',
|
||||
],
|
||||
|
||||
'document_type' => [
|
||||
'passport' => 'Passport',
|
||||
'contract' => 'Contract',
|
||||
'medical_certificate' => 'Medical Certificate',
|
||||
'education_certificate' => 'Education Certificate',
|
||||
'other' => 'Other',
|
||||
],
|
||||
|
||||
'bonus_type' => [
|
||||
'performance' => 'Performance',
|
||||
'holiday' => 'Holiday',
|
||||
'retention' => 'Retention',
|
||||
'other' => 'Other',
|
||||
],
|
||||
|
||||
'disciplinary_severity' => [
|
||||
'low' => 'Low',
|
||||
'medium' => 'Medium',
|
||||
'high' => 'High',
|
||||
],
|
||||
|
||||
'import_type' => [
|
||||
'employees' => 'Employees',
|
||||
'vacations' => 'Vacations',
|
||||
'bonuses' => 'Bonuses',
|
||||
'reports' => 'Disciplinary Reports',
|
||||
],
|
||||
];
|
||||
51
lang/en/exports.php
Normal file
51
lang/en/exports.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'employee_list' => [
|
||||
'title' => 'Employee List',
|
||||
'heading' => 'Employee Directory',
|
||||
'generated' => 'Generated',
|
||||
'number' => '#',
|
||||
'name' => 'Name',
|
||||
'department' => 'Department',
|
||||
'position' => 'Position',
|
||||
'shift' => 'Shift',
|
||||
'status' => 'Status',
|
||||
'phone' => 'Phone',
|
||||
],
|
||||
|
||||
'employee_profile' => [
|
||||
'title' => 'Employee Profile — :name',
|
||||
'department' => 'Department',
|
||||
'position' => 'Position',
|
||||
'shift' => 'Shift',
|
||||
'status' => 'Status',
|
||||
'phone' => 'Phone',
|
||||
'hire_date' => 'Hire Date',
|
||||
'termination' => 'Termination',
|
||||
'vacation_taken' => 'Vacation Taken',
|
||||
'remaining' => 'Remaining',
|
||||
'sick_leaves' => 'Sick Leaves',
|
||||
'reports' => 'Reports',
|
||||
],
|
||||
|
||||
'leave_summary' => [
|
||||
'title' => 'Leave Summary — :name',
|
||||
'heading' => 'Leave Summary',
|
||||
'annual_taken' => 'Annual taken',
|
||||
'remaining' => 'Remaining',
|
||||
'sick_leaves' => 'Sick leaves',
|
||||
'vacations' => 'Vacations',
|
||||
'sick_leaves_heading' => 'Sick Leaves',
|
||||
'start' => 'Start',
|
||||
'end' => 'End',
|
||||
'days' => 'Days',
|
||||
'type' => 'Type',
|
||||
'status' => 'Status',
|
||||
'institution' => 'Institution',
|
||||
'no_vacation_records' => 'No vacation records.',
|
||||
'no_sick_leave_records' => 'No sick leave records.',
|
||||
],
|
||||
];
|
||||
248
lang/en/hr.php
Normal file
248
lang/en/hr.php
Normal file
@@ -0,0 +1,248 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'navigation' => [
|
||||
'organization' => 'Organization',
|
||||
'employees' => 'Employees',
|
||||
'leave_management' => 'Leave Management',
|
||||
'records' => 'Records',
|
||||
'system' => 'System',
|
||||
],
|
||||
|
||||
'resources' => [
|
||||
'audit_log' => 'Audit Log',
|
||||
'activity_log' => 'Activity Log',
|
||||
'activity_logs' => 'Activity Logs',
|
||||
'import_wizard' => 'Import Wizard',
|
||||
'department' => 'Department',
|
||||
'departments' => 'Departments',
|
||||
'position' => 'Position',
|
||||
'positions' => 'Positions',
|
||||
'shift' => 'Shift',
|
||||
'shifts' => 'Shifts',
|
||||
'employee' => 'Employee',
|
||||
'employees' => 'Employees',
|
||||
'vacation' => 'Vacation',
|
||||
'vacations' => 'Vacations',
|
||||
'sick_leave' => 'Sick Leave',
|
||||
'sick_leaves' => 'Sick Leaves',
|
||||
'unpaid_leave' => 'Unpaid Leave',
|
||||
'unpaid_leaves' => 'Unpaid Leaves',
|
||||
'disciplinary_report' => 'Disciplinary Report',
|
||||
'disciplinary_reports' => 'Disciplinary Reports',
|
||||
'explanation' => 'Explanation',
|
||||
'explanations' => 'Explanations',
|
||||
'bonus' => 'Bonus',
|
||||
'bonuses' => 'Bonuses',
|
||||
'gift' => 'Gift',
|
||||
'gifts' => 'Gifts',
|
||||
'employee_document' => 'Employee Document',
|
||||
'employee_documents' => 'Employee Documents',
|
||||
'user' => 'User',
|
||||
'users' => 'Users',
|
||||
],
|
||||
|
||||
'fields' => [
|
||||
'photo' => 'Photo',
|
||||
'employee_number' => 'Employee Number',
|
||||
'full_name' => 'Full Name',
|
||||
'national_id' => 'National ID',
|
||||
'gender' => 'Gender',
|
||||
'birth_date' => 'Birth Date',
|
||||
'phone' => 'Phone',
|
||||
'address' => 'Address',
|
||||
'department' => 'Department',
|
||||
'department_for_managers' => 'Department (for managers)',
|
||||
'position' => 'Position',
|
||||
'shift' => 'Shift',
|
||||
'employment_status' => 'Employment Status',
|
||||
'status' => 'Status',
|
||||
'hire_date' => 'Hire Date',
|
||||
'termination_date' => 'Termination Date',
|
||||
'notes' => 'Notes',
|
||||
'email_address' => 'Email address',
|
||||
'locale' => 'Language',
|
||||
'number' => 'Number',
|
||||
'name' => 'Name',
|
||||
'employee' => 'Employee',
|
||||
'type' => 'Type',
|
||||
'attachment' => 'Attachment',
|
||||
'document' => 'Document',
|
||||
'medical_document' => 'Medical Document',
|
||||
'return_date' => 'Return Date',
|
||||
'approved_by' => 'Approved By',
|
||||
'created_by' => 'Created By',
|
||||
'gift_name' => 'Gift Name',
|
||||
'gift' => 'Gift',
|
||||
'active' => 'Active',
|
||||
'starts_at' => 'Starts at',
|
||||
'ends_at' => 'Ends at',
|
||||
'starts' => 'Starts',
|
||||
'ends' => 'Ends',
|
||||
'days' => 'Days',
|
||||
'birthday' => 'Birthday',
|
||||
'download' => 'Download',
|
||||
'date' => 'Date',
|
||||
'subject_type' => 'Subject Type',
|
||||
'subject_id' => 'Subject ID',
|
||||
'causer' => 'Causer',
|
||||
'log_name' => 'Log Name',
|
||||
'changes' => 'Changes',
|
||||
'previous_values' => 'Previous Values',
|
||||
'date_range' => 'Date Range',
|
||||
'start_from' => 'Start from',
|
||||
'start_until' => 'Start until',
|
||||
'from' => 'From',
|
||||
'until' => 'Until',
|
||||
'tenure' => 'Tenure',
|
||||
'vacation_taken_days' => 'Vacation Taken (days)',
|
||||
'vacation_remaining_days' => 'Vacation Remaining (days)',
|
||||
'sick_leave_records' => 'Sick Leave Records',
|
||||
'disciplinary_reports' => 'Disciplinary Reports',
|
||||
'total_bonuses' => 'Total Bonuses',
|
||||
'gifts_received' => 'Gifts Received',
|
||||
'days_taken' => 'Days Taken',
|
||||
'days_remaining' => 'Days Remaining',
|
||||
'annual_allowance' => 'Annual Allowance',
|
||||
'scheduled_vacations' => 'Scheduled Vacations',
|
||||
'unpaid_leave_records' => 'Unpaid Leave Records',
|
||||
'explanations' => 'Explanations',
|
||||
'title' => 'Title',
|
||||
'description' => 'Description',
|
||||
'severity' => 'Severity',
|
||||
'amount' => 'Amount',
|
||||
'reason' => 'Reason',
|
||||
'bonus_date' => 'Bonus Date',
|
||||
'bonus_type' => 'Bonus Type',
|
||||
'report_date' => 'Report Date',
|
||||
'start_date' => 'Start Date',
|
||||
'end_date' => 'End Date',
|
||||
'institution' => 'Institution',
|
||||
],
|
||||
|
||||
'tabs' => [
|
||||
'personal' => 'Personal',
|
||||
'employment' => 'Employment',
|
||||
'employee' => 'Employee',
|
||||
],
|
||||
|
||||
'sections' => [
|
||||
'employee_details' => 'Employee Details',
|
||||
'overview' => 'Overview',
|
||||
'profile' => 'Profile',
|
||||
'employment_timeline' => 'Employment Timeline',
|
||||
'statistics' => 'Statistics',
|
||||
'leave_attendance' => 'Leave & Attendance',
|
||||
'hr_records' => 'HR Records',
|
||||
'leave_summary' => 'Leave Summary',
|
||||
'annual_leave_balance' => 'Annual Leave Balance',
|
||||
'upcoming_approved_leave' => 'Upcoming Approved Leave',
|
||||
'other_leave_types' => 'Other Leave Types',
|
||||
'activity_details' => 'Activity Details',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'no_upcoming_approved_leave' => 'No upcoming approved leave',
|
||||
'days_suffix' => 'days',
|
||||
],
|
||||
|
||||
'filters' => [
|
||||
'all_shifts' => 'All shifts',
|
||||
'all_departments' => 'All departments',
|
||||
],
|
||||
|
||||
'audit' => [
|
||||
'employee' => 'Employee',
|
||||
'vacation' => 'Vacation',
|
||||
'bonus' => 'Bonus',
|
||||
'disciplinary_report' => 'Disciplinary Report',
|
||||
'department' => 'Department',
|
||||
'user' => 'User',
|
||||
],
|
||||
|
||||
'widgets' => [
|
||||
'hr_overview' => 'HR Overview',
|
||||
'upcoming_birthdays' => 'Upcoming Birthdays (30 Days)',
|
||||
'upcoming_leave' => 'Upcoming Approved Leave (14 Days)',
|
||||
'recent_disciplinary_reports' => 'Recent Disciplinary Reports',
|
||||
'monthly_hiring' => 'Monthly Hiring (Last 12 Months)',
|
||||
'vacation_days_by_month' => 'Vacation Days by Month',
|
||||
'employees_by_department' => 'Employees by Department',
|
||||
'new_hires' => 'New Hires',
|
||||
'vacation_days' => 'Vacation Days',
|
||||
'employees' => 'Employees',
|
||||
],
|
||||
|
||||
'stats' => [
|
||||
'total_employees' => 'Total Employees',
|
||||
'total_employees_desc' => 'All employees in the system',
|
||||
'active' => 'Active',
|
||||
'active_desc' => 'Currently active employees',
|
||||
'inactive' => 'Inactive',
|
||||
'inactive_desc' => 'Inactive employees',
|
||||
'on_vacation_today' => 'On Vacation Today',
|
||||
'on_vacation_today_desc' => 'Approved vacations in progress',
|
||||
'on_sick_leave_today' => 'On Sick Leave Today',
|
||||
'on_sick_leave_today_desc' => 'Employees on sick leave',
|
||||
'pending_requests' => 'Pending Requests',
|
||||
'pending_requests_desc' => 'Vacation requests awaiting approval',
|
||||
],
|
||||
|
||||
'actions' => [
|
||||
'export' => 'Export',
|
||||
'export_selected' => 'Export Selected',
|
||||
'export_pdf' => 'Export PDF',
|
||||
'leave_summary_pdf' => 'Leave Summary PDF',
|
||||
'approve' => 'Approve',
|
||||
'reject' => 'Reject',
|
||||
'change_department' => 'Change Department',
|
||||
'download' => 'Download',
|
||||
],
|
||||
|
||||
'relation_managers' => [
|
||||
'sick_leaves' => 'Sick Leaves',
|
||||
'vacations' => 'Vacations',
|
||||
'unpaid_leaves' => 'Unpaid Leaves',
|
||||
'disciplinary_reports' => 'Disciplinary Reports',
|
||||
'explanations' => 'Explanations',
|
||||
'bonuses' => 'Bonuses',
|
||||
'gifts' => 'Gifts',
|
||||
'employee_documents' => 'Employee Documents',
|
||||
],
|
||||
|
||||
'import' => [
|
||||
'title' => 'Import Wizard',
|
||||
'import_type' => 'Import Type',
|
||||
'excel_file' => 'Excel File',
|
||||
'preview' => 'Preview',
|
||||
'import_results' => 'Import Results',
|
||||
'start_import' => 'Start Import',
|
||||
'upload' => 'Upload',
|
||||
'upload_description' => 'Select import type and upload an Excel file',
|
||||
'map_columns' => 'Map Columns',
|
||||
'map_columns_description' => 'Match spreadsheet columns to system fields',
|
||||
'column_mapping' => 'Column Mapping',
|
||||
'preview_step' => 'Preview',
|
||||
'preview_description' => 'Review the first 10 rows with validation',
|
||||
'import_step' => 'Import',
|
||||
'import_description' => 'Run the import and review results',
|
||||
'upload_required_title' => 'Upload required',
|
||||
'upload_required_body' => 'Please upload an Excel file before importing.',
|
||||
'import_queued_title' => 'Import queued',
|
||||
'import_queued_body' => 'Your import has been queued and will be processed shortly.',
|
||||
'mapping_hint' => 'Upload a file in step 1 to load column headers.',
|
||||
'upload_to_preview' => 'Upload a file to preview rows.',
|
||||
'no_rows' => 'No rows found in the uploaded file.',
|
||||
'submit_to_see_results' => 'Submit the import to see results here after processing completes.',
|
||||
'row' => 'Row',
|
||||
'validation' => 'Validation',
|
||||
'valid' => 'Valid',
|
||||
'total_rows' => 'Total rows',
|
||||
'imported' => 'Imported',
|
||||
'skipped_duplicates' => 'Skipped (duplicates)',
|
||||
'failed' => 'Failed',
|
||||
'errors' => 'Errors',
|
||||
],
|
||||
];
|
||||
35
lang/en/notifications.php
Normal file
35
lang/en/notifications.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'vacation_approved' => [
|
||||
'subject' => 'Vacation Request Approved',
|
||||
'line_approved' => 'The vacation request for :name has been approved.',
|
||||
'type' => 'Type',
|
||||
'dates' => 'Dates',
|
||||
'days' => 'Days',
|
||||
],
|
||||
|
||||
'vacation_submitted' => [
|
||||
'subject' => 'New Vacation Request Submitted',
|
||||
'line_submitted' => 'A new vacation request has been submitted for :name.',
|
||||
'type' => 'Type',
|
||||
'dates' => 'Dates',
|
||||
'days' => 'Days',
|
||||
],
|
||||
|
||||
'disciplinary_report_created' => [
|
||||
'subject' => 'New Disciplinary Report Created',
|
||||
'line_created' => 'A new disciplinary report has been created for :name.',
|
||||
'title' => 'Title',
|
||||
'severity' => 'Severity',
|
||||
'date' => 'Date',
|
||||
],
|
||||
|
||||
'employee_terminated' => [
|
||||
'subject' => 'Employee Terminated',
|
||||
'line_terminated' => ':name (:number) has been terminated.',
|
||||
'termination_date' => 'Termination date',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user