CRM-15701 - Fix form rule error.
authorDave Greenberg <dave@civicrm.org>
Fri, 19 Dec 2014 23:22:01 +0000 (15:22 -0800)
committerDave Greenberg <dave@civicrm.org>
Fri, 19 Dec 2014 23:22:01 +0000 (15:22 -0800)
----------------------------------------
* CRM-15701:
  https://issues.civicrm.org/jira/browse/CRM-15701

CRM/Batch/Form/Entry.php

index 126034e90c1e3aff55fa7480dc62113de597e200..323f3b74b08e31f552f9533d874e207b2ff62bf6 100755 (executable)
@@ -302,7 +302,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form {
         $duplicateRows = array_keys($params["open_pledges"], $value);
         if (count($duplicateRows) > 1) {
           foreach ($duplicateRows as $key) {
-            $errors["open_pledges[$key]"] = ts('Open Pledge can not be same');
+            $errors["open_pledges[$key]"] = ts('You can not record two payments for the same pledge in a single batch.');
           }
         }
       }