Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 36 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | /** |
| 15 | * DO NOT CHANGE |
| 16 | */ |
| 17 | if (!defined('IN_PHPBB')) |
| 18 | { |
| 19 | exit; |
| 20 | } |
| 21 | |
| 22 | if (empty($lang) || !is_array($lang)) |
| 23 | { |
| 24 | $lang = array(); |
| 25 | } |
| 26 | |
| 27 | // DEVELOPERS PLEASE NOTE |
| 28 | // |
| 29 | // All language files should use UTF-8 as their encoding and the files must not contain a BOM. |
| 30 | // |
| 31 | // Placeholders can now contain order information, e.g. instead of |
| 32 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows |
| 33 | // translators to re-order the output of data while ensuring it remains correct |
| 34 | // |
| 35 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine |
| 36 | // equally where a string contains only two placeholders which are used to wrap text |
| 37 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine |
| 38 | |
| 39 | // Banning |
| 40 | $lang = array_merge($lang, array( |
| 41 | '1_HOUR' => '1 hour', |
| 42 | '30_MINS' => '30 minutes', |
| 43 | '6_HOURS' => '6 hours', |
| 44 | |
| 45 | 'ACP_BAN_EXPLAIN' => 'Here you can control the banning of users by name, IP or email address. These methods prevent a user reaching any part of the board. You can give a short (maximum 3000 characters) reason for the ban if you wish. This will be displayed in the admin log. The duration of a ban can also be specified. If you want the ban to end on a specific date rather than after a set time period select <span style="text-decoration: underline;">Until -></span> for the ban length and enter a date in <kbd>YYYY-MM-DD</kbd> format.', |
| 46 | |
| 47 | 'BAN_LENGTH' => 'Length of ban', |
| 48 | 'BAN_REASON' => 'Reason for ban', |
| 49 | 'BAN_GIVE_REASON' => 'Reason shown to the banned', |
| 50 | 'BAN_UPDATE_SUCCESSFUL' => 'The banlist has been updated successfully.', |
| 51 | 'BANNED_UNTIL_DATE' => 'until %s', // Example: "until Mon 13.Jul.2009, 14:44" |
| 52 | 'BANNED_UNTIL_DURATION' => '%1$s (until %2$s)', // Example: "7 days (until Tue 14.Jul.2009, 14:44)" |
| 53 | |
| 54 | 'EMAIL_BAN' => 'Ban one or more email addresses', |
| 55 | 'EMAIL_BAN_EXPLAIN' => 'To specify more than one email address enter each on a new line. To match partial addresses use * as the wildcard, e.g. <samp>*@hotmail.com</samp>, <samp>*@*.domain.tld</samp>, etc.', |
| 56 | 'EMAIL_NO_BANNED' => 'No banned email addresses', |
| 57 | 'EMAIL_UNBAN' => 'Un-ban emails', |
| 58 | 'EMAIL_UNBAN_EXPLAIN' => 'You can unban multiple email addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser.', |
| 59 | |
| 60 | 'IP_BAN' => 'Ban one or more IPs', |
| 61 | 'IP_BAN_EXPLAIN' => 'To specify several different IPs or hostnames enter each on a new line. To specify a range of IP addresses separate the start and end with a hyphen (-), to specify a wildcard use “*”.', |
| 62 | 'IP_HOSTNAME' => 'IP addresses or hostnames', |
| 63 | 'IP_NO_BANNED' => 'No banned IP addresses', |
| 64 | 'IP_UNBAN' => 'Un-ban IPs', |
| 65 | 'IP_UNBAN_EXPLAIN' => 'You can unban multiple IP addresses in one go using the appropriate combination of mouse and keyboard for your computer and browser.', |
| 66 | |
| 67 | 'LENGTH_BAN_INVALID' => 'The date has to be formatted <kbd>YYYY-MM-DD</kbd>.', |
| 68 | |
| 69 | 'OPTIONS_BANNED' => 'Banned', |
| 70 | |
| 71 | 'PERMANENT' => 'Permanent', |
| 72 | |
| 73 | 'UNTIL' => 'Until', |
| 74 | 'USER_BAN' => 'Ban one or more users by username', |
| 75 | 'USER_BAN_EXPLAIN' => 'You can ban multiple users in one go by entering each name on a new line. Use the <span style="text-decoration: underline;">Find a member</span> facility to look up and add one or more users automatically.', |
| 76 | 'USER_NO_BANNED' => 'No banned usernames', |
| 77 | 'USER_UNBAN' => 'Un-ban users by username', |
| 78 | 'USER_UNBAN_EXPLAIN' => 'You can unban multiple users in one go using the appropriate combination of mouse and keyboard for your computer and browser.', |
| 79 | )); |