From 9da3a1251a98f44facb07d5cc5efc0d7b81567ce Mon Sep 17 00:00:00 2001 From: Jon <1796012+MegaphoneJon@users.noreply.github.com> Date: Wed, 16 Jun 2021 10:09:32 -0400 Subject: [PATCH] Update CRM/Mailing/BAO/Mailing.php Co-authored-by: demeritcowboy --- CRM/Mailing/BAO/Mailing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 7cb36cdede..2e53e4a388 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -399,7 +399,7 @@ class CRM_Mailing_BAO_Mailing extends CRM_Mailing_DAO_Mailing { */ public static function getLocationFilterAndOrderBy($email_selection_method, $location_type_id) { if ($email_selection_method !== 'automatic' && !$location_type_id) { - throw new \CRM_Core_Exception('You set an email Selection Method without specifying a Location Type. Please go back and change your recipient settings (using the wrench icon next to "Recipients".'); + throw new \CRM_Core_Exception(ts('You have selected an email Selection Method without specifying a Location Type. Please go back and change your recipient settings (using the wrench icon next to "Recipients").')); } $email = CRM_Core_DAO_Email::getTableName(); // Note: When determining the ORDER that results are returned, it's -- 2.25.1