From: Coleman Watts <coleman@civicrm.org> Date: Sun, 16 Nov 2014 03:38:25 +0000 (-0500) Subject: CRM-15603 - Standardize punctuation of 'Event templates are not meant to be registered.' X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3770b22aa5f8670964ffdef8b33b4ad1af3da599;p=civicrm-core.git CRM-15603 - Standardize punctuation of 'Event templates are not meant to be registered.' --- diff --git a/CRM/Utils/DeprecatedUtils.php b/CRM/Utils/DeprecatedUtils.php index 900f6ef8a5..48223ecf4e 100644 --- a/CRM/Utils/DeprecatedUtils.php +++ b/CRM/Utils/DeprecatedUtils.php @@ -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.')); } } diff --git a/api/v3/Participant.php b/api/v3/Participant.php index 3396f7280d..40b2be3f05 100644 --- a/api/v3/Participant.php +++ b/api/v3/Participant.php @@ -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.')); } }