X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FTask%2FDelete.php;h=7dfc462beb749704ca0e03e538362fd36652c1b1;hb=99483ce807074cfd70987eb1d52fb5fddd94511c;hp=a2c11055d4e7e127263c65daa6ffb9d14f95e552;hpb=8fcf5238cd03c49cd9b17f14296151d48b7f48a1;p=civicrm-core.git diff --git a/CRM/Event/Form/Task/Delete.php b/CRM/Event/Form/Task/Delete.php index a2c11055d4..7dfc462beb 100644 --- a/CRM/Event/Form/Task/Delete.php +++ b/CRM/Event/Form/Task/Delete.php @@ -123,18 +123,13 @@ class CRM_Event_Form_Task_Delete extends CRM_Event_Form_Task { $deletedParticipants += $additionalCount; } - $status = array( - ts('Participant(s) Deleted: %1 (Total Selected: %2)', array( - 1 => $deletedParticipants, - 2 => count($this->_participantIds), - )), - ); - if (!empty($participantLinks)) { - $status[] = ts('The following participants no longer have an event fee recorded. You can edit their registration and record a replacement contribution by clicking the links below:') . '
' . $participantLinks; - } - foreach ($status as $text) { - CRM_Core_Session::setStatus($text, '', 'info'); + $status = ts('%count participant deleted.', array('plural' => '%count participants deleted.', 'count' => $deletedParticipants)); + + if ($participantLinks) { + $status .= '

' . ts('The following participants no longer have an event fee recorded. You can edit their registration and record a replacement contribution by clicking the links below:') + . '

' . $participantLinks; } + CRM_Core_Session::setStatus($status, ts('Removed'), 'info'); } }