From 78e1e6b4b0844ae501a2e2fb3c5213a35824e8ac Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Tue, 22 Oct 2019 15:33:27 +0100 Subject: [PATCH] Translate two string in AdditionalPayment form --- CRM/Contribute/Form/AdditionalPayment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/AdditionalPayment.php b/CRM/Contribute/Form/AdditionalPayment.php index 7f16e375fab0..4c99235a47e7 100644 --- a/CRM/Contribute/Form/AdditionalPayment.php +++ b/CRM/Contribute/Form/AdditionalPayment.php @@ -265,11 +265,11 @@ public function buildQuickForm() { $this->addRule('net_amount', ts('Please enter a valid monetary value for Net Amount.'), 'money'); } - $buttonName = $this->_refund ? 'Record Refund' : 'Record Payment'; + $buttonName = $this->_refund ? ts('Record Refund') : ts('Record Payment'); $this->addButtons([ [ 'type' => 'upload', - 'name' => ts('%1', [1 => $buttonName]), + 'name' => $buttonName, 'js' => $js, 'isDefault' => TRUE, ],