diff --git a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js index d45172b04e988ca11fce51500e5f19309c5a89e5..317702baec63caaf7479635f46ba4136e5071f7b 100644 --- a/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js +++ b/erpnext/buying/doctype/request_for_quotation/request_for_quotation.js @@ -136,8 +136,8 @@ frappe.ui.form.on("Request for Quotation",{ return; } }, - "Download PDF for Supplier", - "Download" + __("Download PDF for Supplier"), + __("Download") ); }, __("Tools") @@ -257,10 +257,10 @@ frappe.ui.form.on("Request for Quotation",{ }); }; - dialog.fields_dict.note.$wrapper.append(`
- ${__("This is a preview of the email to be sent. A PDF of the document will automatically be attached with the email.")} -
` + const msg = __( + "This is a preview of the email to be sent. A PDF of the document will automatically be attached with the email." ); + dialog.fields_dict.note.$wrapper.append(`${msg}
`); dialog.show(); }