From aa6228f8b7da5e0cfaa137b1c8ab6273e0e66c4d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 15 Nov 2014 22:05:02 -0500 Subject: [PATCH] CRM-15603 - Standardize case of 'Participant ID' --- CRM/Contact/Form/Search/Custom/PriceSet.php | 2 +- CRM/Event/BAO/Event.php | 2 +- CRM/Report/Form/Extended.php | 2 +- tests/phpunit/WebTest/Event/ParticipantCountTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Contact/Form/Search/Custom/PriceSet.php b/CRM/Contact/Form/Search/Custom/PriceSet.php index 9fef7ee492..90b4ad68d0 100644 --- a/CRM/Contact/Form/Search/Custom/PriceSet.php +++ b/CRM/Contact/Form/Search/Custom/PriceSet.php @@ -224,7 +224,7 @@ AND p.entity_id = e.id function setColumns() { $this->_columns = array( ts('Contact ID') => 'contact_id', - ts('Participant Id') => 'participant_id', + ts('Participant ID') => 'participant_id', ts('Name') => 'display_name', ); diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 41d88e3452..f73f6ece15 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -1287,7 +1287,7 @@ WHERE civicrm_event.is_active = 1 //add participant id $fields['participant_id'] = array( 'name' => 'participant_id', - 'title' => 'Participant Id', + 'title' => ts('Participant ID'), ); //check whether its a text drive if ($isTest) { diff --git a/CRM/Report/Form/Extended.php b/CRM/Report/Form/Extended.php index 355a5eb1a6..e6b93e18c0 100644 --- a/CRM/Report/Form/Extended.php +++ b/CRM/Report/Form/Extended.php @@ -324,7 +324,7 @@ class CRM_Report_Form_Extended extends CRM_Report_Form { array('participant_id' => array('title' => 'Participant ID'), 'participant_record' => array( 'name' => 'id', - 'title' => 'Participant Id', + 'title' => ts('Participant ID'), ), 'event_id' => array('title' => ts('Event ID'), 'type' => CRM_Utils_Type::T_STRING, diff --git a/tests/phpunit/WebTest/Event/ParticipantCountTest.php b/tests/phpunit/WebTest/Event/ParticipantCountTest.php index 2e7a16d6ee..0993e50767 100644 --- a/tests/phpunit/WebTest/Event/ParticipantCountTest.php +++ b/tests/phpunit/WebTest/Event/ParticipantCountTest.php @@ -448,7 +448,7 @@ class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase { $this->click('_qf_Custom_refresh-bottom'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $tableHeaders = array('Contact ID', 'Participant Id', 'Name'); + $tableHeaders = array('Contact ID', 'Participant ID', 'Name'); $tableHeaders = array_merge($tableHeaders, array_keys(current($priceFieldOptionCounts))); $tdnum = 2; -- 2.25.1