Index: django/utils/translation/trans_real.py
===================================================================
--- django/utils/translation/trans_real.py	(revision 6188)
+++ django/utils/translation/trans_real.py	(working copy)
@@ -491,6 +491,10 @@
                     elif g[0] == "'": g = g.strip("'")
                     out.write(' gettext(%r) ' % g)
                 elif bmatch:
+                    fmatches = constant_re.findall(t.contents)
+                    if fmatches:
+                        for fmatch in fmatches:
+                            out.write(' _(%s) ' % fmatch)
                     intrans = True
                     inplural = False
                     singular = []
