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