- $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:') . '<br/>' . $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 .= '<p>' . 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:')
+ . '</p>' . $participantLinks;