source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "score.hh"
Global_translator * trans_p = odef_l->get_global_translator_p();
if (!trans_p)
{
- non_fatal_error ("No toplevel translator.");
+ non_fatal_error (_("no toplevel translator"));
return ;
}
- *mlog << _("\nInterpreting music ...");
+ *mlog << '\n' << _("Interpreting music...") << flush;
trans_p->last_mom_ = music_p_->time_int().max ();
Music_iterator * iter = Music_iterator::static_get_iterator_p (music_p_,
if (! iter->ok())
{
delete iter;
- warning (_("Need music in a score"));
+ warning (_("need music in a score"));
errorlevel_i_ =1;
return ;
}
if (iter->ok())
{
w = iter->next_moment();
- DOUT << "proccing: " << w <<"\n";
+ DOUT << "proccing: " << w << '\n';
if (!monitor->silent_b ("walking"))
iter->print();
}
trans_p->modify_next (w);
trans_p->prepare (w);
+
if (!monitor->silent_b ("walking"))
trans_p->print();
iter->process_and_next (w);
trans_p->process();
}
+
delete iter;
trans_p->finish();
if (errorlevel_i_)
{
// should we? hampers debugging.
- warning (_("Errors found, /*not processing score*/"));
+ warning (_ ("errors found, /*not processing score*/"));
}
Music_output * output = trans_p->get_output_p();
delete trans_p;
- *mlog << _(" (time: ") << String(timer.read (), "%.2f") << _(" seconds)");
-
+ *mlog << endl << _f ("time: %.2f seconds", timer.read ()) << flush;
output->header_l_ = header_p_;
output->origin_str_ = location_str();
}
void
-Score::add (Music_output_def *pap_p)
+Score::add_output (Music_output_def *pap_p)
{
def_p_arr_.push(pap_p);
}