From 62e4291a6cf36fd354b59b75bda00c4d133c21d5 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Mon, 28 Oct 2024 10:24:22 +0530 Subject: [PATCH] chore: translatable label --- .../doctype/razorpay_settings/razorpay_settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.js b/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.js index 85681302..7b4a9e85 100644 --- a/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.js +++ b/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.js @@ -3,7 +3,7 @@ frappe.ui.form.on("Razorpay Settings", { refresh: function (frm) { - frm.add_custom_button("Clear", function () { + frm.add_custom_button(__("Clear"), function () { frm.call({ doc: frm.doc, method: "clear",