projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbd3e9
)
[FIX] OPW 586673: mail: make `read more/less` labels translatable
author
Olivier Dony
<odo@openerp.com>
Thu, 6 Jun 2013 16:18:37 +0000
(18:18 +0200)
committer
Olivier Dony
<odo@openerp.com>
Thu, 6 Jun 2013 16:18:37 +0000
(18:18 +0200)
lp bug: https://launchpad.net/bugs/1165321 fixed
bzr revid: odo@openerp.com-
20130606161837
-1loqbdr269cr1udl
addons/mail/static/src/js/mail.js
patch
|
blob
|
history
diff --git
a/addons/mail/static/src/js/mail.js
b/addons/mail/static/src/js/mail.js
index
1e58dc4
..
2f6cfbd
100644
(file)
--- a/
addons/mail/static/src/js/mail.js
+++ b/
addons/mail/static/src/js/mail.js
@@
-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',