Skip to content

Commit

Permalink
fix: make create button translatable (#38165)
Browse files Browse the repository at this point in the history
* fix: make all create buttons translatable

* style: use double quotes

---------

Co-authored-by: PatrickDenis-stack <[email protected]>
Co-authored-by: Raffael Meyer <[email protected]>
(cherry picked from commit 8e4b591)
  • Loading branch information
PatrickDEissler authored and mergify[bot] committed Nov 29, 2023
1 parent 4a243ce commit 95f9cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/public/js/communication.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ frappe.ui.form.on("Communication", {
frappe.confirm(__(confirm_msg, [__("Issue")]), () => {
frm.trigger('make_issue_from_communication');
})
}, "Create");
}, __("Create"));
}

if(!in_list(["Lead", "Opportunity"], frm.doc.reference_doctype)) {
Expand Down

0 comments on commit 95f9cc9

Please sign in to comment.