Skip to content

Commit

Permalink
fix(Project): make status in confirmation dialog translatable (#45118)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9eede90)
  • Loading branch information
barredterra authored and mergify[bot] committed Jan 6, 2025
1 parent 0abace7 commit 0001d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/projects/doctype/project/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0001d86

Please sign in to comment.