[imp] added translation
bzr revid: nicolas.vanhoren@openerp.com-20110908164235-64kkia9iolgk6p8s
This commit is contained in:
parent
91358f641b
commit
4f61602090
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue