From 79dc94e4317c0f0354b7e0bc43f0a2c7d38d4d48 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 15 Nov 2014 21:07:27 -0500 Subject: [PATCH] CRM-15603 - Standardize case & punctuation of 'Autocomplete-Select' --- CRM/Contribute/Form/Task/Batch.php | 2 +- CRM/Core/SelectValues.php | 2 +- CRM/Custom/Form/Field.php | 4 ++-- CRM/Event/Form/Task/Batch.php | 2 +- CRM/Member/Form/Task/Batch.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CRM/Contribute/Form/Task/Batch.php b/CRM/Contribute/Form/Task/Batch.php index b302acfded..ddf3079311 100644 --- a/CRM/Contribute/Form/Task/Batch.php +++ b/CRM/Contribute/Form/Task/Batch.php @@ -184,7 +184,7 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task { $buttonName = $this->controller->getButtonName('submit'); if ($suppressFields && $buttonName != '_qf_Batch_next') { - CRM_Core_Session::setStatus(ts("FILE or Autocomplete Select type field(s) in the selected profile are not supported for Batch Update and have been excluded."), ts('Unsupported Field Type'), 'error'); + CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Batch Update."), ts('Unsupported Field Type'), 'error'); } $this->addDefaultButtons(ts('Update Contributions')); diff --git a/CRM/Core/SelectValues.php b/CRM/Core/SelectValues.php index aad0c836ff..68685aa5ed 100644 --- a/CRM/Core/SelectValues.php +++ b/CRM/Core/SelectValues.php @@ -169,7 +169,7 @@ class CRM_Core_SelectValues { 'Multi-Select' => ts('Multi-Select'), 'AdvMulti-Select' => ts('AdvMulti-Select'), 'Link' => ts('Link'), - 'ContactReference' => ts('Autocomplete Select'), + 'ContactReference' => ts('Autocomplete-Select'), ); } diff --git a/CRM/Custom/Form/Field.php b/CRM/Custom/Form/Field.php index f15bf18cf4..7a949990d4 100644 --- a/CRM/Custom/Form/Field.php +++ b/CRM/Custom/Form/Field.php @@ -139,7 +139,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { array('Text' => ts('Text'), 'Select' => ts('Select'), 'Radio' => ts('Radio'), 'CheckBox' => ts('CheckBox'), 'Multi-Select' => ts('Multi-Select'), 'AdvMulti-Select' => ts('Adv Multi-Select (obsolete)'), - 'Autocomplete-Select' => ts('Autocomplete Select'), + 'Autocomplete-Select' => ts('Autocomplete-Select'), ), array('Text' => ts('Text'), 'Select' => ts('Select'), 'Radio' => ts('Radio'), @@ -157,7 +157,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form { array('Country' => ts('Select Country'), 'Multi-Select' => ts('Multi-Select Country ')), array('File' => ts('Select File')), array('Link' => ts('Link')), - array('ContactReference' => ts('Autocomplete Select')), + array('ContactReference' => ts('Autocomplete-Select')), ); } } diff --git a/CRM/Event/Form/Task/Batch.php b/CRM/Event/Form/Task/Batch.php index 95b96d7196..480f90926f 100644 --- a/CRM/Event/Form/Task/Batch.php +++ b/CRM/Event/Form/Task/Batch.php @@ -227,7 +227,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { $buttonName = $this->controller->getButtonName('submit'); if ($suppressFields && $buttonName != '_qf_Batch_next') { - CRM_Core_Session::setStatus(ts("FILE or Autocomplete Select type field(s) in the selected profile are not supported for Batch Update and have been excluded."), ts('Unsupported Field Type'), 'info'); + CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Batch Update."), ts('Unsupported Field Type'), 'info'); } $this->addDefaultButtons(ts('Update Participant(s)')); diff --git a/CRM/Member/Form/Task/Batch.php b/CRM/Member/Form/Task/Batch.php index 4aac56f4ac..349400c242 100644 --- a/CRM/Member/Form/Task/Batch.php +++ b/CRM/Member/Form/Task/Batch.php @@ -183,7 +183,7 @@ class CRM_Member_Form_Task_Batch extends CRM_Member_Form_Task { $buttonName = $this->controller->getButtonName('submit'); if ($suppressFields && $buttonName != '_qf_Batch_next') { - CRM_Core_Session::setStatus(ts("FILE or Autocomplete Select type field(s) in the selected profile are not supported for Batch Update and have been excluded."), ts('Unsupport Field Type'), 'error'); + CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Batch Update."), ts('Unsupported Field Type'), 'error'); } $this->addDefaultButtons(ts('Update Memberships')); -- 2.25.1