Commits

Georg Brandl committed ed3ee7f Merge

Merged in kou/sphinx (pull request #16)

  • Participants
  • Parent commits f554126, e971e1a

Comments (0)

Files changed (1)

File sphinx/builders/gettext.py

                 for message in catalog.messages:
                     positions = catalog.metadata[message]
 
-                    # generate "#: file1:line1 file2:line2 ..."
-                    pofile.write(u"#: %s\n" % ", ".join("%s:%s" %
+                    # generate "#: file1:line1\n#: file2:line2 ..."
+                    pofile.write(u"#: %s\n" % "\n#: ".join("%s:%s" %
                         (path.relpath(source, self.outdir), line)
                         for source, line, _ in positions))
                     # generate "# uuid1\n# uuid2\n ..."