Commits

Robert Lehmann committed 3766285

Distribute UUIDs over multiple comment lines.

  • Participants
  • Parent commits 9eb1f78

Comments (0)

Files changed (1)

sphinx/builders/gettext.py

                     pofile.write(u"#: %s\n" % ", ".join("%s:%s" %
                         (path.relpath(source, self.srcdir), line)
                         for source, line, _ in positions))
-                    # generate "# uuid ..."
-                    pofile.write(u"# %s\n" % ", ".join(uid for _, _, uid
+                    # generate "# uuid1\n# uuid2\n ..."
+                    pofile.write(u"# %s\n" % "\n# ".join(uid for _, _, uid
                         in positions))
 
                     # message contains *one* line of text ready for translation