fix(ux): fix unstranslated text in msgprint/throw

This commit is contained in:
Ankush Menat
2021-05-25 19:54:40 +05:30
parent 99636c6aca
commit ff96bdf0c1
11 changed files with 23 additions and 22 deletions

View File

@@ -28,7 +28,7 @@ class Member(Document):
def setup_subscription(self):
non_profit_settings = frappe.get_doc('Non Profit Settings')
if not non_profit_settings.enable_razorpay_for_memberships:
frappe.throw('Please check Enable Razorpay for Memberships in {0} to setup subscription').format(
frappe.throw(_('Please check Enable Razorpay for Memberships in {0} to setup subscription')).format(
get_link_to_form('Non Profit Settings', 'Non Profit Settings'))
controller = get_payment_gateway_controller("Razorpay")