From d4ca7732b8ac251228579d66c23865ed06548742 Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 13 Nov 2019 09:53:22 +0530 Subject: [PATCH] (dev/core#1065) change verbiage in accordance with context --- CRM/Member/Form/Membership.php | 2 +- CRM/Member/Form/MembershipRenewal.php | 2 +- CRM/Pledge/Form/Pledge.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 8941ebe3e8..c3bd4001af 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -494,7 +494,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form { return; } - $contactField = $this->addEntityRef('contact_id', ts('Contact'), ['create' => TRUE, 'api' => ['extra' => ['email']]], TRUE); + $contactField = $this->addEntityRef('contact_id', ts('Member'), ['create' => TRUE, 'api' => ['extra' => ['email']]], TRUE); if ($this->_context != 'standalone') { $contactField->freeze(); } diff --git a/CRM/Member/Form/MembershipRenewal.php b/CRM/Member/Form/MembershipRenewal.php index dc607b7f05..b1f41aae3e 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -263,7 +263,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { //CRM-16950 $taxRate = $this->getTaxRateForFinancialType($this->allMembershipTypeDetails[$defaults['membership_type_id']]['financial_type_id']); - $contactField = $this->addEntityRef('contact_id', ts('Contact'), ['create' => TRUE, 'api' => ['extra' => ['email']]], TRUE); + $contactField = $this->addEntityRef('contact_id', ts('Member'), ['create' => TRUE, 'api' => ['extra' => ['email']]], TRUE); $contactField->freeze(); // auto renew options if enabled for the membership diff --git a/CRM/Pledge/Form/Pledge.php b/CRM/Pledge/Form/Pledge.php index afd2d94719..fb1d5bba79 100644 --- a/CRM/Pledge/Form/Pledge.php +++ b/CRM/Pledge/Form/Pledge.php @@ -213,7 +213,7 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { return; } - $contactField = $this->addEntityRef('contact_id', ts('Contact'), ['create' => TRUE, 'api' => ['extra' => ['email']]], TRUE); + $contactField = $this->addEntityRef('contact_id', ts('Pledge by'), ['create' => TRUE, 'api' => ['extra' => ['email']]], TRUE); if ($this->_context != 'standalone') { $contactField->freeze(); } -- 2.25.1