fix call to translate function in synchronous sending (#6356)

This commit is contained in:
Frédéric Péters 2015-01-26 17:10:58 +01:00
parent 423b3f7cff
commit 376b307b17
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ def email_notification_of_refused_task(context, event):
# comment less than two minutes ago, include it.
body += translate(_('Note:'), context=context.REQUEST) + '\n\n' + last_comment.text
body += '\n\n\n-- \n' + translate(_('Sent by GED'), **kwargs)
body += '\n\n\n-- \n' + translate(_('Sent by GED'))
body = body.encode('utf-8')
try: