+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*/
-class CRM_Report_Form_Event_Summary extends CRM_Report_Form_Event {
+class CRM_Report_Form_Event_Summary extends CRM_Report_Form {
protected $_summary = NULL;
if ((!empty($rows)) && $countEvent != 1) {
$config = CRM_Core_Config::Singleton();
$chartInfo = array(
- 'legend' => 'Event Summary',
- 'xname' => 'Event',
- 'yname' => "Total Amount ({$config->defaultCurrency})",
+ 'legend' => ts('Event Summary'),
+ 'xname' => ts('Event'),
+ 'yname' => ts('Total Amount (%1)', array(1 => $config->defaultCurrency)),
);
if (!empty($graphRows)) {
foreach ($graphRows[$this->_interval] as $key => $val) {