fixed missing ts() for activiy types in advanced search
authorNiko Bochan <bochan@systopia.de>
Wed, 13 Jan 2016 09:17:08 +0000 (10:17 +0100)
committerNiko Bochan <bochan@systopia.de>
Wed, 13 Jan 2016 09:17:08 +0000 (10:17 +0100)
CRM/Activity/BAO/Query.php

index 2626bd2b25d2cb68ff0c8bec72d6826469ad28cf..2f241f9a48f3611c7326d3a2be4d07aa63667fcc 100644 (file)
@@ -411,7 +411,7 @@ class CRM_Activity_BAO_Query {
   public static function buildSearchForm(&$form) {
     $activityOptions = CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'label', TRUE);
     $form->addSelect('activity_type_id',
-      array('entity' => 'activity', 'label' => 'Activity Type(s)', 'multiple' => 'multiple', 'option_url' => NULL, 'placeholder' => ts('- any -'))
+      array('entity' => 'activity', 'label' => ts('Activity Type(s)'), 'multiple' => 'multiple', 'option_url' => NULL, 'placeholder' => ts('- any -'))
     );
 
     CRM_Core_Form_Date::buildDateRange($form, 'activity_date', 1, '_low', '_high', ts('From'), FALSE, FALSE);