From: John Mandereau Date: Sat, 23 Aug 2008 16:34:47 +0000 (+0200) Subject: Fix nitpicks in doc PO generation X-Git-Tag: release/2.11.57-1~26 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=173fd8e3fa8f62af67a002c992a7c8c63d7b38f2;p=lilypond.git Fix nitpicks in doc PO generation --- diff --git a/buildscripts/texi-langutils.py b/buildscripts/texi-langutils.py index 844e2ef868..7486ebee01 100644 --- a/buildscripts/texi-langutils.py +++ b/buildscripts/texi-langutils.py @@ -89,7 +89,8 @@ def process_texi (texifilename, i_blurb, n_blurb, write_skeleton, topfile, outpu str (i + 1) + ' (variable)\n_(r"' + var + '")\n') elif comment: output_file.write ('# ' + printedfilename + ':' + \ - str (i + 1) + ' (comment)\n_(r"' + comment + '")\n') + str (i + 1) + ' (comment)\n_(r"' + \ + comment.replace ('"', '\\"') + '")\n') # process Texinfo node names and section titles if write_skeleton: @@ -139,7 +140,7 @@ def process_texi (texifilename, i_blurb, n_blurb, write_skeleton, topfile, outpu for item in includes: process_texi (os.path.join (dir, item.strip ()), i_blurb, n_blurb, write_skeleton, topfile, output_file, scan_ly) except IOError, (errno, strerror): - sys.stderr.write ("I/O error(%s): %s: %s" % (errno, texifilename, strerror)) + sys.stderr.write ("I/O error(%s): %s: %s\n" % (errno, texifilename, strerror)) if intro_blurb != '':