CIVICRM-1392 - Group, Update Smart Group uses different labels for Group Title and...
authorJustin Freeman <justin@agileware.com.au>
Sun, 8 Dec 2019 04:45:52 +0000 (15:45 +1100)
committerJustin Freeman <justin@agileware.com.au>
Sun, 8 Dec 2019 04:45:52 +0000 (15:45 +1100)
CRM/Contact/Form/Task/SaveSearch.php

index 35d16a3d53f20b8949b0db0d4942f3e60f3d50fb..f8114ce8d1d53511c2b3f4ce0688ddf4079ab060 100644 (file)
@@ -74,11 +74,11 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task {
     $formValues = $this->controller->exportValues();
 
     // the name and description are actually stored with the group and not the saved search
-    $this->add('text', 'title', ts('Name'),
+    $this->add('text', 'title', ts('Group Title'),
       CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Group', 'title'), TRUE
     );
 
-    $this->addElement('textarea', 'description', ts('Description'),
+    $this->addElement('textarea', 'description', ts('Group Description'),
       CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Group', 'description')
     );
 
@@ -121,7 +121,7 @@ class CRM_Contact_Form_Task_SaveSearch extends CRM_Contact_Form_Task {
       $this->addDefaultButtons(ts('Save Smart Group'));
       $this->assign('partiallySelected', $formValues['radio_ts'] != 'ts_all');
     }
-    $this->addRule('title', ts('Name already exists in Database.'),
+    $this->addRule('title', ts('Group Title already exists in Database.'),
       'objectExists', ['CRM_Contact_DAO_Group', $groupID, 'title']
     );
   }