From: Justin Freeman Date: Sun, 8 Dec 2019 04:45:52 +0000 (+1100) Subject: CIVICRM-1392 - Group, Update Smart Group uses different labels for Group Title and... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=34634ee0ec6ad1bacb6b086ac76991ae6babd26a;p=civicrm-core.git CIVICRM-1392 - Group, Update Smart Group uses different labels for Group Title and Group Description --- diff --git a/CRM/Contact/Form/Task/SaveSearch.php b/CRM/Contact/Form/Task/SaveSearch.php index 35d16a3d53..f8114ce8d1 100644 --- a/CRM/Contact/Form/Task/SaveSearch.php +++ b/CRM/Contact/Form/Task/SaveSearch.php @@ -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'] ); }