]> git.donarmstrong.com Git - lilypond.git/commitdiff
Lilypond-book: Add missing translation
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 22 Aug 2011 10:16:21 +0000 (12:16 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 22 Aug 2011 10:32:39 +0000 (12:32 +0200)
python/book_snippets.py

index a65fe4d0b775a5e1c7f5619afaa0b9dbce07f1da..17935d635985b38d3217b70b1954302a8ec666e9 100644 (file)
@@ -915,8 +915,8 @@ class MusicXMLFileSnippet (LilypondFileSnippet):
         if os.path.exists (xmlfilename):
             diff_against_existing = self.filter_pipe (self.contents, 'diff -u %s - ' % xmlfilename)
             if diff_against_existing:
-                warning ("%s: duplicate filename but different contents of orginal file,\n\
-printing diff against existing file." % xmlfilename)
+                warning (_ ("%s: duplicate filename but different contents of orginal file,\n\
+printing diff against existing file.") % xmlfilename)
                 ly.stderr_write (diff_against_existing)
         else:
             out = file (xmlfilename, 'w')
@@ -928,8 +928,8 @@ printing diff against existing file." % xmlfilename)
         if os.path.exists (filename):
             diff_against_existing = self.filter_pipe (self.full_ly (), 'diff -u %s -' % filename)
             if diff_against_existing:
-                warning ("%s: duplicate filename but different contents of converted lilypond file,\n\
-printing diff against existing file." % filename)
+                warning (_ ("%s: duplicate filename but different contents of converted lilypond file,\n\
+printing diff against existing file.") % filename)
                 ly.stderr_write (diff_against_existing)
         else:
             out = file (filename, 'w')