summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/models/threads
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-07-13 16:41:31 +0200
committerAlexandre Kühn <aku@odoo.com>2018-07-19 14:01:58 +0200
commit04c98eeb4810652aac248720184ae7cdfb6dda2a (patch)
tree13922ec0abd4a0bd307b67745ed4d7001eece2f3 /addons/mail/static/src/js/models/threads
parent0f65c4ab3b5b5649aa4777d6c8d6d98d78929e21 (diff)
[FIX] mail: replace _lt to _t for mailboxes' name
Since mailboxes are added after the rpc 'mail/init_message', the translations are loaded. Therefore it is not necessary to lazily load the translations.
Diffstat (limited to 'addons/mail/static/src/js/models/threads')
-rw-r--r--addons/mail/static/src/js/models/threads/abstract_thread.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/models/threads/abstract_thread.js b/addons/mail/static/src/js/models/threads/abstract_thread.js
index 74be953734d..fb31c5156c6 100644
--- a/addons/mail/static/src/js/models/threads/abstract_thread.js
+++ b/addons/mail/static/src/js/models/threads/abstract_thread.js
@@ -53,7 +53,7 @@ var AbstractThread = Class.extend({
/**
* Get the name of this thread
*
- * @returns {string|Object} object for lazy translated names with _lt
+ * @returns {string}
*/
getName: function () {
return this._name;
@@ -69,7 +69,7 @@ var AbstractThread = Class.extend({
/**
* Returns the title to display in thread window's headers.
*
- * @returns {string|Object} the name of the thread by default (see @getName)
+ * @returns {string} the name of the thread by default (see @getName)
*/
getTitle: function () {
return this.getName();