From 7f12f0445569af4389fbec590ad440bbb75a1f04 Mon Sep 17 00:00:00 2001 From: joannechester Date: Wed, 14 Oct 2015 07:44:19 +1100 Subject: [PATCH] smart-group-changes --- CRM/Contact/Task.php | 4 ++-- CRM/Event/Task.php | 4 ++-- templates/CRM/Contact/Form/Search/Advanced.hlp | 2 +- tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CRM/Contact/Task.php b/CRM/Contact/Task.php index b175d8f076..cf83c707c6 100644 --- a/CRM/Contact/Task.php +++ b/CRM/Contact/Task.php @@ -118,12 +118,12 @@ class CRM_Contact_Task { 'class' => 'CRM_Activity_Form_Activity', ), self::SAVE_SEARCH => array( - 'title' => ts('Smart group - create'), + 'title' => ts('Group - create smart group'), 'class' => 'CRM_Contact_Form_Task_SaveSearch', 'result' => TRUE, ), self::SAVE_SEARCH_UPDATE => array( - 'title' => ts('Smart group - update'), + 'title' => ts('Group - update smart group'), 'class' => 'CRM_Contact_Form_Task_SaveSearch_Update', 'result' => TRUE, ), diff --git a/CRM/Event/Task.php b/CRM/Event/Task.php index 0d674fde9d..a69141d5e2 100644 --- a/CRM/Event/Task.php +++ b/CRM/Event/Task.php @@ -106,12 +106,12 @@ class CRM_Event_Task { 'result' => TRUE, ), 13 => array( - 'title' => ts('Smart group - create'), + 'title' => ts('Group - create smart group'), 'class' => 'CRM_Event_Form_Task_SaveSearch', 'result' => TRUE, ), 14 => array( - 'title' => ts('Smart group - update'), + 'title' => ts('Group - update smart group'), 'class' => 'CRM_Event_Form_Task_SaveSearch_Update', 'result' => TRUE, ), diff --git a/templates/CRM/Contact/Form/Search/Advanced.hlp b/templates/CRM/Contact/Form/Search/Advanced.hlp index 6bec466fe3..5e5d9e5ae3 100644 --- a/templates/CRM/Contact/Form/Search/Advanced.hlp +++ b/templates/CRM/Contact/Form/Search/Advanced.hlp @@ -35,7 +35,7 @@ {ts}Smart Group{/ts} {/htxt} {htxt id='id-advanced-smart'} -

{ts}If you've changed search criteria for this 'smart group' and want to save your changes, select Smart group - update from the '- more actions -' drop-down menu, and then click Go.{/ts}

+

{ts}If you've changed search criteria for this 'smart group' and want to save your changes, select Group - update smart group from the '- more actions -' drop-down menu{/ts}

{/htxt} {htxt id="id-privacy-title"} diff --git a/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php b/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php index 464f5ba27c..09874f99ed 100755 --- a/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php +++ b/tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php @@ -107,7 +107,7 @@ class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase { $this->type("first_name", $firstName); $this->type("last_name", $lastName); $this->click("edit-submit"); - $this->waitForPageToLoad($this->getTimeoutMsec()); + $this->Batch Update Participants Via PrwaitForPageToLoad($this->getTimeoutMsec()); $permissions = array("edit-{$roleId}-access-civicrm"); $this->changePermissions($permissions); @@ -140,7 +140,7 @@ class WebTest_ACL_AssignUsersToRolesTest extends CiviSeleniumTestCase { $this->waitForElementPresent("task"); $this->click('radio_ts', 'ts_all'); $this->click('task'); - $this->select('task', 'label=Smart group - create'); + $this->select('task', 'label=Group - create smart group'); $this->waitForPageToLoad($this->getTimeoutMsec()); $smartGroupTitle = "SmartGroup" . substr(sha1(rand()), 0, 4); $this->type("title", $smartGroupTitle); -- 2.25.1