From fe85f63d359d7619ff501eeef96a4459592ebba1 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Mon, 11 Apr 2022 13:58:26 -0400 Subject: [PATCH] getSelfServiceEligibility: fix string translation --- CRM/Event/BAO/Participant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index ec9a4eb7af..bc50f8b9ee 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -1869,7 +1869,7 @@ WHERE civicrm_participant.contact_id = {$contactID} AND //verify participant status is still Registered if ($details['status'] != 'Registered') { $details['eligible'] = FALSE; - $details['ineligible_message'] = "You cannot transfer or cancel your registration for " . $eventTitle . ' as you are not currently registered for this event.'; + $details['ineligible_message'] = ts('You cannot transfer or cancel your registration for %1 as you are not currently registered for this event.', [1 => $eventTitle]); return $details; } // Determine if it's too late to self-service cancel/transfer. -- 2.25.1