CRM-15603 - Tame punctuation of 'This event is full!!!'
authorColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 23:59:16 +0000 (18:59 -0500)
committerColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 23:59:38 +0000 (18:59 -0500)
CRM/Event/BAO/Participant.php
tests/phpunit/CRM/Event/BAO/ParticipantTest.php

index ae042dab04112101d21e60a31885e8ac1a4f89c9..cfb52f7f7defcb79f2f250a0cf860a6a73214165 100644 (file)
@@ -406,7 +406,7 @@ class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
 INNER JOIN  civicrm_event event ON ( event.id = participant.event_id )
             {$whereClause}";
 
-      $eventFullText = ts('This event is full!!!');
+      $eventFullText = ts('This event is full.');
       $participants = CRM_Core_DAO::executeQuery($query, $eventParams);
       while ($participants->fetch()) {
         //oops here event is full and we don't want waiting count.
@@ -433,7 +433,7 @@ INNER JOIN  civicrm_event event ON ( event.id = participant.event_id )
             {$whereClause}";
 
     $eventMaxSeats = NULL;
-    $eventFullText = ts('This event is full !!!');
+    $eventFullText = ts('This event is full.');
     $participants  = CRM_Core_DAO::executeQuery($query, $eventParams);
     while ($participants->fetch()) {
       if ($participants->event_full_text) {
index 4d37a6630c8486bd0f848f151c93821647c16d1b..0b142eeff5d4d72e6104c6a36d1b299c8ddca9ef 100644 (file)
@@ -170,7 +170,7 @@ class CRM_Event_BAO_ParticipantTest extends CiviUnitTestCase {
     $participantId = Participant::create($this->_contactId, $this->_eventId);
     $eventFull = CRM_Event_BAO_Participant::eventFull($this->_eventId);
 
-    $this->assertEquals($eventFull, 'This event is full !!!', 'Checking if Event is full.');
+    $this->assertEquals($eventFull, 'This event is full.', 'Checking if Event is full.');
 
     Participant::delete($participantId);
     Contact::delete($this->_contactId);