X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FForm%2FTask%2FBatch.php;h=b68131cd1827615bd009bb74bd73b5e778f416bb;hb=f299f7db79fed6f3598c84302966bda087e7cac3;hp=2e86f420ff2f1a1171795dba41331930c3b4b23f;hpb=4bea5552d37a82f57144d027f37af62695fb0e8c;p=civicrm-core.git diff --git a/CRM/Core/Form/Task/Batch.php b/CRM/Core/Form/Task/Batch.php index 2e86f420ff..b68131cd18 100644 --- a/CRM/Core/Form/Task/Batch.php +++ b/CRM/Core/Form/Task/Batch.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2019 | + | Copyright CiviCRM LLC (c) 2004-2020 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -27,7 +27,7 @@ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2019 + * @copyright CiviCRM LLC (c) 2004-2020 */ /** @@ -133,7 +133,7 @@ class CRM_Core_Form_Task_Batch extends CRM_Core_Form_Task { $this->addButtons([ [ 'type' => 'submit', - 'name' => ts('Update ' . ucfirst($this::$entityShortname) . 's)'), + 'name' => ts('Update'), 'isDefault' => TRUE, ], [ @@ -175,10 +175,10 @@ class CRM_Core_Form_Task_Batch extends CRM_Core_Form_Task { // don't set the status message when form is submitted. $buttonName = $this->controller->getButtonName('submit'); if ($suppressFields && $buttonName != '_qf_Batch_next') { - CRM_Core_Session::setStatus(ts("File type field(s) in the selected profile are not supported for Update multiple %1s", [1 => $this::$entityShortname]), ts('Unsupported Field Type'), 'error'); + CRM_Core_Session::setStatus(ts("File type fields in the selected profile are not supported for Update multiple %1s", [1 => $this::$entityShortname]), ts('Unsupported Field Type'), 'error'); } - $this->addDefaultButtons(ts('Update ' . ucfirst($this::$entityShortname) . 's')); + $this->addDefaultButtons(ts('Update')); $taskComponent['lc'] = $this::$entityShortname; $taskComponent['ucfirst'] = ucfirst($this::$entityShortname);