From ed7933e6fe6c80925c960288d617aa1734a28b84 Mon Sep 17 00:00:00 2001 From: almeidapaulopt Date: Tue, 13 Jun 2017 10:02:47 +0100 Subject: [PATCH] several throw translations (#3441) * several throw translations * small fix * codacy fixes * fix import _ * Create file_list.js * Create feedback.py --- .../payment_gateways/doctype/paypal_settings/paypal_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payments/payment_gateways/doctype/paypal_settings/paypal_settings.py b/payments/payment_gateways/doctype/paypal_settings/paypal_settings.py index 28311dc..b9d143b 100644 --- a/payments/payment_gateways/doctype/paypal_settings/paypal_settings.py +++ b/payments/payment_gateways/doctype/paypal_settings/paypal_settings.py @@ -156,7 +156,7 @@ class PayPalSettings(Document): response = make_post_request(url, data=params.encode("utf-8")) if response.get("ACK")[0] != "Success": - frappe.throw("Looks like something is wrong with this site's Paypal configuration.") + frappe.throw(_("Looks like something is wrong with this site's Paypal configuration.")) return response