<?php
/**
 * English language file for beztaxcalendar plugin
 */

$lang['menu'] = 'DIAN Tax Calendar';

// Main titles
$lang['admin_title'] = 'DIAN Tax Calendar';
$lang['calendar_overview'] = 'Calendar Status';
$lang['upload_calendar'] = 'Upload Calendar';
$lang['view_calendar'] = 'View Calendar';
$lang['client_config'] = 'Client Configuration';
$lang['generate_tasks'] = 'Generate Tasks';
$lang['settings'] = 'Settings';

// Status panel
$lang['calendar_status'] = 'Tax Calendar Status';
$lang['year'] = 'Year';
$lang['status'] = 'Status';
$lang['deadlines_count'] = 'Deadlines';
$lang['last_load'] = 'Last Load';
$lang['actions'] = 'Actions';
$lang['current_year'] = 'Current';

// Calendar states
$lang['status_active'] = 'Active';
$lang['status_draft'] = 'Draft';
$lang['status_archived'] = 'Archived';
$lang['status_not_loaded'] = 'Not loaded';

// Alerts
$lang['alert_no_calendar'] = 'No calendar loaded for %s. Tasks cannot be generated correctly.';
$lang['alert_calendar_outdated'] = 'Calendar was loaded %d days ago. Check for DIAN updates.';
$lang['alert_year_ending'] = '%d days until %s. Remember to load the new tax calendar.';
$lang['alert_calendar_draft'] = 'Calendar %s is in draft and has not been verified.';
$lang['alert_calendar_incomplete'] = 'Calendar appears incomplete. Only %d deadlines registered.';

// Calendar upload
$lang['upload_title'] = 'Upload Tax Calendar';
$lang['upload_info'] = 'Upload the Excel file with the year\'s tax calendar. The system will update the master calendar that applies to all clients.';
$lang['download_template'] = 'Download Excel Template';
$lang['select_year'] = 'Calendar year';
$lang['select_file'] = 'Excel file (.xlsx)';
$lang['preview_only'] = 'Preview only (do not save)';
$lang['btn_upload'] = 'Upload Calendar';
$lang['btn_confirm_upload'] = 'Confirm and Save';

// Upload results
$lang['upload_preview'] = 'Preview';
$lang['upload_result'] = 'Upload Result';
$lang['records_new'] = 'New';
$lang['records_updated'] = 'Updated';
$lang['records_errors'] = 'Errors';
$lang['errors_found'] = 'Errors found';
$lang['upload_success'] = 'Calendar uploaded successfully';
$lang['upload_error'] = 'Error uploading calendar';

// Calendar view
$lang['view_title'] = 'Tax Calendar %s';
$lang['obligation'] = 'Obligation';
$lang['period'] = 'Period';
$lang['digit'] = 'Digit';
$lang['deadline_date'] = 'Deadline Date';
$lang['notes'] = 'Notes';
$lang['no_calendar_data'] = 'No calendar data for this year';

// Obligations
$lang['obligations'] = 'Tax Obligations';
$lang['obligation_code'] = 'Code';
$lang['obligation_name'] = 'Name';
$lang['obligation_frequency'] = 'Frequency';
$lang['obligation_active'] = 'Active';

// Frequencies
$lang['freq_monthly'] = 'Monthly';
$lang['freq_bimonthly'] = 'Bimonthly';
$lang['freq_quarterly'] = 'Quarterly';
$lang['freq_annual'] = 'Annual';
$lang['freq_custom'] = 'Custom';

// Client configuration
$lang['client_obligations_title'] = 'Client Obligations';
$lang['client_exceptions_title'] = 'Date Exceptions';
$lang['client_custom_title'] = 'Custom Obligations';
$lang['select_client'] = 'Select Client';
$lang['assigned'] = 'Assigned';
$lang['not_assigned'] = 'Not assigned';
$lang['add_exception'] = 'Add Exception';
$lang['exception_type'] = 'Exception Type';
$lang['exception_change_date'] = 'Change Date';
$lang['exception_exclude'] = 'Exclude';
$lang['custom_date'] = 'New Date';
$lang['reason'] = 'Reason';
$lang['effective_calendar'] = 'Client Effective Calendar';

// Task generation
$lang['generate_title'] = 'Generate Tax Tasks';
$lang['select_project'] = 'Select Project';
$lang['select_obligations'] = 'Select Obligations';
$lang['select_periods'] = 'Select Periods';
$lang['preview_tasks'] = 'Task Preview';
$lang['btn_preview'] = 'Preview';
$lang['btn_generate'] = 'Generate Tasks';
$lang['task_already_exists'] = 'Already exists';
$lang['task_can_generate'] = 'Can generate';
$lang['task_no_date'] = 'No date';
$lang['task_excluded'] = 'Excluded';
$lang['generation_result'] = 'Generation Result';
$lang['tasks_generated'] = 'Tasks generated';
$lang['tasks_skipped'] = 'Tasks skipped';

// Configuration
$lang['config_title'] = 'Module Configuration';
$lang['config_storage'] = 'File Storage';
$lang['config_storage_database'] = 'Database';
$lang['config_storage_local'] = 'Local Path';
$lang['config_storage_url'] = 'External URL';
$lang['config_storage_path'] = 'Folder path';
$lang['config_storage_url_field'] = 'Base URL';
$lang['config_filename_pattern'] = 'Filename pattern';
$lang['config_allow_remote'] = 'Allow remote loading';
$lang['config_backup_locally'] = 'Save local backup';
$lang['config_alerts'] = 'Alert Configuration';
$lang['config_alert_days'] = 'Days before year end to alert';
$lang['config_warning_days'] = 'Days since load to show warning';
$lang['config_require_verification'] = 'Require verification before use';
$lang['btn_save_config'] = 'Save Configuration';
$lang['config_saved'] = 'Configuration saved successfully';

// General buttons
$lang['btn_load'] = 'Load';
$lang['btn_view'] = 'View';
$lang['btn_download'] = 'Download';
$lang['btn_update'] = 'Update';
$lang['btn_verify'] = 'Verify';
$lang['btn_delete'] = 'Delete';
$lang['btn_save'] = 'Save';
$lang['btn_cancel'] = 'Cancel';
$lang['btn_back'] = 'Back';
$lang['btn_test'] = 'Test';

// Messages
$lang['confirm_delete'] = 'Are you sure you want to delete this record?';
$lang['no_data'] = 'No data available';
$lang['loading'] = 'Loading...';
$lang['success'] = 'Operation successful';
$lang['error'] = 'Error';

// Months
$lang['month_01'] = 'January';
$lang['month_02'] = 'February';
$lang['month_03'] = 'March';
$lang['month_04'] = 'April';
$lang['month_05'] = 'May';
$lang['month_06'] = 'June';
$lang['month_07'] = 'July';
$lang['month_08'] = 'August';
$lang['month_09'] = 'September';
$lang['month_10'] = 'October';
$lang['month_11'] = 'November';
$lang['month_12'] = 'December';

// Validation
$lang['validation_file_required'] = 'You must select an Excel file';
$lang['validation_year_required'] = 'You must select a year';
$lang['validation_invalid_file'] = 'The file is not a valid Excel';
$lang['validation_calendar_not_found'] = 'No tax calendar exists for year %s';
$lang['validation_client_required'] = 'You must select a client';
$lang['validation_project_required'] = 'You must select a project';

// Permissions
$lang['error_no_permission'] = 'You do not have permission to access this section. Manager or administrator level required.';
$lang['error_template_not_found'] = 'Template file not found. Please contact the administrator.';
