Skip to content

Commit

Permalink
[FIX] Have object description translated when posting OEChatter 'crea…
Browse files Browse the repository at this point in the history
…ted'

message
  • Loading branch information
[email protected] authored and Stefan Rijnhart committed Jul 2, 2014
1 parent 1554ffc commit 9b630f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/mail/mail_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def create(self, cr, uid, values, context=None):

# automatic logging unless asked not to (mainly for various testing purpose)
if not context.get('mail_create_nolog'):
self.message_post(cr, uid, thread_id, body=_('%s created') % (self._description), context=context)
self.message_post(cr, uid, thread_id, body=_('%s created') % (_(self._description)), context=context)

# auto_subscribe: take values and defaults into account
create_values = dict(values)
Expand Down

0 comments on commit 9b630f7

Please sign in to comment.