Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #3088 -- Filter parameters are now translated in blocktrans. Th…

…anks, permon

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 604504896c4290f1bfa45448bc6c4f553df0a801 1 parent 5c3905c
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/utils/translation/trans_real.py
2  django/utils/translation/trans_real.py
View
@@ -491,6 +491,8 @@ def templatize(src):
elif g[0] == "'": g = g.strip("'")
out.write(' gettext(%r) ' % g)
elif bmatch:
+ for fmatch in constant_re.findall(t.contents):
+ out.write(' _(%s) ' % fmatch)
intrans = True
inplural = False
singular = []
Please sign in to comment.
Something went wrong with that request. Please try again.