Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 19 |
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 = []; |
| 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 | $lang = array_merge($lang, [ |
| 40 | 'CAPTCHA_TURNSTILE' => 'Turnstile', |
| 41 | 'CAPTCHA_TURNSTILE_INCORRECT' => 'The solution you provided was incorrect', |
| 42 | 'CAPTCHA_TURNSTILE_NOSCRIPT' => 'Please enable JavaScript in your browser to load the challenge.', |
| 43 | 'CAPTCHA_TURNSTILE_NOT_AVAILABLE' => 'In order to use Turnstile you must create a <a href="https://www.cloudflare.com/products/turnstile/">Cloudflare account</a>.', |
| 44 | 'CAPTCHA_TURNSTILE_SECRET' => 'Secret key', |
| 45 | 'CAPTCHA_TURNSTILE_SECRET_EXPLAIN' => 'Your Turnstile secret key. The secret key can be retrieved from your <a href="https://dash.cloudflare.com/?to=/:account/turnstile">Cloudflare dashboard</a>.', |
| 46 | 'CAPTCHA_TURNSTILE_SITEKEY' => 'Sitekey', |
| 47 | 'CAPTCHA_TURNSTILE_SITEKEY_EXPLAIN' => 'Your Turnstile sitekey. The sitekey can be retrieved from your <a href="https://dash.cloudflare.com/?to=/:account/turnstile">Cloudflare dashboard</a>.', |
| 48 | 'CAPTCHA_TURNSTILE_THEME' => 'Widget theme', |
| 49 | 'CAPTCHA_TURNSTILE_THEME_EXPLAIN' => 'The theme of the CAPTCHA widget. By default, <samp>light</samp> will be used. Other possibilities are <samp>dark</samp> and <samp>auto</samp>, which respects the user’s preference.', |
| 50 | 'CAPTCHA_TURNSTILE_THEME_AUTO' => 'Auto', |
| 51 | 'CAPTCHA_TURNSTILE_THEME_DARK' => 'Dark', |
| 52 | 'CAPTCHA_TURNSTILE_THEME_LIGHT' => 'Light', |
| 53 | ]); |