147 lines
6.4 KiB
PHP
147 lines
6.4 KiB
PHP
<?php
|
|
|
|
return [
|
|
'dashboard' => [
|
|
'title' => 'Dashboard',
|
|
],
|
|
'roles' => [
|
|
'title' => 'Roles',
|
|
'description' => 'Manage roles and user access levels',
|
|
],
|
|
'users' => [
|
|
'title' => 'User Management',
|
|
'singular' => 'User',
|
|
'description' => 'Manage clinic staff user accounts and access levels.',
|
|
],
|
|
'doctors' => [
|
|
'title' => 'Doctors',
|
|
'singular' => 'Doctor',
|
|
'description' => 'Log and manage list of your clinic doctors',
|
|
],
|
|
'payment_types' => [
|
|
'title' => 'Payment Types',
|
|
'singular' => 'Payment Type',
|
|
'description' => 'List of POS information and payment methods.',
|
|
],
|
|
'patient_illness' => [
|
|
'title' => 'Patient Illness',
|
|
'singular' => 'Patient Illness',
|
|
'description' => 'Manage list of probable illnesses for patients.',
|
|
],
|
|
'treatments' => [
|
|
'title' => 'Treatments',
|
|
'singular' => 'Treatment',
|
|
'description' => 'Log different visits or operations for doctors and patients.',
|
|
],
|
|
'surgery_centers' => [
|
|
'title' => 'Surgery Centers',
|
|
'singular' => 'Surgery Center',
|
|
'description' => 'Manage and configure surgery centers affiliated with your clinic.',
|
|
],
|
|
'patients' => [
|
|
'title' => 'Patients',
|
|
'singular' => 'Patient',
|
|
'description' => 'Log & Manage Patients Information, Including surgery & payment logs',
|
|
],
|
|
'medications' => [
|
|
'title' => 'Medications',
|
|
'singular' => 'Medication',
|
|
'description' => 'Manage and configure medications list for your clinic.',
|
|
],
|
|
'lab_tests' => [
|
|
'title' => 'Lab Tests',
|
|
'singular' => 'Lab Test',
|
|
'description' => 'Manage and configure lab tests list for your clinic.',
|
|
],
|
|
'visits' => [
|
|
'title' => 'Visits',
|
|
'singular' => 'Visit',
|
|
'description' => 'Log and manage all patient visits with treatment details, costs and payment records.',
|
|
],
|
|
'prescriptions' => [
|
|
'title' => 'Prescriptions',
|
|
'singular' => 'Prescription',
|
|
'description' => 'Issue and manage free prescriptions with your clinic letterhead for patients.',
|
|
],
|
|
'surgery_appointments' => [
|
|
'title' => 'Surgery Appointments',
|
|
'singular' => 'Surgery Appointment',
|
|
'description' => 'View and manage surgery appointments. Track surgery date, center, and status for each patient.',
|
|
],
|
|
'osurg_initials' => [
|
|
'title' => 'Initial Settings',
|
|
'singular' => 'Initial Setting',
|
|
'description' => 'Few preferences for program are logged here.',
|
|
],
|
|
'sms_logs' => [
|
|
'label' => 'SMS Logs',
|
|
'title' => 'SMS Logs',
|
|
'description' => 'View and track reminder SMS messages sent to patients.',
|
|
],
|
|
'osurg_audit' => [
|
|
'title' => 'Audit Log',
|
|
'singular' => 'Audit',
|
|
'description' => 'Every changes made in database is logged in audit table.',
|
|
],
|
|
'sync' => [
|
|
'label' => 'Sync',
|
|
'title' => 'Database Synchronization',
|
|
'details' => 'Sync Details',
|
|
'confirm_heading' => 'Two-way Synchronization',
|
|
'confirm_description' => 'This system\'s data will be synchronized with the peer system. Are you sure?',
|
|
'confirm_button' => 'Yes, Sync Now',
|
|
'error_title' => 'Configuration Error',
|
|
'error_not_configured' => 'Peer IP address or sync token is not configured in Initial Settings.',
|
|
'success' => 'Synchronization completed successfully ✓',
|
|
'failed' => 'Synchronization failed',
|
|
'see_report' => 'Check the report for details.',
|
|
'last_sync' => 'Last Sync',
|
|
'pending_changes' => 'Pending Changes',
|
|
'peer_address' => 'Peer System Address',
|
|
'never' => 'Never',
|
|
'setup_guide' => 'Setup Guide',
|
|
'setup_description' => 'To enable synchronization, set the following values in the .env file on both systems:',
|
|
'setup_description_dynamic' => 'Sync settings are managed via the "Initial Settings" section. The following parameters must be configured on both systems:',
|
|
'field_peer_ip' => 'Peer system IP address',
|
|
'field_peer_port' => 'Peer system port (default 80)',
|
|
'field_sync_token' => 'Security token (must be identical on both systems)',
|
|
'setup_warning' => 'The sync_token value must be identical on both systems.',
|
|
'last_report' => 'Last Sync Report',
|
|
'sync_with_peer' => 'Sync with Peer System',
|
|
'status_connecting' => 'Connecting to peer system...',
|
|
'status_receiving' => 'Receiving changes...',
|
|
'status_sending' => 'Sending changes...',
|
|
'close' => 'Close',
|
|
],
|
|
'backup' => [
|
|
'label' => 'Backup',
|
|
'success' => 'Backup completed successfully',
|
|
'failed' => 'Backup failed: database file not found',
|
|
],
|
|
'import' => [
|
|
'label' => 'Import from Database',
|
|
'confirm_heading' => 'Import from Old Database',
|
|
'confirm_description' => 'Select the SQL file from your old database. Patient and visit data will be imported into this system. Existing records with the same national ID will be updated.',
|
|
'confirm_button' => 'Start Upload & Import',
|
|
'file_label' => 'Old Database SQL File',
|
|
'drop_or_click' => 'Drag file here or click to browse',
|
|
'file_hint' => '.sql or .txt files supported (max 256 MB)',
|
|
'file_ready' => 'File ready — click the button to start',
|
|
'uploading' => 'Uploading file...',
|
|
'processing' => 'Processing...',
|
|
'no_file' => 'No file was selected',
|
|
'success' => 'Import completed successfully',
|
|
'failed' => 'Import failed',
|
|
'last_report' => 'Last Import Report',
|
|
],
|
|
'groups' => [
|
|
'patients' => 'Patients & Visits',
|
|
'diseases' => 'Illnesses & Treatments',
|
|
'treatment' => 'Illnesses & Treatments',
|
|
'clinic' => 'Clinic Information',
|
|
'settings' => 'Program Administration',
|
|
'users' => 'User Management',
|
|
'system' => 'System',
|
|
],
|
|
];
|