+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2019 |
+ | Copyright CiviCRM LLC (c) 2004-2020 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2019
+ * @copyright CiviCRM LLC (c) 2004-2020
*/
/**
$this->addButtons([
[
'type' => 'submit',
- 'name' => ts('Update ' . ucfirst($this::$entityShortname) . 's)'),
+ 'name' => ts('Update'),
'isDefault' => TRUE,
],
[
// 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);