Fix translate Lead.js
diff --git a/selling/doctype/lead/lead.js b/selling/doctype/lead/lead.js
index 3c6fda7..28507fb 100644
--- a/selling/doctype/lead/lead.js
+++ b/selling/doctype/lead/lead.js
@@ -36,9 +36,9 @@
this.frm.__is_customer = this.frm.__is_customer || this.frm.doc.__is_customer;
if(!this.frm.doc.__islocal && !this.frm.__is_customer) {
- this.frm.add_custom_button("Create Customer", this.create_customer);
- this.frm.add_custom_button("Create Opportunity", this.create_opportunity);
- this.frm.add_custom_button("Send SMS", this.frm.cscript.send_sms);
+ this.frm.add_custom_button(wn._("Create Customer"), this.create_customer);
+ this.frm.add_custom_button(wn._("Create Opportunity"), this.create_opportunity);
+ this.frm.add_custom_button(wn._("Send SMS"), this.frm.cscript.send_sms);
}
cur_frm.communication_view = new wn.views.CommunicationList({