translation: fix wrong argument call on request
This commit is contained in:
parent
2a9ff62556
commit
f5c8419f7c
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class _LazyString(object):
|
|||
req = get_current_request()
|
||||
translator = _
|
||||
if req:
|
||||
translator = req.translator
|
||||
translator = req.translate
|
||||
return translator(*self.args, **self.kw)
|
||||
|
||||
def __unicode__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue