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

$lang['menu'] = 'Configure NICC Menu';

// Config page
$lang['config_title'] = 'Admin Menu Configuration';
$lang['tab_permissions'] = 'Permissions';
$lang['tab_sync'] = 'Sync Plugins';
$lang['tab_add_item'] = 'Add Item';

// Permissions table
$lang['th_module'] = 'Module';
$lang['th_category'] = 'Category';
$lang['no_items'] = 'No items in the menu.';
$lang['permissions_saved'] = 'Saved %d permissions successfully.';
$lang['btn_save'] = 'Save Permissions';

// Sync
$lang['sync_title'] = 'Sync Installed Plugins';
$lang['sync_description'] = 'Detects installed admin plugins not in the menu and menu plugins that no longer exist.';
$lang['sync_new_plugins'] = 'New plugins detected';
$lang['sync_missing_plugins'] = 'Menu plugins that no longer exist';
$lang['sync_all_synced'] = 'All plugins are synchronized.';
$lang['sync_complete'] = 'Sync completed: %d added, %d missing.';
$lang['btn_sync'] = 'Sync Now';

// Add item
$lang['add_item_title'] = 'Add New Menu Item';
$lang['field_code'] = 'Code (unique)';
$lang['field_name'] = 'Name';
$lang['field_description'] = 'Description';
$lang['field_category'] = 'Category';
$lang['field_plugin'] = 'Plugin Name';
$lang['field_plugin_hint'] = 'Leave empty if not a DokuWiki plugin';
$lang['field_url'] = 'URL';
$lang['field_icon'] = 'Icon';
$lang['field_is_dangerous'] = 'Mark as dangerous (danger zone)';
$lang['btn_add'] = 'Add Item';
$lang['item_added'] = 'Item added successfully.';
$lang['error_required_fields'] = 'Please fill all required fields.';
$lang['error_adding_item'] = 'Error adding item.';

// Errors
$lang['error_no_permission'] = 'You do not have permission to access this configuration.';
