From 00ee95cb4a510aec12fcf773f58e7119440ab9bd Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Sat, 26 Oct 2024 19:22:29 +0200 Subject: [PATCH] fix(RFQ): make strings translatable (#43843) --- .../request_for_quotation/request_for_quotation.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 d45172b04e9..317702baec6 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(); } -- GitLab