Skip to content

Commit

Permalink
Translate two string in AdditionalPayment form
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Oct 22, 2019
1 parent 24c3d10 commit 78e1e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Contribute/Form/AdditionalPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
Expand Down

0 comments on commit 78e1e6b

Please sign in to comment.