Update copyright date for 2020
[civicrm-core.git] / CRM / Core / Form / Task / Batch.php
index 2e86f420ff2f1a1171795dba41331930c3b4b23f..b68131cd1827615bd009bb74bd73b5e778f416bb 100644 (file)
@@ -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);