Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 35 |
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_RECAPTCHA' => 'reCaptcha v2', |
| 41 | 'CAPTCHA_RECAPTCHA_V3' => 'reCaptcha v3', |
| 42 | |
| 43 | 'RECAPTCHA_INCORRECT' => 'The solution you provided was incorrect', |
| 44 | 'RECAPTCHA_NOSCRIPT' => 'Please enable JavaScript in your browser to load the challenge.', |
| 45 | 'RECAPTCHA_NOT_AVAILABLE' => 'In order to use reCaptcha, you must create an account on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>.', |
| 46 | 'RECAPTCHA_INVISIBLE' => 'This CAPTCHA is actually invisible. To verify that it works, a small icon should appear in right bottom corner of this page.', |
| 47 | 'RECAPTCHA_V3_LOGIN_ERROR_ATTEMPTS' => 'You have exceeded the maximum number of login attempts allowed.<br>In addition to your username and password the invisible reCAPTCHA v3 will be used to authenticate your session.', |
| 48 | |
| 49 | 'RECAPTCHA_PUBLIC' => 'Site key', |
| 50 | 'RECAPTCHA_PUBLIC_EXPLAIN' => 'Your site reCAPTCHA key. Keys can be obtained on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v2 > Invisible reCAPTCHA badge type.', |
| 51 | 'RECAPTCHA_V3_PUBLIC_EXPLAIN' => 'Your site reCAPTCHA key. Keys can be obtained on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v3.', |
| 52 | 'RECAPTCHA_PRIVATE' => 'Secret key', |
| 53 | 'RECAPTCHA_PRIVATE_EXPLAIN' => 'Your secret reCAPTCHA key. Keys can be obtained on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v2 > Invisible reCAPTCHA badge type.', |
| 54 | 'RECAPTCHA_V3_PRIVATE_EXPLAIN' => 'Your secret reCAPTCHA key. Keys can be obtained on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v3.', |
| 55 | |
| 56 | 'RECAPTCHA_V3_DOMAIN' => 'Request domain', |
| 57 | 'RECAPTCHA_V3_DOMAIN_EXPLAIN' => 'The domain to fetch the script from and to use when verifying the request.<br>Use <samp>recaptcha.net</samp> when <samp>google.com</samp> is not accessible.', |
| 58 | |
| 59 | 'RECAPTCHA_V3_METHOD' => 'Request method', |
| 60 | 'RECAPTCHA_V3_METHOD_EXPLAIN' => 'The method to use when verifying the request.<br>Disabled options are not available within your setup.', |
| 61 | 'RECAPTCHA_V3_METHOD_CURL' => 'cURL', |
| 62 | 'RECAPTCHA_V3_METHOD_POST' => 'POST', |
| 63 | 'RECAPTCHA_V3_METHOD_SOCKET' => 'Socket', |
| 64 | |
| 65 | 'RECAPTCHA_V3_THRESHOLD_DEFAULT' => 'Default threshold', |
| 66 | 'RECAPTCHA_V3_THRESHOLD_DEFAULT_EXPLAIN' => 'Used when none of the other actions are applicable.', |
| 67 | 'RECAPTCHA_V3_THRESHOLD_LOGIN' => 'Login threshold', |
| 68 | 'RECAPTCHA_V3_THRESHOLD_POST' => 'Post threshold', |
| 69 | 'RECAPTCHA_V3_THRESHOLD_REGISTER' => 'Register threshold', |
| 70 | 'RECAPTCHA_V3_THRESHOLD_REPORT' => 'Report threshold', |
| 71 | 'RECAPTCHA_V3_THRESHOLDS' => 'Thresholds', |
| 72 | 'RECAPTCHA_V3_THRESHOLDS_EXPLAIN' => 'reCAPTCHA v3 returns a score (<samp>1.0</samp> is very likely a good interaction, <samp>0.0</samp> is very likely a bot). Here you can set the minimum score per action.', |
| 73 | 'EMPTY_RECAPTCHA_V3_REQUEST_METHOD' => 'reCAPTCHA v3 requires to know which available method you want to use when verifying the request.', |
| 74 | ]); |