fix(Project): make status in confirmation dialog translatable (#45118)
(cherry picked from commit 9eede907f8)
This commit is contained in:
@@ -190,7 +190,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,
|
||||
|
||||
Reference in New Issue
Block a user