chore: Add translation to confirmation text on Update kanban_view.js (#21453)
[skip ci]
This commit is contained in:
parent
b3840596fc
commit
378c97871b
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ frappe.views.KanbanView = class KanbanView extends frappe.views.ListView {
|
|||
this.menu_items.push({
|
||||
label: __("Delete Kanban Board"),
|
||||
action: () => {
|
||||
frappe.confirm("Are you sure you want to proceed?", () => {
|
||||
frappe.confirm(__("Are you sure you want to proceed?"), () => {
|
||||
frappe.db.delete_doc("Kanban Board", this.board_name).then(() => {
|
||||
frappe.show_alert(`Kanban Board ${this.board_name} deleted.`);
|
||||
frappe.set_route("List", this.doctype, "List");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue