X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finstrument-switch-engraver.cc;h=a2830554ede8a30e50acfc5c8191815288d7e984;hb=83804c0f28a70ae8e5a64a8d019fd1ee63d90e99;hp=c9dce0aafb7ff1186a57d7b311027cbbb56b05a3;hpb=73c936b8ce96f051ca113fa366da16ad41024839;p=lilypond.git diff --git a/lily/instrument-switch-engraver.cc b/lily/instrument-switch-engraver.cc index c9dce0aafb..a2830554ed 100644 --- a/lily/instrument-switch-engraver.cc +++ b/lily/instrument-switch-engraver.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006 Han-Wen Nienhuys + (c) 2006--2009 Han-Wen Nienhuys */ @@ -15,7 +15,7 @@ class Instrument_switch_engraver : public Engraver { - TRANSLATOR_DECLARATIONS(Instrument_switch_engraver); + TRANSLATOR_DECLARATIONS (Instrument_switch_engraver); protected: Grob *text_; SCM cue_name_; @@ -53,11 +53,16 @@ Instrument_switch_engraver::stop_translation_time_step () text_ = 0; } -ADD_TRANSLATOR(Instrument_switch_engraver, - "Create a cue text for taking instrument.", +ADD_TRANSLATOR (Instrument_switch_engraver, + /* doc */ + "Create a cue text for taking instrument.", - "InstrumentSwitch ", + /* create */ + "InstrumentSwitch ", - "instrumentCueName", + /* read */ + "instrumentCueName ", - ""); + /* write */ + "" + );