MDL-25979 signup: Usability message for recaptcha label form
authorPau Ferrer Ocaña <crazyserver@gmail.com>
Thu, 11 Dec 2014 09:32:20 +0000 (10:32 +0100)
committercrazyserver <crazyserver@gmail.com>
Mon, 22 Dec 2014 09:40:17 +0000 (10:40 +0100)
lang/en/auth.php
login/signup_form.php

index 6c892f9..4d22529 100644 (file)
@@ -130,6 +130,7 @@ $string['recaptcha_help'] = 'The CAPTCHA is for preventing abuse from automated
 
 If you are not sure what the words are, you can try getting another CAPTCHA or an audio CAPTCHA.';
 $string['recaptcha_link'] = 'auth/email';
+$string['security_question'] = 'Security question';
 $string['selfregistration'] = 'Self registration';
 $string['selfregistration_help'] = 'If an authentication plugin, such as email-based self-registration, is selected, then it enables potential users to register themselves and create accounts. This results in the possibility of spammers creating accounts in order to use forum posts, blog entries etc. for spam. To avoid this risk, self-registration should be disabled or limited by <em>Allowed email domains</em> setting.';
 $string['sha1'] = 'SHA-1 hash';
index 71ad670..8a0dbed 100644 (file)
@@ -89,7 +89,7 @@ class login_signup_form extends moodleform {
         }
 
         if ($this->signup_captcha_enabled()) {
-            $mform->addElement('recaptcha', 'recaptcha_element', get_string('recaptcha', 'auth'), array('https' => $CFG->loginhttps));
+            $mform->addElement('recaptcha', 'recaptcha_element', get_string('security_question', 'auth'), array('https' => $CFG->loginhttps));
             $mform->addHelpButton('recaptcha_element', 'recaptcha', 'auth');
         }