Ticket #3088: patch.diff
File patch.diff, 705 bytes (added by , 17 years ago) |
---|
-
django/utils/translation/trans_real.py
491 491 elif g[0] == "'": g = g.strip("'") 492 492 out.write(' gettext(%r) ' % g) 493 493 elif bmatch: 494 fmatches = constant_re.findall(t.contents) 495 if fmatches: 496 for fmatch in fmatches: 497 out.write(' _(%s) ' % fmatch) 494 498 intrans = True 495 499 inplural = False 496 500 singular = []