diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-01-13 14:31:02 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-01-13 14:46:30 +0100 |
| commit | bb56e484b767aa037ec697dd11b0bd865ec31db1 (patch) | |
| tree | 57377fdd4bc6048bd6488baaf4744e2e07e01944 /addons/auth_signup/controllers | |
| parent | 2ace8f0270b26eae08c6fd6814605326de28da43 (diff) | |
[FIX] all: construction of translations lookup
When evaluated, the translation function never finds a match if a variable is
integrated into the untranslated text.
SHAME! :bell: :raising_hand:
Diffstat (limited to 'addons/auth_signup/controllers')
| -rw-r--r-- | addons/auth_signup/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_signup/controllers/main.py b/addons/auth_signup/controllers/main.py index b508514617f..0092754e627 100644 --- a/addons/auth_signup/controllers/main.py +++ b/addons/auth_signup/controllers/main.py @@ -66,7 +66,7 @@ class AuthSignupHome(openerp.addons.web.controllers.main.Home): qcontext['error'] = _("Could not reset your password") _logger.exception('error when resetting password') except Exception, e: - qcontext['error'] = _(e.message) + qcontext['error'] = e.message return request.render('auth_signup.reset_password', qcontext) |
