xref: /plugin/deletepageguard/lang/en/lang.php (revision 0da697856a21f6e79666d7fe1c6a3ae059c82150)
1<?php
2/**
3 * English language file for the Delete Page Guard plugin.
4 *
5 * @license GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html) - see LICENSE.md
6 * @author  Johann Duscher <jonny.dee@posteo.net>
7 * @copyright 2025 Johann Duscher
8 */
9
10$lang['deny_msg'] = 'Deleting this page is not allowed.';
11
12// Configuration Manager labels
13$lang['patterns'] = 'Protected page patterns (one PCRE per line). Examples: ^users:[^:]+:start$';
14$lang['match_target'] = 'Match against (page ID or file path)';
15$lang['exempt_groups'] = 'Exempt groups (comma‑separated)';
16$lang['trim_mode'] = 'Treat whitespace‑only pages as empty';
17
18// Legacy configuration keys (for backward compatibility)
19$lang['cfg_patterns'] = 'Protected page patterns (one per line, as PCRE)';
20$lang['cfg_match_target'] = 'Match against';
21$lang['cfg_match_target_o_id'] = 'Page ID (e.g. users:john:start)';
22$lang['cfg_match_target_o_filepath'] = 'Relative file path (e.g. users/john/start.txt)';
23$lang['cfg_exempt_groups'] = 'Extra groups allowed to delete (comma separated)';
24$lang['cfg_trim_mode'] = 'Treat whitespace‑only pages as empty';