Merge pull request #48587 from frappe/mergify/bp/version-15-hotfix/pr-48582

fix: make labels in serial_batch_prompt translatable (backport #48582)
This commit is contained in:
ruthra kumar
2025-07-15 12:23:51 +05:30
committed by GitHub

View File

@@ -55,14 +55,14 @@ frappe.ui.form.on("Serial and Batch Bundle", {
let fields = frm.events.get_prompt_fields(frm);
frm.add_custom_button(__("Make " + label), () => {
frm.add_custom_button(__("Make {0}", [label]), () => {
frappe.prompt(
fields,
(data) => {
frm.events.add_serial_batch(frm, data);
},
"Add " + label,
"Make " + label
__("Add {0}", [label]),
__("Make {0}", [label])
);
});
}