mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 22:12:12 +00:00
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;
|
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();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user