diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index e1625089a51..99330e7a3df 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -547,7 +547,7 @@ openerp.mail = function (session) { /* return true if all file are complete else return false and make an alert */ do_check_attachment_upload: function () { if (_.find(this.attachment_ids, function (file) {return file.upload;})) { - this.do_warn(session.web._t('Attachment error :'), session.web._t('Please, wait while the file is uploading.')); + this.do_warn(session.web.qweb.render('mail.error_upload'), session.web.qweb.render('mail.error_upload_please_wait')); return false; } else { return true; diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index f10770a27e1..5e978e9d5b3 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -183,6 +183,7 @@ error message for uploading --> Uploading error + Please, wait while the file is uploading.