Fix translate hr/doctype/upload_attendance/upload_attendance.js

This commit is contained in:
Bárbara Perretti 2013-10-15 16:31:58 -03:00
parent 21fc1f2652
commit eb65e210fd

View File

@ -56,10 +56,10 @@ erpnext.hr.AttendanceControlPanel = wn.ui.form.Controller.extend({
return v;
});
r.messages = ["<h4 style='color:red'>"+wn._("Import Failed!"+"</h4>"]
r.messages = ["<h4 style='color:red'>"+wn._("Import Failed!")+"</h4>"]
.concat(r.messages)
} else {
r.messages = ["<h4 style='color:green'>"+wn._("Import Successful!"+"</h4>"].
r.messages = ["<h4 style='color:green'>"+wn._("Import Successful!")+"</h4>"].
concat(r.message.messages)
}