[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:
parent
ffbd3e9b6c
commit
52379022db
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue