fix(Project): make status in confirmation dialog translatable (#45118)

This commit is contained in:
Raffael Meyer
2025-01-06 22:12:53 +00:00
committed by GitHub
parent 6f5fea6b52
commit 9eede907f8
+1 -1
View File
@@ -191,7 +191,7 @@ frappe.ui.form.on("Project", {
},
set_status: function (frm, status) {
frappe.confirm(__("Set Project and all Tasks to status {0}?", [status.bold()]), () => {
frappe.confirm(__("Set Project and all Tasks to status {0}?", [__(status).bold()]), () => {
frappe
.xcall("erpnext.projects.doctype.project.project.set_project_status", {
project: frm.doc.name,