[FIX] OPW 586673: mail: make `read more/less` labels translatable

lp bug: https://launchpad.net/bugs/1165321 fixed

bzr revid: odo@openerp.com-20130606161837-1loqbdr269cr1udl
This commit is contained in:
Olivier Dony 2013-06-06 18:18:37 +02:00
parent ffbd3e9b6c
commit 52379022db
1 changed files with 2 additions and 2 deletions

View File

@ -975,8 +975,8 @@ openerp.mail = function (session) {
expender: function () {
this.$('.oe_msg_body:first').expander({
slicePoint: this.options.truncate_limit,
expandText: 'read more',
userCollapseText: 'read less',
expandText: _t('read more'),
userCollapseText: _t('read less'),
detailClass: 'oe_msg_tail',
moreClass: 'oe_mail_expand',
lessClass: 'oe_mail_reduce',