X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchange-iterator.cc;h=8b8f191006f90e4470d3c84831632fa7965b39d8;hb=ce593a5d9614d463ac0255eac17ceb50ce3bcc29;hp=6ff0cd648231c0941b9d519525ed289316fa51fb;hpb=6c1d83456de48485e27ab062297ef04f9720fc3c;p=lilypond.git diff --git a/lily/change-iterator.cc b/lily/change-iterator.cc index 6ff0cd6482..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 (cannot 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 (cannot change, already in translator: %s", to_id); + msg += _f ("cannot change, already in translator: %s", to_id); } if (current)