[FIX] *: use _t instead of _ in js translatable strings

This commit is contained in:
Géry Debongnie
2018-04-19 17:17:54 +02:00
parent a577ee12a0
commit b519858a30
3 changed files with 3 additions and 3 deletions
@@ -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);
+1 -1
View File
@@ -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');