Merge pull request #12609 from britlog/payment-request-translation

[Stripe] Translate payment request subject
This commit is contained in:
rohitwaghchaure 2018-01-23 14:47:55 +05:30 committed by GitHub
commit f8a98f5eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,7 @@ def make_payment_request(**args):
"currency": ref_doc.currency,
"grand_total": grand_total,
"email_to": args.recipient_id or "",
"subject": "Payment Request for %s"%args.dn,
"subject": _("Payment Request for {0}").format(args.dn),
"message": gateway_account.get("message") or get_dummy_message(ref_doc),
"reference_doctype": args.dt,
"reference_name": args.dn