Fix translate newsletter.js

This commit is contained in:
Bárbara Perretti 2013-10-04 15:37:27 -03:00
parent 1fcc3d9748
commit cd85590122

View File

@ -16,7 +16,7 @@ cur_frm.cscript.refresh = function(doc) {
erpnext.hide_naming_series();
if(!doc.__islocal && !cint(doc.email_sent) && !doc.__unsaved
&& inList(wn.boot.profile.can_write, doc.doctype)) {
cur_frm.add_custom_button('Send', function() {
cur_frm.add_custom_button(wn._('Send'), function() {
return $c_obj(make_doclist(doc.doctype, doc.name), 'send_emails', '', function(r) {
cur_frm.refresh();
});