Merge pull request #56490 from mihir-kandoi/messages-js/manufacturing

chore: rewrite user-facing JS messages in manufacturing module
This commit is contained in:
Mihir Kandoi
2026-06-25 17:47:56 +05:30
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ frappe.ui.form.on("BOM Update Tool", {
confirm_job_start: (frm, log_data) => {
let log_link = frappe.utils.get_form_link("BOM Update Log", log_data.name, true);
frappe.msgprint({
message: __("BOM Updation is queued and may take a few minutes. Check {0} for progress.", [
message: __("BOM update is queued and may take a few minutes. Check {0} for progress.", [
log_link,
]),
title: __("BOM Update Initiated"),

View File

@@ -389,7 +389,7 @@ frappe.ui.form.on("Work Order", {
function () {
const selected_rows = dialog.fields_dict["operations"].grid.get_selected_children();
if (selected_rows.length == 0) {
frappe.msgprint(__("Please select atleast one operation to create Job Card"));
frappe.msgprint(__("Please select at least one operation to create Job Card"));
return;
}
frappe.call({
@@ -760,7 +760,7 @@ erpnext.work_order = {
frm.add_custom_button(
__("Close"),
function () {
frappe.confirm(__("Once the Work Order is Closed. It can't be resumed."), () => {
frappe.confirm(__("Once the Work Order is Closed, it cannot be resumed."), () => {
erpnext.work_order.change_work_order_status(frm, "Closed");
});
},