[FIX] *: use _t instead of _ in js translatable strings
This commit is contained in:
@@ -745,7 +745,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, {
|
||||
}
|
||||
});
|
||||
if (invalid.length) {
|
||||
this.do_warn(_("Some fields are undefined"), invalid.join(', '));
|
||||
this.do_warn(_t("Some fields are undefined"), invalid.join(', '));
|
||||
return;
|
||||
}
|
||||
this.trigger_up('create_proposition');
|
||||
|
||||
@@ -1614,7 +1614,7 @@ var ChatManager = AbstractService.extend({
|
||||
}
|
||||
this._removeChannel(channel);
|
||||
this.chatBus.trigger("unsubscribe_from_channel", data.id);
|
||||
web_client.do_notify(_("Unsubscribed"), msg);
|
||||
web_client.do_notify(_t("Unsubscribed"), msg);
|
||||
}
|
||||
} else if (data.type === 'toggle_star') {
|
||||
this._manageToggleStarNotification(data);
|
||||
|
||||
@@ -540,7 +540,7 @@ var SeoConfigurator = Dialog.extend({
|
||||
}
|
||||
else{
|
||||
preview = new Preview(this, {
|
||||
description: _("You have hidden this page from search results. It won't be indexed by search engines."),
|
||||
description: _t("You have hidden this page from search results. It won't be indexed by search engines."),
|
||||
});
|
||||
}
|
||||
var $preview = this.$('.js_seo_preview');
|
||||
|
||||
Reference in New Issue
Block a user