CRM-18972: List of strings that cannot be localized cause the absence of ts() function
[civicrm-core.git] / CRM / Report / Form / Contribute / Bookkeeping.php
index 1f818f4f74e40ba4eb1ab4d7f312ea4c9792270c..7dc7fcb79a9fe54ad53532189774f7ccc83422bc 100644 (file)
@@ -312,7 +312,7 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
             'options' => CRM_Contribute_PseudoConstant::paymentInstrument(),
           ),
           'currency' => array(
-            'title' => 'Currency',
+            'title' => ts('Currency'),
             'operatorType' => CRM_Report_Form::OP_MULTISELECT,
             'options' => CRM_Core_OptionGroup::values('currencies_enabled'),
             'default' => NULL,
@@ -560,12 +560,12 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
 
     $statistics['counts']['amount'] = array(
       'value' => implode(', ', $amount),
-      'title' => 'Total Amount',
+      'title' => ts('Total Amount'),
       'type' => CRM_Utils_Type::T_STRING,
     );
     $statistics['counts']['avg'] = array(
       'value' => implode(', ', $avg),
-      'title' => 'Average',
+      'title' => ts('Average'),
       'type' => CRM_Utils_Type::T_STRING,
     );
     return $statistics;