From 3770b22aa5f8670964ffdef8b33b4ad1af3da599 Mon Sep 17 00:00:00 2001 From: Coleman Watts <coleman@civicrm.org> Date: Sat, 15 Nov 2014 22:38:25 -0500 Subject: [PATCH] CRM-15603 - Standardize punctuation of 'Event templates are not meant to be registered.' --- CRM/Utils/DeprecatedUtils.php | 2 +- api/v3/Participant.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.')); } } -- 2.25.1