We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044d249 commit 212fb14Copy full SHA for 212fb14
1 file changed
Classes/Validation/RecaptchaValidator.php
@@ -34,7 +34,7 @@ public function isValid(mixed $value): void
34
{
35
$status = $this->captchaService->validateReCaptcha((string)$value);
36
if ($status['error'] !== '') {
37
- $errorText = LocalizationUtility::translate('recaptcha.messages:error_recaptcha_' . $status['error']);
+ $errorText = LocalizationUtility::translate('error_recaptcha_' . $status['error'], 'recaptcha');
38
39
if (empty($errorText)) {
40
$errorText = htmlspecialchars($status['error']);
0 commit comments