mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15937] Google reCAPTCHA v3 Plugin
PHPBB3-15937
This commit is contained in:
@@ -37,16 +37,39 @@ if (empty($lang) || !is_array($lang))
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
'RECAPTCHA_LANG' => 'en-GB', // Find the language/country code on https://developers.google.com/recaptcha/docs/language - If no code exists for your language you can use "en" or leave the string empty
|
||||
'RECAPTCHA_NOT_AVAILABLE' => 'In order to use reCaptcha, you must create an account on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>.',
|
||||
'CAPTCHA_RECAPTCHA' => 'reCaptcha',
|
||||
// Find the language/country code on https://developers.google.com/recaptcha/docs/language
|
||||
// If no code exists for your language you can use "en" or leave the string empty
|
||||
'RECAPTCHA_LANG' => 'en-GB',
|
||||
|
||||
'CAPTCHA_RECAPTCHA' => 'reCaptcha v2',
|
||||
'CAPTCHA_RECAPTCHA_V3' => 'reCaptcha v3',
|
||||
|
||||
'RECAPTCHA_INCORRECT' => 'The solution you provided was incorrect',
|
||||
'RECAPTCHA_NOSCRIPT' => 'Please enable JavaScript in your browser to load the challenge.',
|
||||
'RECAPTCHA_NOT_AVAILABLE' => 'In order to use reCaptcha, you must create an account on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>.',
|
||||
|
||||
'RECAPTCHA_PUBLIC' => 'Site key',
|
||||
'RECAPTCHA_PUBLIC_EXPLAIN' => 'Your site reCAPTCHA key. Keys can be obtained on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v2 > Invisible reCAPTCHA badge type.',
|
||||
'RECAPTCHA_V3_PUBLIC_EXPLAIN' => 'Your site reCAPTCHA key. Keys can be obtained on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v3.',
|
||||
'RECAPTCHA_PRIVATE' => 'Secret key',
|
||||
'RECAPTCHA_PRIVATE_EXPLAIN' => 'Your secret reCAPTCHA key. Keys can be obtained on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v2 > Invisible reCAPTCHA badge type.',
|
||||
'RECAPTCHA_V3_PRIVATE_EXPLAIN' => 'Your secret reCAPTCHA key. Keys can be obtained on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v3.',
|
||||
|
||||
'RECAPTCHA_INVISIBLE' => 'This CAPTCHA is actually invisible. To verify that it works, a small icon should appear in right bottom corner of this page.',
|
||||
|
||||
'RECAPTCHA_V3_DOMAIN' => 'Request domain',
|
||||
'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.',
|
||||
'RECAPTCHA_V3_METHOD' => 'Request method',
|
||||
'RECAPTCHA_V3_METHOD_EXPLAIN' => 'The method to use when verifying the request.<br>Disabled options are not available within your setup.',
|
||||
'RECAPTCHA_V3_METHOD_CURL' => 'cURL',
|
||||
'RECAPTCHA_V3_METHOD_POST' => 'POST',
|
||||
'RECAPTCHA_V3_METHOD_SOCKET' => 'Socket',
|
||||
'RECAPTCHA_V3_THRESHOLD' => 'Default threshold',
|
||||
'RECAPTCHA_V3_THRESHOLD_EXPLAIN' => 'Used when none of the other actions are applicable.',
|
||||
'RECAPTCHA_V3_THRESHOLD_LOGIN' => 'Login threshold',
|
||||
'RECAPTCHA_V3_THRESHOLD_POST' => 'Post threshold',
|
||||
'RECAPTCHA_V3_THRESHOLD_REGISTER' => 'Register threshold',
|
||||
'RECAPTCHA_V3_THRESHOLD_REPORT' => 'Report threshold',
|
||||
'RECAPTCHA_V3_THRESHOLDS' => 'Thresholds',
|
||||
'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.',
|
||||
));
|
||||
|
Reference in New Issue
Block a user