[imp] added translation

bzr revid: nicolas.vanhoren@openerp.com-20110908164235-64kkia9iolgk6p8s
This commit is contained in:
niv-openerp 2011-09-08 18:42:35 +02:00
parent 91358f641b
commit 4f61602090
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ openerp.web.FormView = openerp.web.View.extend( /** @lends openerp.web.FormView#
*/
on_created: function(r, success, prepend_on_create) {
if (!r.result) {
this.notification.warn("Record not created", "Problem while creating record.");
this.notification.warn(_t("Record not created"), "Problem while creating record.");
} else {
this.datarecord.id = r.result;
if (!prepend_on_create) {