diff --git a/CRM/Campaign/Form/Search.php b/CRM/Campaign/Form/Search.php index abfa2fa313a2..e622c0521fb5 100644 --- a/CRM/Campaign/Form/Search.php +++ b/CRM/Campaign/Form/Search.php @@ -405,7 +405,7 @@ public function fixFormValues() { $surveyId = key(CRM_Campaign_BAO_Survey::getSurveys(TRUE, TRUE)); } if (!$surveyId) { - CRM_Core_Error::statusBounce('Could not find valid Survey Id.'); + CRM_Core_Error::statusBounce(ts('Could not find valid Survey Id.')); } $this->_formValues['campaign_survey_id'] = $this->_formValues['campaign_survey_id'] = $surveyId; diff --git a/CRM/Case/Form/Activity.php b/CRM/Case/Form/Activity.php index 78f14d286bd5..3d202f1043f5 100644 --- a/CRM/Case/Form/Activity.php +++ b/CRM/Case/Form/Activity.php @@ -97,7 +97,7 @@ public function preProcess() { if (!$this->_caseId || (!$this->_activityId && !$this->_activityTypeId) ) { - CRM_Core_Error::statusBounce('required params missing.'); + CRM_Core_Error::statusBounce(ts('required params missing.')); } //check for case activity access.