fix(RFQ): make strings translatable (backport #43843) (#43848)

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
fix(RFQ): make strings translatable (#43843)
This commit is contained in:
mergify[bot]
2024-10-26 19:43:23 +02:00
committed by GitHub
parent 20478b632f
commit 07aaef2af2

View File

@@ -146,8 +146,8 @@ frappe.ui.form.on("Request for Quotation", {
return; return;
} }
}, },
"Download PDF for Supplier", __("Download PDF for Supplier"),
"Download" __("Download")
); );
}, },
__("Tools") __("Tools")
@@ -272,9 +272,10 @@ frappe.ui.form.on("Request for Quotation", {
}); });
}; };
dialog.fields_dict.note.$wrapper const msg = __(
.append(`<p class="small text-muted">This is a preview of the email to be sent. A PDF of the document will "This is a preview of the email to be sent. A PDF of the document will automatically be attached with the email."
automatically be attached with the email.</p>`); );
dialog.fields_dict.note.$wrapper.append(`<p class="small text-muted">${msg}</p>`);
dialog.show(); dialog.show();
}, },