X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchange-iterator.cc;h=698c9e8a4a6f424ad49cf2a2892628982b37340e;hb=8cab78caa0db1ba14f2e52e4c1ddbb541ea0e5cb;hp=55099a855e4552cdeec205cad488e6ce86c33125;hpb=862601226f319d2395794fe1175e7f17485b8e19;p=lilypond.git diff --git a/lily/change-iterator.cc b/lily/change-iterator.cc index 55099a855e..698c9e8a4a 100644 --- a/lily/change-iterator.cc +++ b/lily/change-iterator.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2009 Han-Wen Nienhuys */ #include "change-iterator.hh" @@ -20,7 +20,7 @@ Change_iterator::error (string reason) string to_type = ly_symbol2string (get_music ()->get_property ("change-to-type")); string to_id = ly_scm2string (get_music ()->get_property ("change-to-id")); - string warn1 = _f ("can't change `%s' to `%s'", to_type, to_id) + string warn1 = _f ("cannot change `%s' to `%s'", to_type, to_id) + ": " + reason; /* @@ -58,7 +58,7 @@ Change_iterator::process (Moment m) if (current && current->id_string () == to_id) { string msg; - msg += _f ("can't change, already in translator: %s", to_id); + msg += _f ("cannot change, already in translator: %s", to_id); } if (current) @@ -79,7 +79,7 @@ Change_iterator::process (Moment m) } else /* FIXME: constant error message. */ - get_music ()->origin ()->warning (_ ("can't find context to switch to")); + get_music ()->origin ()->warning (_ ("cannot find context to switch to")); } else {