[IMP] mark loading string for translation
bzr revid: xmo@openerp.com-20120206114709-to4tgrd048wsyr2z
This commit is contained in:
parent
f06bde8978
commit
607f8e9c34
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue