X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPage%2FParticipantListing.php;h=23ec40564531ef7b3dbcac5fbcad1be3e8cf5fdb;hb=5da8912f50ce6b6b9a72a7ad587d7d0ec9ea1e6a;hp=6d58554a3724339aef5a7135a86ee7a0492dcd7c;hpb=81e96a1ab27286d278f90dae4e57ff2a3a6256c9;p=civicrm-core.git diff --git a/CRM/Event/Page/ParticipantListing.php b/CRM/Event/Page/ParticipantListing.php index 6d58554a37..23ec405645 100644 --- a/CRM/Event/Page/ParticipantListing.php +++ b/CRM/Event/Page/ParticipantListing.php @@ -27,7 +27,7 @@ class CRM_Event_Page_ParticipantListing extends CRM_Core_Page { public function preProcess() { $this->_id = CRM_Utils_Request::retrieve('id', 'Integer', $this, TRUE); - // ensure that there is a particpant type for this + // ensure that there is a participant type for this $this->_participantListingID = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $this->_id, 'participant_listing_id' @@ -75,7 +75,7 @@ class CRM_Event_Page_ParticipantListing extends CRM_Core_Page { ) . '.php'; $error = include_once $classFile; if ($error == FALSE) { - CRM_Core_Error::statusBounce('Participant listing code file: ' . $classFile . ' does not exist. Please verify your custom particpant listing settings in CiviCRM administrative panel.'); + CRM_Core_Error::statusBounce(ts('Participant listing code file: %1 does not exist. Please verify your custom participant listing settings in CiviCRM administrative panel.', [1 => $classFile])); } $participantListingClass = new $className();