Skip to content

Commit f897c95

Browse files
author
rmorales
committed
Django templates extractor: Update with changes implemented on Django @ r6263
git-svn-id: http://svn.edgewall.org/repos/babel/contrib/django@320 59ecc08e-a131-0410-9ea7-d4c0f28ac310
1 parent cbfe4d1 commit f897c95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

babeldjango/extract.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def extract_django(fileobj, keywords, comment_tags, options):
8282
g = g.strip("'")
8383
yield lineno, None, unicode(g), []
8484
elif bmatch:
85+
for fmatch in constant_re.findall(t.contents):
86+
yield lineno, None, unicode(fmatch), []
8587
intrans = True
8688
inplural = False
8789
singular = []

0 commit comments

Comments
 (0)