[IMP] mark loading string for translation

bzr revid: xmo@openerp.com-20120206114709-to4tgrd048wsyr2z
This commit is contained in:
Xavier Morel 2012-02-06 12:47:09 +01:00
parent f06bde8978
commit 607f8e9c34
1 changed files with 2 additions and 2 deletions

View File

@ -247,8 +247,8 @@ openerp.web.Loading = openerp.web.OldWidget.extend(/** @lends openerp.web.Loadin
this.count += increment;
if (this.count > 0) {
//this.$element.html(QWeb.render("Loading", {}));
$(".loading",this.$element).html("Loading ("+this.count+")");
$(".loading",this.$element).text(_.str.sprintf(
_t("Loading (%d)"), this.count));
$(".loading",this.$element).show();
this.widget_parent.$element.addClass('loading');
} else {