Fix translate selling/doctype/lead/lead.js
diff --git a/selling/doctype/lead/lead.js b/selling/doctype/lead/lead.js
index 28507fb..8f5057d 100644
--- a/selling/doctype/lead/lead.js
+++ b/selling/doctype/lead/lead.js
@@ -24,8 +24,8 @@
if(in_list(user_roles,'System Manager')) {
cur_frm.footer.help_area.innerHTML = '<hr>\
- <p><a href="#Form/Sales Email Settings">Sales Email Settings</a><br>\
- <span class="help">Automatically extract Leads from a mail box e.g. "sales@example.com"</span></p>';
+ <p><a href="#Form/Sales Email Settings">'+wn._('Sales Email Settings')+'</a><br>\
+ <span class="help">'+wn._('Automatically extract Leads from a mail box e.g.')+' "sales@example.com"</span></p>';
}
},
@@ -68,7 +68,7 @@
order by is_primary_address, is_shipping_address desc'
},
as_dict: 1,
- no_results_message: 'No addresses created',
+ no_results_message: wn._('No addresses created'),
render_row: this.render_address_row,
});
// note: render_address_row is defined in contact_control.js