From 2adc221459320db31017c3930786a738d470069b Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Mon, 16 Mar 2015 15:19:16 -0400 Subject: [PATCH] CRM-16119: Fix Contact custom data multiple save/more buttons translation. --- CRM/Contact/Form/CustomData.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Contact/Form/CustomData.php b/CRM/Contact/Form/CustomData.php index 2938304d95..135e8b6bd3 100644 --- a/CRM/Contact/Form/CustomData.php +++ b/CRM/Contact/Form/CustomData.php @@ -190,11 +190,11 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { ); if ($isMultiple) { $this->assign('multiRecordDisplay', $this->_multiRecordDisplay); - $saveButtonName = $this->_copyValueId ? 'Save a Copy': 'Save'; + $saveButtonName = $this->_copyValueId ? ts('Save a Copy') : ts('Save'); $this->addButtons(array( array( 'type' => 'upload', - 'name' => ts('%1', array(1 => $saveButtonName)), + 'name' => $saveButtonName, 'isDefault' => TRUE, ), array( @@ -318,4 +318,4 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { // reset the group contact cache for this group CRM_Contact_BAO_GroupContactCache::remove(); } -} \ No newline at end of file +} -- 2.25.1