Browse Source

[FIX] replace _t to _lt in archives.js and sent.js

pull/12/head
x620 9 years ago
parent
commit
9c1796f541
  1. 4
      mail_archives/static/src/js/archives.js
  2. 4
      mail_sent/static/src/js/sent.js

4
mail_archives/static/src/js/archives.js

@ -13,7 +13,7 @@ var session = require('web.session');
var time = require('web.time');
var web_client = require('web.web_client');
var _t = core._t;
var _lt = core._lt;
//-------------------------------------------------------------------------------
// Inherit class and override methods
@ -44,7 +44,7 @@ base_obj.chat_manager.is_ready.then(function(){
// Add archive channel
base_obj.chat_manager.mail_tools.add_channel({
id: "channel_archive",
name: _t("Archive"),
name: _lt("Archive"),
type: "static"
});

4
mail_sent/static/src/js/sent.js

@ -13,7 +13,7 @@ var session = require('web.session');
var time = require('web.time');
var web_client = require('web.web_client');
var _t = core._t;
var _lt = core._lt;
//-------------------------------------------------------------------------------
// Inherit class and override methods
@ -49,7 +49,7 @@ base_obj.chat_manager.is_ready.then(function(){
// Add sent channel
base_obj.chat_manager.mail_tools.add_channel({
id: "channel_sent",
name: _t("Sent"),
name: _lt("Sent"),
type: "static"
});

Loading…
Cancel
Save