From: Mathieu Lutfy Date: Mon, 16 Mar 2015 19:19:16 +0000 (-0400) Subject: CRM-16119: Fix Contact custom data multiple save/more buttons translation. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2adc221459320db31017c3930786a738d470069b;p=civicrm-core.git CRM-16119: Fix Contact custom data multiple save/more buttons translation. --- 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 +}