Commit 3bd48a28 authored by colemanw's avatar colemanw

CRM-15603 - Standardize case of 'Assigned to'

parent aee9e297
......@@ -64,7 +64,7 @@ class CRM_ACL_Form_EntityRole extends CRM_Admin_Form {
$label = ts('Assigned To');
$label = ts('Assigned to');
$group = array('' => ts('- select group -')) + CRM_Core_PseudoConstant::staticGroup(FALSE, 'Access');
$this->add('select', 'entity_id', $label, $group, TRUE, array('class' => 'crm-select2 huge'));
......
......@@ -179,12 +179,12 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
),
'assignee_contact_id' => array(
'type' => 'entityRef',
'label' => ts('Assigned To'),
'label' => ts('Assigned to'),
'attributes' => array('multiple' => TRUE, 'create' => TRUE, 'api' => array('params' => array('is_deceased' => 0))),
),
'followup_assignee_contact_id' => array(
'type' => 'entityRef',
'label' => ts('Assigned To'),
'label' => ts('Assigned to'),
'attributes' => array('multiple' => TRUE, 'create' => TRUE, 'api' => array('params' => array('is_deceased' => 0))),
),
'followup_activity_type_id' => array(
......
......@@ -83,7 +83,7 @@ class CRM_Activity_Form_Task_Batch extends CRM_Activity_Form_Task {
$contactDetails = CRM_Contact_BAO_Contact_Utils::contactDetails($this->_activityHolderIds,
'Activity', $returnProperties
);
$readOnlyFields['assignee_display_name'] = ts('Assigned To');
$readOnlyFields['assignee_display_name'] = ts('Assigned to');
if(!empty($contactDetails)) {
foreach($contactDetails as $key => $value){
$assignee = CRM_Activity_BAO_ActivityAssignment::retrieveAssigneeIdsByActivityId($key);
......
......@@ -466,7 +466,7 @@ WHERE a.id = %1
}
$assigneeContacts = implode(', ', $assignee_contact_names);
$activity['fields'][] = array(
'label' => ts('Assigned To'),
'label' => ts('Assigned to'),
'value' => $assigneeContacts,
'type' => 'String',
);
......
......@@ -335,7 +335,7 @@ class CRM_Report_Form_Contact_Detail extends CRM_Report_Form {
'fields' =>
array(
'assignee_contact_id' =>
array('title' => ts('Assigned To'),
array('title' => ts('Assigned to'),
'name' => 'contact_id',
'default' => TRUE,
),
......
......@@ -47,7 +47,7 @@
<thead>
<tr class="columnheader">
<th id="sortable">{ts}ACL Role{/ts}</th>
<th>{ts}Assigned To{/ts}</th>
<th>{ts}Assigned to{/ts}</th>
<th>{ts}Enabled?{/ts}</th>
<th></th>
</tr>
......
......@@ -38,7 +38,7 @@
<td>{ts}Subject{/ts}</td>
<td>{ts}Added By{/ts}</td>
<td>{ts}With{/ts}</td>
<td>{ts}Assigned To{/ts}</td>
<td>{ts}Assigned to{/ts}</td>
<td>{ts}Date{/ts}</td>
<td>{ts}Status{/ts}</td>
</tr>
......
......@@ -141,7 +141,7 @@ class WebTest_Activity_ContactContextAddTest extends CiviSeleniumTestCase {
$this->webtestVerifyTabularData(
array(
'With Contact' => "Anderson, {$firstName2}",
'Assigned To' => "Summerson, {$firstName1}",
'Assigned to' => "Summerson, {$firstName1}",
),
"/label"
);
......
......@@ -158,7 +158,7 @@ class WebTest_Activity_StandaloneAddTest extends CiviSeleniumTestCase {
$this->VerifyTabularData(
array(
'With Contact' => "Anderson, {$firstName1}",
'Assigned To' => "Summerson, {$firstName2}",
'Assigned to' => "Summerson, {$firstName2}",
),
"/label"
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment