Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com> fix(RFQ): make strings translatable (#43843)
This commit is contained in:
@@ -146,8 +146,8 @@ frappe.ui.form.on("Request for Quotation", {
|
||||
return;
|
||||
}
|
||||
},
|
||||
"Download PDF for Supplier",
|
||||
"Download"
|
||||
__("Download PDF for Supplier"),
|
||||
__("Download")
|
||||
);
|
||||
},
|
||||
__("Tools")
|
||||
@@ -272,9 +272,10 @@ frappe.ui.form.on("Request for Quotation", {
|
||||
});
|
||||
};
|
||||
|
||||
dialog.fields_dict.note.$wrapper
|
||||
.append(`<p class="small text-muted">This is a preview of the email to be sent. A PDF of the document will
|
||||
automatically be attached with the email.</p>`);
|
||||
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(`<p class="small text-muted">${msg}</p>`);
|
||||
|
||||
dialog.show();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user