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

This commit is contained in:
Raffael Meyer
2024-10-26 19:22:29 +02:00
committed by GitHub
parent c330a292d2
commit 1d40e3dbe3

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();
}, },