From ddd2bc9aac3c93996a2d08bf2057e9c6b8599bcc Mon Sep 17 00:00:00 2001 From: britlog Date: Mon, 22 Jan 2018 23:23:31 +0100 Subject: [PATCH] Translate payment request subject --- erpnext/accounts/doctype/payment_request/payment_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_request/payment_request.py b/erpnext/accounts/doctype/payment_request/payment_request.py index 21ddb10b4d..57ead282ad 100644 --- a/erpnext/accounts/doctype/payment_request/payment_request.py +++ b/erpnext/accounts/doctype/payment_request/payment_request.py @@ -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