Skip to content

Commit

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

* 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)

Co-authored-by: Patrick Eissler <[email protected]>
  • Loading branch information
mergify[bot] and PatrickDEissler authored Dec 1, 2023
1 parent 2c4cee0 commit bd371e6
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 bd371e6

Please sign in to comment.