diff --git a/library/language/source/main.php b/library/language/source/main.php index ee7de900b..65fd05fd1 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -3073,6 +3073,7 @@ $lang['UPLOAD_ERRORS'] = [ $lang['CAPTCHA'] = 'Check that you are not a robot'; $lang['CAPTCHA_WRONG'] = 'You could not confirm that you are not a robot'; $lang['CAPTCHA_SETTINGS'] = '

Captcha is not fully configured

Generate the keys using the dashboard of your captcha service, after you need to put them at the file library/config.php.

'; +$lang['CAPTCHA_OCCURS_BACKGROUND'] = 'The CAPTCHA verification occurs in the background'; // Sending email $lang['REPLY_TO'] = 'Reply to'; diff --git a/src/Captcha/GoogleCaptchaV3.php b/src/Captcha/GoogleCaptchaV3.php index 4a8aed893..855066861 100644 --- a/src/Captcha/GoogleCaptchaV3.php +++ b/src/Captcha/GoogleCaptchaV3.php @@ -41,7 +41,9 @@ class GoogleCaptchaV3 implements CaptchaInterface */ public function get(): string { - return " + global $lang; + + return "{$lang['CAPTCHA_OCCURS_BACKGROUND']}