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

$lang['menu'] = 'Task Semaphore';

// Titles and descriptions
$lang['title'] = 'Task Semaphore';
$lang['description'] = 'Configure the visual priority levels of tasks based on days remaining until deadline.';
$lang['subtitle_config'] = 'Priority Levels';
$lang['subtitle_preview'] = 'Preview';

// Table columns - Main headers
$lang['col_level'] = 'Status';
$lang['col_label'] = 'Label';
$lang['col_days'] = 'Days';
$lang['col_days_from'] = 'From';
$lang['col_days_to'] = 'To';
$lang['col_colors'] = 'Colors';
$lang['col_background'] = 'Back';
$lang['col_border'] = 'Border';
$lang['col_notify'] = 'Email Notify';
$lang['col_notify_superuser'] = 'Super';
$lang['col_notify_assignee'] = 'Assign';
$lang['col_notify_creator'] = 'Creator';
$lang['col_active'] = 'Active';
$lang['col_actions'] = 'Actions';

// Buttons
$lang['btn_save'] = 'Save';
$lang['btn_reset'] = 'Reset Defaults';
$lang['btn_test_email'] = 'Test Email';
$lang['btn_cancel'] = 'Cancel';

// Messages
$lang['msg_saved'] = 'Configuration saved successfully.';
$lang['msg_reset'] = 'Configuration reset to default values.';
$lang['msg_error'] = 'Error saving configuration.';
$lang['msg_error_db'] = 'Error: Could not connect to database.';
$lang['msg_test_sent'] = 'Test email sent successfully.';
$lang['msg_test_error'] = 'Error sending test email.';

// Help
$lang['help_days_from'] = 'Min days before deadline. Use negatives for overdue. Empty = no limit.';
$lang['help_days_to'] = 'Max days before deadline. Use negatives for overdue. Empty = no limit.';
$lang['help_notify'] = 'Notifications will be sent daily via CRON for tasks in this range.';

// Default labels (6 levels)
$lang['label_0'] = 'Far away';
$lang['label_1'] = 'Normal';
$lang['label_2'] = 'Upcoming';
$lang['label_3'] = 'Urgent';
$lang['label_4'] = 'Due today';
$lang['label_5'] = 'Overdue';

// Preview
$lang['preview_title'] = 'Semaphore Preview';
$lang['preview_sample'] = 'Sample task';

// Level descriptions (6 levels)
$lang['level_desc_0'] = 'Far away (>= 31 days)';
$lang['level_desc_1'] = 'Normal (15-30 days)';
$lang['level_desc_2'] = 'Upcoming (7-14 days)';
$lang['level_desc_3'] = 'Urgent (1-6 days)';
$lang['level_desc_4'] = 'Due today (0 days)';
$lang['level_desc_5'] = 'Overdue (< 0 days)';

// Permissions
$lang['error_no_permission'] = 'You do not have permission to access this section. "manager" group required.';
