Commits

Georg Brandl committed 2fb0aac Merge

Merged in kou/sphinx (pull request #11)

Comments (0)

Files changed (1)

sphinx/builders/gettext.py

 
                     # generate "#: file1:line1 file2:line2 ..."
                     pofile.write(u"#: %s\n" % ", ".join("%s:%s" %
-                        (path.relpath(source, self.srcdir), line)
+                        (path.relpath(source, self.outdir), line)
                         for source, line, _ in positions))
                     # generate "# uuid1\n# uuid2\n ..."
                     pofile.write(u"# %s\n" % "\n# ".join(uid for _, _, uid