diff options
author | Robert Lehmann <mail@robertlehmann.de> | 2011-07-06 08:34:26 +0200 |
---|---|---|
committer | Robert Lehmann <mail@robertlehmann.de> | 2011-07-06 08:34:26 +0200 |
commit | c10a6b351e4c2e3cda99a7b0904c79709f46cb0c (patch) | |
tree | ede1324a651ab0104a3adc65d5711133fac2c12f | |
parent | 79e75dc802db1de1d6f235ccae9f3babd1414e67 (diff) | |
download | sphinx-c10a6b351e4c2e3cda99a7b0904c79709f46cb0c.tar.gz |
Distribute UUIDs over multiple comment lines.
-rw-r--r-- | sphinx/builders/gettext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/builders/gettext.py b/sphinx/builders/gettext.py index 0eb985ed..407f1cd1 100644 --- a/sphinx/builders/gettext.py +++ b/sphinx/builders/gettext.py @@ -119,8 +119,8 @@ class MessageCatalogBuilder(I18nBuilder): 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 |