CRM-16119: Fix Contact custom data multiple save/more buttons translation.
authorMathieu Lutfy <mathieu@bidon.ca>
Mon, 16 Mar 2015 19:19:16 +0000 (15:19 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Wed, 18 Mar 2015 18:18:44 +0000 (14:18 -0400)
CRM/Contact/Form/CustomData.php

index 80e8abfceea4d291b95b5a4123ca5b79f46f545e..d42b7f0e84c7f6f9afd32ea4c445ad8961831bcf 100644 (file)
@@ -185,11 +185,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(