mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
fix(ux): fix unstranslated text in msgprint/throw
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user