]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/vaticana-ligature-engraver.cc
Get texidoc translations out of snippets source files
[lilypond.git] / lily / vaticana-ligature-engraver.cc
index c89f0e832da5f6008a052b0a7ea2a09a861f392c..2e3148cc2884ecfde792223b7bbed4cc567fe01f 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2003--2011 Juergen Reuter <reuter@ipd.uka.de>
+  Copyright (C) 2003--2012 Juergen Reuter <reuter@ipd.uka.de>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -463,9 +463,9 @@ Vaticana_ligature_engraver::check_for_ambiguous_dot_pitch (Grob_info primitive)
       if (pitch == new_pitch)
         {
           primitive.grob ()->
-          warning ("Ambiguous use of dots in ligature: there are"
-                   " multiple dotted notes with the same pitch."
-                   "  The ligature should be split.");
+          warning (_ ("Ambiguous use of dots in ligature: there are"
+                      " multiple dotted notes with the same pitch."
+                      "  The ligature should be split."));
           return; // supress multiple identical warnings
         }
     }
@@ -521,10 +521,10 @@ Vaticana_ligature_engraver::transform_heads (Spanner *ligature,
         }
       else if (augmented_primitives_.size () > 0)
         {
-          primitive->warning ("This ligature has a dotted head followed by"
-                              " a non-dotted head.  The ligature should be"
-                              " split after the last dotted head before"
-                              " this head.");
+          primitive->warning (_ ("This ligature has a dotted head followed by"
+                                 " a non-dotted head.  The ligature should be"
+                                 " split after the last dotted head before"
+                                 " this head."));
         }
 
       if (is_stacked_head (prefix_set, context_info))