Merge pull request #13289 from mfb/pear-mail
[civicrm-core.git] / CRM / Report / Form / Event / Summary.php
index 789733b8247cd3d0b0099dcd870397f5fe39f019..0d689cc848b29a4700cb7368b18c95d3ea2f188c 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018                                |
+ | Copyright CiviCRM LLC (c) 2004-2019                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,9 +28,9 @@
 /**
  *
  * @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;
 
@@ -356,9 +356,9 @@ class CRM_Report_Form_Event_Summary extends CRM_Report_Form_Event {
       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) {