xref: /plugin/calendar/lang/en/lang.php (revision 22228b0ea77db31a6d52d5b3db63727729c1a5e0)
1<?php
2/**
3 * English language file for Calendar plugin
4 */
5
6// Admin menu
7$lang['menu'] = 'Calendar Management';
8
9// General
10$lang['calendar'] = 'Calendar';
11$lang['events'] = 'Events';
12$lang['event'] = 'Event';
13$lang['today'] = 'Today';
14$lang['tomorrow'] = 'Tomorrow';
15$lang['yesterday'] = 'Yesterday';
16
17// Event fields
18$lang['title'] = 'Title';
19$lang['description'] = 'Description';
20$lang['date'] = 'Date';
21$lang['time'] = 'Time';
22$lang['start_time'] = 'Start Time';
23$lang['end_time'] = 'End Time';
24$lang['end_date'] = 'End Date';
25$lang['color'] = 'Color';
26$lang['namespace'] = 'Namespace';
27$lang['all_day'] = 'All Day';
28
29// Actions
30$lang['add_event'] = 'Add Event';
31$lang['edit_event'] = 'Edit Event';
32$lang['delete_event'] = 'Delete Event';
33$lang['save'] = 'Save';
34$lang['cancel'] = 'Cancel';
35$lang['close'] = 'Close';
36$lang['search'] = 'Search';
37$lang['clear'] = 'Clear';
38
39// Task-related
40$lang['task'] = 'Task';
41$lang['mark_as_task'] = 'Mark as Task';
42$lang['completed'] = 'Completed';
43$lang['past_due'] = 'Past Due';
44
45// Recurring events
46$lang['recurring'] = 'Recurring';
47$lang['repeat'] = 'Repeat';
48$lang['daily'] = 'Daily';
49$lang['weekly'] = 'Weekly';
50$lang['monthly'] = 'Monthly';
51$lang['yearly'] = 'Yearly';
52$lang['every'] = 'Every';
53$lang['days'] = 'days';
54$lang['weeks'] = 'weeks';
55$lang['months'] = 'months';
56$lang['years'] = 'years';
57$lang['repeat_on'] = 'Repeat on';
58$lang['ends'] = 'Ends';
59$lang['never'] = 'Never';
60$lang['after_occurrences'] = 'After occurrences';
61$lang['on_date'] = 'On date';
62
63// Days of week
64$lang['sunday'] = 'Sunday';
65$lang['monday'] = 'Monday';
66$lang['tuesday'] = 'Tuesday';
67$lang['wednesday'] = 'Wednesday';
68$lang['thursday'] = 'Thursday';
69$lang['friday'] = 'Friday';
70$lang['saturday'] = 'Saturday';
71$lang['sun'] = 'Sun';
72$lang['mon'] = 'Mon';
73$lang['tue'] = 'Tue';
74$lang['wed'] = 'Wed';
75$lang['thu'] = 'Thu';
76$lang['fri'] = 'Fri';
77$lang['sat'] = 'Sat';
78
79// Months
80$lang['january'] = 'January';
81$lang['february'] = 'February';
82$lang['march'] = 'March';
83$lang['april'] = 'April';
84$lang['may'] = 'May';
85$lang['june'] = 'June';
86$lang['july'] = 'July';
87$lang['august'] = 'August';
88$lang['september'] = 'September';
89$lang['october'] = 'October';
90$lang['november'] = 'November';
91$lang['december'] = 'December';
92
93// Messages
94$lang['no_events'] = 'No events';
95$lang['no_events_today'] = 'No events today';
96$lang['no_events_this_month'] = 'No events this month';
97$lang['no_events_found'] = 'No events match your search';
98$lang['event_saved'] = 'Event saved successfully';
99$lang['event_deleted'] = 'Event deleted successfully';
100$lang['confirm_delete'] = 'Are you sure you want to delete this event?';
101$lang['loading'] = 'Loading...';
102$lang['searching'] = 'Searching...';
103
104// Search
105$lang['search_this_month'] = 'Search this month';
106$lang['search_all_dates'] = 'Search all dates';
107$lang['found_events'] = 'Found %d event(s) across all dates';
108
109// Sync
110$lang['sync'] = 'Sync';
111$lang['sync_now'] = 'Sync Now';
112$lang['last_sync'] = 'Last sync';
113$lang['sync_successful'] = 'Sync completed successfully';
114$lang['sync_failed'] = 'Sync failed';
115
116// Admin sections
117$lang['manage_events'] = 'Manage Events';
118$lang['sync_settings'] = 'Sync Settings';
119$lang['backup_restore'] = 'Backup & Restore';
120$lang['statistics'] = 'Statistics';
121$lang['important_namespaces'] = 'Important Namespaces';
122$lang['cleanup_events'] = 'Cleanup Old Events';
123
124// Sidebar widget
125$lang['upcoming_events'] = 'Upcoming Events';
126$lang['important_events'] = 'Important Events';
127$lang['past_events'] = 'Past Events';
128
129// Time conflicts
130$lang['time_conflict'] = 'Time Conflict';
131$lang['conflicts_with'] = 'Conflicts with';
132
133// Admin tabs
134$lang['tab_manage'] = 'Manage Events';
135$lang['tab_update'] = 'Update Plugin';
136$lang['tab_sync'] = 'Outlook Sync';
137$lang['tab_themes'] = 'Themes';
138
139// Admin manage tab sections
140$lang['event_browser'] = 'Event Browser';
141$lang['important_namespaces'] = 'Important Namespaces';
142$lang['cleanup_events'] = 'Cleanup Old Events';
143$lang['backup_events'] = 'Backup Events';
144$lang['restore_events'] = 'Restore Events';
145
146// Admin sync tab
147$lang['outlook_sync_settings'] = 'Outlook Sync Settings';
148$lang['sync_url'] = 'Sync URL';
149$lang['sync_interval'] = 'Sync Interval';
150$lang['enable_sync'] = 'Enable Sync';
151$lang['test_connection'] = 'Test Connection';
152
153// Admin themes tab
154$lang['theme_preview'] = 'Theme Preview';
155$lang['select_theme'] = 'Select Theme';
156
157// Buttons and actions
158$lang['run_now'] = 'Run Now';
159$lang['download'] = 'Download';
160$lang['upload'] = 'Upload';
161$lang['delete'] = 'Delete';
162$lang['refresh'] = 'Refresh';
163$lang['view_log'] = 'View Log';
164$lang['clear_log'] = 'Clear Log';
165$lang['save'] = 'Save';
166$lang['cancel'] = 'Cancel';
167$lang['close'] = 'Close';
168$lang['preview'] = 'Preview';
169$lang['rescan'] = 'Rescan';
170$lang['select_all'] = 'All';
171$lang['select_none'] = 'None';
172$lang['move_to'] = 'Move to';
173
174// Manage Events Tab
175$lang['manage_calendar_events'] = 'Manage Calendar Events';
176$lang['events_manager'] = 'Events Manager';
177$lang['events_manager_desc'] = 'Scan, export, and import all calendar events across all namespaces.';
178$lang['total_events'] = 'Total Events';
179$lang['namespaces'] = 'Namespaces';
180$lang['json_files'] = 'JSON Files';
181$lang['recurring'] = 'Recurring';
182$lang['last_scanned'] = 'Last scanned';
183$lang['rescan_events'] = 'Re-scan Events';
184$lang['export_all_events'] = 'Export All Events';
185$lang['import_events'] = 'Import Events';
186$lang['import_confirm'] = 'Import will merge with existing events. Continue?';
187$lang['view_breakdown'] = 'View Breakdown by Namespace';
188$lang['events_column'] = 'Events';
189$lang['files_column'] = 'Files';
190$lang['default_ns'] = '(default)';
191
192// Important Namespaces
193$lang['important_namespaces'] = 'Important Namespaces';
194$lang['important_ns_desc'] = 'Events from these namespaces will be visually highlighted throughout the calendar:';
195$lang['visual_effects'] = 'Visual Effects';
196$lang['effect_grid'] = 'Calendar Grid: ⭐ star icon on event bars';
197$lang['effect_sidebar'] = 'Event Sidebar: ⭐ star + highlighted background + accent border';
198$lang['effect_widget'] = 'Sidebar Widget: Dedicated "Important Events" section + highlighting';
199$lang['effect_popup'] = 'Day Popup: Events shown with full details';
200$lang['important_ns_hint'] = 'Comma-separated list of namespace names (e.g., "important,urgent,bills")';
201
202// Cleanup Events
203$lang['cleanup_old_events'] = 'Cleanup Old Events';
204$lang['cleanup_desc'] = 'Delete events based on criteria below. Automatic backup created before deletion.';
205$lang['by_age'] = 'By Age';
206$lang['by_status'] = 'By Status';
207$lang['by_date_range'] = 'By Date Range';
208$lang['delete_older_than'] = 'Delete events older than';
209$lang['months'] = 'months';
210$lang['years'] = 'years';
211$lang['completed_tasks'] = 'Completed tasks';
212$lang['past_events'] = 'Past events';
213$lang['from_date'] = 'From';
214$lang['to_date'] = 'To';
215$lang['namespace_filter'] = 'Namespace';
216$lang['namespace_filter_hint'] = 'Leave empty for all, or specify: work, personal, etc.';
217$lang['backup_auto'] = 'Backup created automatically';
218$lang['cleanup_confirm'] = 'Are you sure you want to delete these events? A backup will be created first, but this action cannot be easily undone.';
219$lang['no_events_match'] = 'No events match the criteria. Nothing would be deleted.';
220$lang['events_would_delete'] = 'The following %d event(s) would be deleted:';
221$lang['loading_preview'] = 'Loading preview...';
222$lang['error_loading'] = 'Error loading preview';
223$lang['debug_info'] = 'Debug Info';
224
225// Recurring Events
226$lang['recurring_events'] = 'Recurring Events';
227$lang['trim_all_past'] = 'Trim All Past';
228$lang['rescan'] = 'Rescan';
229
230// Namespace Explorer
231$lang['namespace_explorer'] = 'Namespace Explorer';
232$lang['namespace_explorer_desc'] = 'Select events and move between namespaces. Drag & drop also supported.';
233$lang['search_events'] = 'Search events by title...';
234$lang['type_or_select'] = 'Type or select...';
235$lang['drop_target'] = 'Drop Target';
236$lang['drop_here'] = 'Drop here';
237
238// Recurring Events Table
239$lang['search_recurring'] = 'Search recurring events...';
240$lang['no_recurring_found'] = 'No recurring events found.';
241$lang['col_title'] = 'Title';
242$lang['col_namespace'] = 'Namespace';
243$lang['col_pattern'] = 'Pattern';
244$lang['col_range'] = 'Range';
245$lang['col_count'] = 'Count';
246$lang['col_source'] = 'Source';
247$lang['col_actions'] = 'Actions';
248$lang['source_flagged'] = 'Flagged';
249$lang['source_detected'] = 'Detected';
250$lang['btn_edit'] = 'Edit';
251$lang['btn_manage'] = 'Manage';
252$lang['btn_del'] = 'Del';
253$lang['total_series'] = 'Total: %d series';
254
255// Recurrence patterns
256$lang['pattern_daily'] = 'Daily';
257$lang['pattern_weekly'] = 'Weekly';
258$lang['pattern_monthly'] = 'Monthly';
259$lang['pattern_yearly'] = 'Yearly';
260$lang['pattern_custom'] = 'Custom';
261
262// Namespace Explorer control bar
263$lang['btn_move'] = 'Move';
264$lang['new_namespace'] = 'New Namespace';
265$lang['cleanup_empty'] = 'Cleanup';
266$lang['x_selected'] = '%d selected';
267$lang['zero_selected'] = '0 selected';
268
269// Button tooltips
270$lang['tooltip_edit'] = 'Edit title, time, namespace, pattern';
271$lang['tooltip_manage'] = 'Extend, trim, pause, change dates';
272$lang['tooltip_delete_all'] = 'Delete all occurrences';
273
274// JavaScript messages
275$lang['no_events_selected'] = 'No events selected';
276$lang['delete_confirm'] = "Delete %d selected event(s)?\n\nThis cannot be undone!";
277$lang['delete_ns_confirm'] = "Delete ENTIRE namespace: %s?\n\nThis will delete ALL events in this namespace!\n\nThis cannot be undone!";
278$lang['scanning'] = 'Scanning...';
279$lang['cleaning'] = 'Cleaning...';
280$lang['no_empty_ns'] = 'No empty namespaces or orphan calendar folders found.';
281$lang['found_items'] = 'Found %d item(s) to clean up';
282$lang['proceed_cleanup'] = 'Proceed with cleanup?';
283
284// New Namespace dialog
285$lang['enter_namespace'] = "Enter new namespace name:\n\nExamples:\n- work\n- personal\n- projects:alpha";
286$lang['invalid_namespace'] = "Invalid namespace name.\n\nUse only letters, numbers, underscore, hyphen, and colon.\nExample: work:projects:alpha";
287
288// Rename namespace dialog
289$lang['rename_namespace'] = "Rename namespace: %s\n\nEnter new name:";
290
291// Delete recurring series
292$lang['delete_recurring_confirm'] = "Delete ALL occurrences of: %s (%s)?\n\nThis cannot be undone!";
293
294// Trim recurring events
295$lang['no_past_recurring'] = 'No past recurring events found to remove.';
296$lang['found_past_recurring'] = "Found %d past recurring event(s) to remove.\n\nThis cannot be undone. Proceed?";
297$lang['counting'] = 'Counting...';
298$lang['trimming'] = 'Trimming...';
299
300// Manage recurring dialog buttons
301$lang['btn_trim'] = 'Trim';
302$lang['btn_change'] = 'Change';
303$lang['btn_shift'] = 'Shift';
304$lang['trim_confirm'] = 'Remove all occurrences before %s?';
305$lang['respace_confirm'] = 'Respace all future occurrences?';
306$lang['shift_confirm'] = 'Shift all occurrences to new start date?';
307
308// Manage Recurring Dialog
309$lang['manage_recurring_title'] = 'Manage Recurring Series';
310$lang['occurrences'] = 'occurrences';
311$lang['extend_series'] = 'Extend Series';
312$lang['add_occurrences'] = 'Add occurrences:';
313$lang['days_apart'] = 'Days apart:';
314$lang['btn_extend'] = 'Extend';
315$lang['trim_past_events'] = 'Trim Past Events';
316$lang['remove_before'] = 'Remove before:';
317$lang['change_pattern'] = 'Change Pattern';
318$lang['respace_note'] = 'Respaces future occurrences only. Past events stay in place.';
319$lang['new_interval'] = 'New interval:';
320$lang['change_start_date'] = 'Change Start Date';
321$lang['shift_note'] = 'Shifts ALL occurrences by the difference between old and new start date.';
322$lang['current_label'] = 'Current:';
323$lang['pause_series'] = 'Pause Series';
324$lang['resume_series'] = 'Resume Series';
325$lang['pause_note'] = 'Adds ⏸ prefix to future occurrences. They remain in the calendar but are visually marked as paused.';
326$lang['resume_note'] = 'Removes ⏸ prefix and paused flag from all occurrences.';
327$lang['btn_pause'] = 'Pause';
328$lang['btn_resume'] = 'Resume';
329$lang['btn_close'] = 'Close';
330
331// Interval options
332$lang['interval_daily'] = 'Daily';
333$lang['interval_weekly'] = 'Weekly';
334$lang['interval_biweekly'] = 'Bi-weekly';
335$lang['interval_monthly'] = 'Monthly';
336$lang['interval_quarterly'] = 'Quarterly';
337$lang['interval_yearly'] = 'Yearly';
338
339// Edit Recurring Dialog
340$lang['edit_recurring_title'] = 'Edit Recurring Event';
341$lang['changes_apply_to'] = 'Changes apply to ALL occurrences of:';
342$lang['field_title'] = 'TITLE';
343$lang['field_start_time'] = 'START TIME';
344$lang['field_end_time'] = 'END TIME';
345$lang['field_namespace'] = 'NAMESPACE';
346$lang['field_color'] = 'COLOR';
347$lang['recurrence_pattern'] = 'RECURRENCE PATTERN';
348$lang['every'] = 'Every';
349$lang['on_days'] = 'On days:';
350$lang['monthly_options'] = 'Monthly options:';
351$lang['day_of_month'] = 'Day of month:';
352$lang['ordinal_weekday'] = 'Ordinal weekday:';
353$lang['btn_save_changes'] = 'Save Changes';
354$lang['btn_cancel'] = 'Cancel';
355
356// Ordinal labels
357$lang['ordinal_first'] = 'First';
358$lang['ordinal_second'] = 'Second';
359$lang['ordinal_third'] = 'Third';
360$lang['ordinal_fourth'] = 'Fourth';
361$lang['ordinal_fifth'] = 'Fifth';
362$lang['ordinal_last'] = 'Last';
363
364// Day names short
365$lang['day_sun'] = 'Sun';
366$lang['day_mon'] = 'Mon';
367$lang['day_tue'] = 'Tue';
368$lang['day_wed'] = 'Wed';
369$lang['day_thu'] = 'Thu';
370$lang['day_fri'] = 'Fri';
371$lang['day_sat'] = 'Sat';
372
373// Day names full
374$lang['day_sunday'] = 'Sunday';
375$lang['day_monday'] = 'Monday';
376$lang['day_tuesday'] = 'Tuesday';
377$lang['day_wednesday'] = 'Wednesday';
378$lang['day_thursday'] = 'Thursday';
379$lang['day_friday'] = 'Friday';
380$lang['day_saturday'] = 'Saturday';
381
382// Recurrence type labels
383$lang['rec_days'] = 'Day(s)';
384$lang['rec_weeks'] = 'Week(s)';
385$lang['rec_months'] = 'Month(s)';
386$lang['rec_years'] = 'Year(s)';
387
388// Backup Events
389$lang['backup_events'] = 'Backup Events';
390$lang['backup_desc'] = 'Create full backups of all event data. Download or manage existing backups.';
391$lang['create_backup'] = 'Create Backup';
392$lang['available_backups'] = 'Available Backups';
393$lang['no_backups'] = 'No backups found';
394$lang['backup_date'] = 'Date';
395$lang['backup_size'] = 'Size';
396$lang['backup_actions'] = 'Actions';
397$lang['delete_selected'] = 'Delete Selected';
398$lang['confirm_delete_backups'] = 'Are you sure you want to delete the selected backups?';
399
400// Edit Recurring Dialog additional strings
401$lang['default_label'] = '(default)';
402$lang['current_suffix'] = '(current)';
403$lang['repeat_every'] = 'Repeat every';
404$lang['on_these_days'] = 'On these days:';
405$lang['repeat_on'] = 'Repeat on:';
406$lang['weekday_pattern'] = 'Weekday pattern';
407$lang['day_label'] = 'Day';
408$lang['of_each_month'] = 'of each month';
409$lang['repeat_until'] = 'Repeat Until (optional)';
410$lang['repeat_until_hint'] = 'Leave empty to keep existing end date';
411
412// Update Plugin Tab
413$lang['update_plugin'] = 'Update Plugin';
414$lang['current_version'] = 'Current Version';
415$lang['version_label'] = 'Version';
416$lang['author'] = 'Author';
417$lang['description_label'] = 'Description';
418$lang['location'] = 'Location';
419$lang['permissions'] = 'Permissions';
420$lang['permissions_ok'] = 'OK - ready to update';
421$lang['permissions_issues'] = 'Issues detected';
422$lang['plugin_dir_not_writable'] = 'Plugin directory not writable';
423$lang['parent_dir_not_writable'] = 'Parent directory not writable';
424$lang['fix_with'] = 'Fix with';
425$lang['or_label'] = 'Or';
426$lang['upload_new_version'] = 'Upload New Version';
427$lang['upload_desc'] = 'Upload a calendar plugin ZIP file to update. Your configuration will be preserved.';
428$lang['backup_before_update'] = 'Create backup before updating (Recommended)';
429$lang['upload_install'] = 'Upload & Install';
430$lang['clear_cache'] = 'Clear Cache';
431$lang['clear_cache_confirm'] = 'Clear all DokuWiki cache? This will refresh all plugin files.';
432$lang['clear_cache_hint'] = 'Clear the DokuWiki cache if changes aren\'t appearing or after updating the plugin.';
433$lang['important_notes'] = 'Important Notes';
434$lang['note_replace_files'] = 'This will replace all plugin files';
435$lang['note_preserve_config'] = 'Configuration files (sync_config.php) will be preserved';
436$lang['note_data_safe'] = 'Event data will not be affected';
437$lang['note_backup_location'] = 'Backup will be saved to';
438$lang['note_valid_zip'] = 'Make sure the ZIP file is a valid calendar plugin';
439$lang['version_history'] = 'Version History';
440$lang['x_of_y'] = '%d of %d';
441$lang['current_release'] = 'Current Release';
442$lang['running'] = 'RUNNING';
443$lang['no_details_recorded'] = 'No detailed changes recorded';
444$lang['no_versions_found'] = 'No versions found in changelog';
445$lang['changelog_not_available'] = 'Changelog not available';
446$lang['backups'] = 'Backups';
447$lang['create_backup_now'] = 'Create Backup Now';
448$lang['create_backup_confirm'] = 'Create a backup of the current plugin version?';
449$lang['restore_hint'] = 'Click the �� Restore button to reinstall from a backup. This uses DokuWiki\'s Extension Manager for safe installation. Alternatively, download the ZIP and upload via <strong>Admin → Extension Manager → Install</strong>.';
450$lang['select_all'] = 'Select All';
451$lang['x_selected_backups'] = '(%d selected)';
452$lang['selected'] = 'selected';
453$lang['backup_file'] = 'Backup File';
454$lang['size'] = 'Size';
455$lang['actions'] = 'Actions';
456$lang['download'] = 'Download';
457$lang['restore'] = 'Restore';
458$lang['rename'] = 'Rename';
459$lang['no_backups_yet'] = 'No backups yet. Click "Create Backup Now" to create your first backup.';
460$lang['select_zip_file'] = 'Please select a ZIP file';
461$lang['confirm_upload'] = 'Upload and install new plugin version?';
462$lang['restore_confirm'] = "Restore from backup: %s?\n\nThis will replace the current plugin files with the backup version.";
463$lang['restore_error'] = 'Restore failed: Backup file not found.';
464$lang['enter_new_name'] = 'Enter new name for the backup:';
465$lang['delete_backup_confirm'] = 'Delete this backup: %s?';
466$lang['delete_selected_confirm'] = 'Delete %d selected backup(s)?';
467
468// Outlook Sync Tab
469$lang['outlook_sync_config'] = 'Outlook Sync Configuration';
470$lang['export_config'] = 'Export Config';
471$lang['import_config'] = 'Import Config';
472$lang['importing'] = 'Importing...';
473$lang['import_success'] = 'Import successful! Reloading...';
474$lang['azure_credentials'] = 'Microsoft Azure App Credentials';
475$lang['azure_register_hint'] = 'Register at Azure Portal → App registrations';
476$lang['tenant_id'] = 'Tenant ID';
477$lang['client_id'] = 'Client ID (Application ID)';
478$lang['client_secret'] = 'Client Secret';
479$lang['keep_secret_safe'] = 'Keep this secret safe!';
480$lang['outlook_settings'] = 'Outlook Settings';
481$lang['user_email'] = 'User Email';
482$lang['timezone'] = 'Timezone';
483$lang['default_category'] = 'Default Category';
484$lang['reminder_minutes'] = 'Reminder (minutes)';
485$lang['sync_options'] = 'Sync Options';
486$lang['sync_completed_tasks'] = 'Sync completed tasks';
487$lang['delete_from_outlook'] = 'Delete from Outlook when removed';
488$lang['sync_all_namespaces'] = 'Sync all namespaces';
489$lang['select_namespaces_to_sync'] = 'Select namespaces to sync:';
490$lang['namespace_to_category'] = 'Namespace → Category';
491$lang['ns_mapping_hint'] = 'One per line: namespace=Category';
492$lang['color_to_category'] = 'Event Color → Category';
493$lang['color_mapping_hint'] = 'Map calendar colors to Outlook categories';
494$lang['none'] = '-- None --';
495$lang['save_configuration'] = 'Save Configuration';
496$lang['config_exported'] = 'Config exported successfully!';
497$lang['config_export_warning'] = "This file contains encrypted credentials.\nKeep it secure!";
498$lang['export_failed'] = 'Export failed';
499$lang['error'] = 'Error';
500$lang['sync_status'] = 'Sync Status';
501$lang['sync_now'] = 'Sync Now';
502$lang['stop_sync'] = 'Stop Sync';
503$lang['syncing'] = 'Syncing...';
504$lang['last_sync_label'] = 'Last sync';
505$lang['never_synced'] = 'Never';
506$lang['sync_log'] = 'Sync Log';
507$lang['download_log'] = 'Download Log';
508$lang['clear_log'] = 'Clear Log';
509$lang['no_log_entries'] = 'No log entries';
510$lang['log_cleared'] = 'Log cleared';
511
512// Themes Tab
513$lang['sidebar_widget_settings'] = 'Sidebar Widget Settings';
514$lang['sidebar_widget_desc'] = 'Customize the appearance and behavior of the sidebar calendar widget.';
515$lang['week_start_day'] = 'Week Start Day';
516$lang['week_start_desc'] = 'Choose which day the week calendar grid starts with:';
517$lang['monday'] = 'Monday';
518$lang['sunday'] = 'Sunday';
519$lang['week_starts_monday'] = 'Week starts on Monday (ISO standard)';
520$lang['week_starts_sunday'] = 'Week starts on Sunday (US/Canada standard)';
521$lang['itinerary_section'] = 'Itinerary Section';
522$lang['itinerary_desc'] = 'Choose whether the Today/Tomorrow/Important Events sections are expanded or collapsed by default:';
523$lang['expanded'] = 'Expanded';
524$lang['collapsed'] = 'Collapsed';
525$lang['show_itinerary_default'] = 'Show itinerary sections by default';
526$lang['hide_itinerary_default'] = 'Hide itinerary sections by default (click bar to expand)';
527$lang['visual_theme'] = 'Visual Theme';
528$lang['theme_matrix'] = 'Matrix Edition';
529$lang['theme_matrix_desc'] = 'Dark green theme with Matrix-style glow effects and neon accents';
530$lang['theme_purple'] = 'Purple Dream';
531$lang['theme_purple_desc'] = 'Rich purple theme with elegant violet accents and soft glow';
532$lang['theme_professional'] = 'Professional Blue';
533$lang['theme_professional_desc'] = 'Clean blue and grey theme with modern professional styling, no glow effects';
534$lang['theme_pink'] = 'Pink Bling';
535$lang['theme_pink_desc'] = 'Glamorous hot pink theme with maximum sparkle, hearts, and diamonds ✨';
536$lang['theme_wiki'] = 'Wiki Default';
537$lang['theme_wiki_desc'] = 'Automatically matches your DokuWiki template theme using CSS variables - adapts to light and dark themes';
538$lang['preview'] = 'Preview';
539$lang['save_settings'] = 'Save Settings';
540$lang['settings_saved'] = 'Settings saved successfully!';
541
542// Sync Controls
543$lang['sync_controls'] = 'Sync Controls';
544$lang['run_sync_now'] = 'Run Sync Now';
545$lang['stop_sync'] = 'Stop Sync';
546$lang['no_cron_detected'] = 'No cron job detected';
547$lang['running'] = 'Running...';
548$lang['starting_sync'] = 'Starting sync...';
549$lang['stopping_sync'] = 'Stopping sync...';
550$lang['duplicate_log_warning'] = 'Duplicate log entries: Your crontab has a >> redirect. The sync script logs internally, so this causes duplicate entries. Remove the redirect from your crontab.';
551$lang['show_cron_details'] = 'Show cron details';
552$lang['cron_setup_hint'] = 'To enable automatic syncing, add to crontab:';
553$lang['cron_note'] = 'Note: The script logs to %s automatically. Do not use >> redirect.';
554$lang['log_not_writable'] = 'Log file not writable. Run:';
555
556// Live Sync Log
557$lang['live_sync_log'] = 'Live Sync Log';
558$lang['log_location'] = 'Location:';
559$lang['updates_interval'] = 'Updates every 2 seconds';
560$lang['pause'] = 'Pause';
561$lang['resume'] = 'Resume';
562$lang['loading_log'] = 'Loading log...';
563$lang['no_log_data'] = 'No log data available';
564$lang['clear_log_confirm'] = "Clear the sync log file?\n\nThis will delete all log entries.";
565$lang['log_cleared_success'] = 'Log cleared successfully';
566
567// Color names for color mapping
568$lang['color_blue'] = 'Blue';
569$lang['color_green'] = 'Green';
570$lang['color_red'] = 'Red';
571$lang['color_orange'] = 'Orange';
572$lang['color_purple'] = 'Purple';
573$lang['color_teal'] = 'Teal';
574
575// Placeholder texts
576$lang['enter_client_secret'] = 'Enter client secret';
577
578// Error messages
579$lang['error_admin_required'] = 'Admin access required';
580$lang['error_unknown_action'] = 'Unknown admin action';
581$lang['error_save_config'] = 'Error: Could not save configuration file';
582$lang['error_log_not_writable'] = 'Log file not writable';
583
584// Update Plugin JavaScript strings
585$lang['select_zip_file'] = 'Please select a ZIP file';
586$lang['upload_confirm'] = "Upload and install: %s?\n\nThis will replace all plugin files.\nYour configuration and data will be preserved.\n\nContinue?";
587$lang['selected'] = 'selected';
588$lang['no_backups_selected'] = 'No backups selected';
589$lang['delete_selected_confirm'] = "Delete %d selected backup(s)?\n\n%s\n\nThis cannot be undone!";
590$lang['deleted_with_errors'] = 'Deleted %d backups. Errors: %s';
591$lang['rename_prompt'] = "Enter new backup name (without .zip extension):\n\nCurrent: %s";
592$lang['invalid_filename'] = 'Invalid filename. Use only letters, numbers, dots, dashes, and underscores.';
593
594// Additional error and status messages
595$lang['no_log_file'] = 'No log file found. Sync hasn\'t run yet.';
596$lang['admin_access_required'] = 'Admin access required';
597$lang['unknown_admin_action'] = 'Unknown admin action';
598
599// Configuration save messages
600$lang['config_saved_success'] = 'Configuration saved successfully!';
601$lang['config_save_error'] = 'Error: Could not save configuration file';
602$lang['important_ns_saved'] = 'Important namespaces saved';
603
604// Import/Export config messages
605$lang['export_success'] = "Config exported successfully!\n\n⚠️ This file contains encrypted credentials.\nKeep it secure!";
606$lang['export_failed'] = 'Export failed';
607$lang['importing'] = 'Importing...';
608$lang['import_successful'] = 'Import successful! Reloading...';
609$lang['import_failed'] = 'Import failed';
610
611// Cleanup messages
612$lang['cleanup_complete'] = 'Cleanup complete';
613$lang['failed'] = 'Failed';
614
615// Recurring pattern descriptions
616$lang['every_x_days'] = 'Every %d days';
617$lang['every_x_weeks'] = 'Every %d weeks';
618$lang['every_x_months'] = 'Every %d months';
619$lang['every_x_years'] = 'Every %d years';
620
621// Upload/restore messages
622$lang['failed_to_add'] = 'Failed to add: %s';
623$lang['cannot_read'] = 'Cannot read: %s';
624
625// Import/cleanup messages
626$lang['import_complete'] = 'Import complete! Imported %d new events';
627$lang['cleanup_deleted'] = 'Cleanup complete! Deleted %d event(s). Backup created: %s';
628
629// Recurring pattern labels
630$lang['daily'] = 'Daily';
631$lang['weekly'] = 'Weekly';
632$lang['bi_weekly'] = 'Bi-weekly';
633$lang['monthly'] = 'Monthly';
634$lang['quarterly'] = 'Quarterly';
635$lang['semi_annual'] = 'Semi-annual';
636$lang['yearly'] = 'Yearly';
637
638// Day abbreviations for patterns
639$lang['day_sun'] = 'Sun';
640$lang['day_mon'] = 'Mon';
641$lang['day_tue'] = 'Tue';
642$lang['day_wed'] = 'Wed';
643$lang['day_thu'] = 'Thu';
644$lang['day_fri'] = 'Fri';
645$lang['day_sat'] = 'Sat';
646
647// Ordinal labels
648$lang['ordinal_1st'] = '1st';
649$lang['ordinal_2nd'] = '2nd';
650$lang['ordinal_3rd'] = '3rd';
651$lang['ordinal_4th'] = '4th';
652$lang['ordinal_5th'] = '5th';
653$lang['ordinal_last'] = 'Last';
654
655// Pattern format strings
656$lang['pattern_day_x'] = '%s (day %s)';
657$lang['pattern_ordinal_day'] = '%s (%s %s)';
658
659// Import status
660$lang['skipped_duplicates'] = ', skipped %d duplicates';
661
662// AJAX response messages
663$lang['removed_past_recurring'] = 'Removed %d past recurring occurrences';
664$lang['added_occurrences'] = 'Added %d new occurrences';
665$lang['removed_past_before'] = 'Removed %d past occurrences before %s';
666$lang['paused_occurrences'] = 'Paused %d future occurrences';
667$lang['resumed_occurrences'] = 'Resumed %d occurrences';
668$lang['start_date_unchanged'] = 'Start date unchanged';
669$lang['shifted_occurrences'] = 'Shifted %d occurrences %s by %d days';
670$lang['respaced_occurrences'] = 'Respaced %d future occurrences to %s (%d days)';
671$lang['sync_script_not_found'] = 'Sync script not found at: %s';
672$lang['cannot_create_log_dir'] = 'Cannot create log directory: %s';
673$lang['cannot_create_log_file'] = 'Cannot create log file: %s';
674$lang['log_not_writable_chmod'] = 'Log file not writable: %s - Run: chmod 666 %s';
675$lang['cannot_find_php'] = 'Cannot find PHP binary';
676$lang['sync_completed'] = 'Sync completed! Check log for details.';
677$lang['stop_signal_sent'] = 'Stop signal sent to sync process';
678$lang['failed_abort_flag'] = 'Failed to create abort flag';
679$lang['config_not_found'] = 'Config file not found';
680$lang['config_exported'] = 'Config exported successfully';
681$lang['no_config_data'] = 'No config data provided';
682$lang['decryption_failed'] = 'Decryption failed. This config file was exported from a different DokuWiki installation (different secret key).';
683
684// Direction strings for shift
685$lang['forward'] = 'forward';
686$lang['back'] = 'back';
687
688// Additional AJAX/backend messages
689$lang['no_future_to_respace'] = 'No future occurrences to respace';
690$lang['sync_failed_exit'] = 'Sync failed (exit code: %d)';
691$lang['theme_saved_refresh'] = '✓ Theme and settings saved successfully! Refresh any page with the sidebar to see changes.';
692
693// Upload/Update error messages
694$lang['upload_failed'] = 'Upload failed: %s';
695$lang['no_file_uploaded'] = 'No file uploaded';
696$lang['dir_not_writable'] = 'Plugin directory is not writable. Please check permissions: %s';
697$lang['parent_dir_not_writable'] = 'Plugin parent directory is not writable. Please check permissions: %s';
698$lang['invalid_file_type'] = 'Invalid file type. Please upload a ZIP file.';
699$lang['backup_not_created'] = 'Backup file was not created';
700$lang['backup_too_small'] = 'Backup file is too small (%s). Only %d files were added. Backup aborted.';
701$lang['backup_incomplete'] = 'Backup incomplete: Only %d files were added (expected 30+). Backup aborted.';
702$lang['backup_zip_failed'] = 'Failed to create backup ZIP file';
703$lang['backup_failed'] = 'Backup failed: %s';
704$lang['open_zip_failed'] = 'Failed to open ZIP file';
705$lang['plugin_updated'] = 'Plugin updated successfully!';
706$lang['backup_saved_as'] = ' Backup saved as: %s';
707$lang['no_backup_specified'] = 'No backup file specified';
708$lang['invalid_backup_filename'] = 'Invalid backup filename';
709$lang['backup_not_found'] = 'Backup file not found';
710$lang['backup_deleted'] = 'Backup deleted: %s';
711$lang['delete_backup_failed'] = 'Failed to delete backup. Check file permissions.';
712$lang['missing_filenames'] = 'Missing filename(s)';
713$lang['invalid_filename_format'] = 'Invalid filename format';
714$lang['file_exists'] = 'A file with the new name already exists';
715$lang['backup_renamed'] = 'Backup renamed: %s → %s';
716$lang['rename_backup_failed'] = 'Failed to rename backup. Check file permissions.';
717$lang['extension_manager_unavailable'] = 'DokuWiki Extension Manager not available. Please install manually: Download the backup, go to Admin → Extension Manager → Install, and upload the ZIP file.';
718$lang['plugin_restored'] = 'Plugin restored from backup: %s (via Extension Manager)';
719$lang['restore_failed'] = 'Restore failed: %s';
720$lang['dir_not_readable'] = 'Plugin directory is not readable. Please check permissions.';
721$lang['cannot_save_backup'] = 'Plugin parent directory is not writable. Cannot save backup.';
722$lang['backup_created_success'] = '✓ Manual backup created successfully: %s (%s, %d files)';
723$lang['dir_does_not_exist'] = 'Directory does not exist: %s';
724$lang['dir_not_readable_err'] = 'Directory is not readable: %s';
725
726// Config import/export additional messages
727$lang['invalid_config_php_tag'] = 'Invalid config file: missing PHP opening tag. The file may be corrupted or from a different installation.';
728$lang['invalid_config_prohibited'] = 'Invalid config file: contains prohibited code patterns';
729$lang['invalid_config_return'] = 'Invalid config file: must contain a return array statement';
730$lang['config_write_failed'] = 'Failed to write config file';
731$lang['config_imported'] = 'Config imported successfully';
732
733// Log file messages
734$lang['log_file_created'] = 'Log file created';
735$lang['log_not_exist_create'] = 'Log file does not exist and cannot be created: %s';
736$lang['log_not_writable_sudo'] = 'Log file not writable. Run: sudo chmod 666 %s';
737$lang['file_put_failed'] = 'file_put_contents failed on: %s';
738
739// Cache messages
740$lang['cache_cleared'] = 'Cache cleared successfully!';
741$lang['cache_not_found'] = 'Cache directory not found';
742
743// Recurring event messages
744$lang['deleted_recurring'] = 'Deleted %d occurrences of recurring event: %s';
745$lang['updated_recurring'] = 'Updated %d occurrences of recurring event%s';
746
747// Event management messages
748$lang['no_events_selected'] = 'No events selected';
749$lang['moved_events'] = 'Moved %d event(s) to namespace: %s';
750$lang['event_file_not_found'] = 'Event file not found';
751$lang['event_read_failed'] = 'Could not read event file';
752$lang['event_not_found'] = 'Event not found';
753$lang['moved_event'] = 'Moved "%s" to %s';
754
755// Namespace management messages
756$lang['namespace_empty'] = 'Namespace name cannot be empty';
757$lang['namespace_invalid'] = 'Invalid namespace name. Use only letters, numbers, underscore, hyphen, and colon.';
758$lang['namespace_exists'] = 'Namespace \'%s\' already exists with events';
759$lang['namespace_create_failed'] = 'Failed to create namespace directory';
760$lang['namespace_created'] = 'Created namespace: %s';
761$lang['namespace_traversal'] = 'Invalid namespace: path traversal not allowed';
762$lang['namespace_not_found'] = 'Namespace directory not found: %s';
763$lang['namespace_deleted'] = 'Deleted namespace \'%s\': %d events in %d files';
764$lang['namespace_renamed'] = 'Renamed namespace \'%s\' to \'%s\': %d events in %d files';
765$lang['old_namespace_invalid'] = 'Invalid old namespace name. Use only letters, numbers, underscore, hyphen, and colon.';
766$lang['new_namespace_invalid'] = 'Invalid new namespace name. Use only letters, numbers, underscore, hyphen, and colon.';
767$lang['old_namespace_not_found'] = 'Old namespace directory not found: %s';
768$lang['new_namespace_exists'] = 'New namespace directory already exists: %s';
769$lang['rename_failed'] = 'Failed to rename directory';
770$lang['cannot_rename_empty'] = 'Cannot rename to empty namespace';
771$lang['source_namespace_not_found'] = 'Source namespace not found: %s';
772$lang['target_namespace_exists'] = 'Target namespace already exists: %s';
773$lang['rename_namespace_failed'] = 'Failed to rename namespace';
774$lang['deleted_events'] = 'Deleted %d event(s)';
775
776// Cron interval strings
777$lang['runs_every_minute'] = 'Runs every minute';
778$lang['runs_every_x_minutes'] = 'Runs every %d minutes';
779$lang['runs_hourly'] = 'Runs hourly';
780$lang['runs_every_hour'] = 'Runs every hour';
781$lang['runs_every_x_hours'] = 'Runs every %d hours';
782$lang['runs_daily'] = 'Runs daily';
783$lang['custom_schedule'] = 'Custom schedule';
784
785// ========== SIDEBAR WIDGET / FRONTEND STRINGS ==========
786
787// Navigation & buttons
788$lang['today_btn'] = 'Today';
789$lang['add_btn'] = '+ Add';
790$lang['search_placeholder'] = '�� Search...';
791$lang['search_this_month'] = 'Search this month only';
792$lang['click_to_jump'] = 'Click to jump to month';
793$lang['events_header'] = 'Events';
794
795// Itinerary section headers
796$lang['itinerary_today'] = 'Today';
797$lang['itinerary_tomorrow'] = 'Tomorrow';
798$lang['itinerary_important'] = 'Important Events';
799$lang['important_tooltip'] = 'Important';
800
801// Event dialog - title
802$lang['dialog_add_event'] = 'Add Event';
803$lang['dialog_edit_event'] = 'Edit Event';
804
805// Event dialog - labels
806$lang['field_title'] = '�� Title';
807$lang['field_title_placeholder'] = 'Event or task title...';
808$lang['field_namespace'] = '�� Namespace';
809$lang['field_namespace_placeholder'] = 'Type to search or leave empty for default...';
810$lang['field_description'] = '�� Description';
811$lang['field_description_placeholder'] = 'Optional details...';
812$lang['field_start_date'] = '�� Start Date';
813$lang['field_end_date'] = '�� End Date';
814$lang['field_start_time'] = '�� Start Time';
815$lang['field_end_time'] = '�� End Time';
816$lang['field_color'] = '�� Color';
817
818// Event dialog - time options
819$lang['time_all_day'] = 'All day';
820$lang['time_same_as_start'] = 'Same as start';
821
822// Event dialog - recurring options
823$lang['recurring_label'] = '�� Repeating Event';
824$lang['recurring_repeat_every'] = 'Repeat every';
825$lang['recurring_days'] = 'Day(s)';
826$lang['recurring_weeks'] = 'Week(s)';
827$lang['recurring_months'] = 'Month(s)';
828$lang['recurring_years'] = 'Year(s)';
829$lang['recurring_on_these_days'] = 'On these days:';
830$lang['recurring_repeat_on'] = 'Repeat on:';
831$lang['recurring_day_of_month'] = 'Day of month';
832$lang['recurring_weekday_pattern'] = 'Weekday pattern';
833$lang['recurring_day'] = 'Day';
834$lang['recurring_of_each_month'] = 'of each month';
835$lang['recurring_until'] = 'Repeat Until (optional)';
836$lang['recurring_until_hint'] = 'Leave empty for 1 year of events';
837
838// Ordinal positions
839$lang['ordinal_first'] = 'First';
840$lang['ordinal_second'] = 'Second';
841$lang['ordinal_third'] = 'Third';
842$lang['ordinal_fourth'] = 'Fourth';
843$lang['ordinal_fifth'] = 'Fifth';
844$lang['ordinal_last'] = 'Last';
845
846// Day names (short)
847$lang['day_sun'] = 'Sun';
848$lang['day_mon'] = 'Mon';
849$lang['day_tue'] = 'Tue';
850$lang['day_wed'] = 'Wed';
851$lang['day_thu'] = 'Thu';
852$lang['day_fri'] = 'Fri';
853$lang['day_sat'] = 'Sat';
854
855// Day names (full)
856$lang['day_sunday'] = 'Sunday';
857$lang['day_monday'] = 'Monday';
858$lang['day_tuesday'] = 'Tuesday';
859$lang['day_wednesday'] = 'Wednesday';
860$lang['day_thursday'] = 'Thursday';
861$lang['day_friday'] = 'Friday';
862$lang['day_saturday'] = 'Saturday';
863
864// Color names
865$lang['color_blue'] = '�� Blue';
866$lang['color_green'] = '�� Green';
867$lang['color_red'] = '�� Red';
868$lang['color_orange'] = '�� Orange';
869$lang['color_purple'] = '�� Purple';
870$lang['color_pink'] = '�� Pink';
871$lang['color_teal'] = '�� Teal';
872$lang['color_custom'] = '�� Custom...';
873
874// Task checkbox
875$lang['task_label'] = '�� This is a task (can be checked off)';
876
877// Dialog buttons
878$lang['btn_cancel'] = 'Cancel';
879$lang['btn_save'] = '�� Save';
880$lang['btn_delete'] = 'Delete';
881
882// Default event title
883$lang['default_event'] = 'Event';
884$lang['no_upcoming_events'] = 'No upcoming events';
885
886// Range headers
887$lang['range_today'] = 'Today';
888$lang['range_this_week'] = 'This Week';
889
890// Month names (full) - for JavaScript
891$lang['month_january'] = 'January';
892$lang['month_february'] = 'February';
893$lang['month_march'] = 'March';
894$lang['month_april'] = 'April';
895$lang['month_may'] = 'May';
896$lang['month_june'] = 'June';
897$lang['month_july'] = 'July';
898$lang['month_august'] = 'August';
899$lang['month_september'] = 'September';
900$lang['month_october'] = 'October';
901$lang['month_november'] = 'November';
902$lang['month_december'] = 'December';
903
904// Month names (short) - for JavaScript
905$lang['month_jan'] = 'Jan';
906$lang['month_feb'] = 'Feb';
907$lang['month_mar'] = 'Mar';
908$lang['month_apr'] = 'Apr';
909$lang['month_may_short'] = 'May';
910$lang['month_jun'] = 'Jun';
911$lang['month_jul'] = 'Jul';
912$lang['month_aug'] = 'Aug';
913$lang['month_sep'] = 'Sep';
914$lang['month_oct'] = 'Oct';
915$lang['month_nov'] = 'Nov';
916$lang['month_dec'] = 'Dec';
917
918// JavaScript UI strings
919$lang['events_for_date'] = 'Events - %s';
920$lang['past_events'] = 'Past Events (%d)';
921$lang['no_events_day'] = 'No events on this day';
922$lang['add_event_btn'] = '+ Add Event';
923$lang['add_event_short'] = '+ ADD EVENT';
924$lang['delete_event_confirm'] = 'Delete this event?';
925
926// Badge labels
927$lang['badge_past_due'] = 'PAST DUE';
928$lang['badge_today'] = 'TODAY';
929
930// Additional messages
931$lang['no_events_month'] = 'No events this month';
932$lang['no_events_week'] = 'No events this week';
933