Skip to content

Commit

Permalink
Merge pull request #15774 from seamuslee001/eileen_ts_15770
Browse files Browse the repository at this point in the history
Add in translation function around newly converted statusBounce messages
  • Loading branch information
seamuslee001 authored Nov 8, 2019
2 parents fe8d0a0 + 644f8aa commit e5f19ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CRM/Campaign/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion CRM/Case/Form/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e5f19ba

Please sign in to comment.