X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchange-iterator.cc;h=8b8f191006f90e4470d3c84831632fa7965b39d8;hb=a764000ec32808e9aeb9b26745dd00d8ad852cf1;hp=55099a855e4552cdeec205cad488e6ce86c33125;hpb=b3cf2199183a184c7eef9a9f8f3c9a691db1f0ad;p=lilypond.git diff --git a/lily/change-iterator.cc b/lily/change-iterator.cc index 55099a855e..8b8f191006 100644 --- a/lily/change-iterator.cc +++ b/lily/change-iterator.cc @@ -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 {