Kaydet (Commit) 60450489 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Fixed #3088 -- Filter parameters are now translated in blocktrans. Thanks, permon

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 5c3905cf
......@@ -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 = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment