CRM-15603 - Standardize punctuation of 'Event templates are not meant to be registered.'
authorColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 03:38:25 +0000 (22:38 -0500)
committerColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 13:41:38 +0000 (08:41 -0500)
CRM/Utils/DeprecatedUtils.php
api/v3/Participant.php

index 900f6ef8a56468919d28d4e31038e9d50e86e747..48223ecf4ef416ded63eb60dec3de4e3e101def8 100644 (file)
@@ -1263,7 +1263,7 @@ function _civicrm_api3_deprecated_participant_check_params($params, $checkDuplic
   if (!empty($params['event_id'])) {
     $isTemplate = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $params['event_id'], 'is_template');
     if (!empty($isTemplate)) {
-      return civicrm_api3_create_error(ts('Event templates are not meant to be registered'));
+      return civicrm_api3_create_error(ts('Event templates are not meant to be registered.'));
     }
   }
 
index 3396f7280d250e3cde6eeced583ce56598967237..40b2be3f0531d1a170ef14f709ad78ebed22218b 100644 (file)
@@ -59,7 +59,7 @@ function civicrm_api3_participant_create($params) {
   if (!empty($params['event_id'])) {
     $isTemplate = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $params['event_id'], 'is_template');
     if (!empty($isTemplate)) {
-      return civicrm_api3_create_error(ts('Event templates are not meant to be registered'));
+      return civicrm_api3_create_error(ts('Event templates are not meant to be registered.'));
     }
   }