Merge pull request #12303 from totten/master-redis-errmsg
[civicrm-core.git] / CRM / Utils / ReCAPTCHA.php
index bf4177f0fd2e510d717f97ca89a821f45bbaf497..de4021bb1f938298699761021db931c4ccb39d17 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2018                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2018
  */
 class CRM_Utils_ReCAPTCHA {
 
@@ -94,7 +94,7 @@ class CRM_Utils_ReCAPTCHA {
     if ($form->isSubmitted() && empty($form->_submitValues['g-recaptcha-response'])) {
       $form->setElementError(
         'g-recaptcha-response',
-        ts('Input text must match the phrase in the image. Please review the image and re-enter matching text.')
+        ts('Please go back and complete the CAPTCHA at the bottom of this form.')
       );
     }
   }