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 <77415730+PatrickDenis-stack@users.noreply.github.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 29, 2023
1 parent 663bb87 commit 8e4b591
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 8e4b591

Please sign in to comment.