--- loncom/interface/statistics/lonstudentassessment.pm 2009/04/04 20:06:49 1.152 +++ loncom/interface/statistics/lonstudentassessment.pm 2009/05/17 22:49:42 1.153 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.152 2009/04/04 20:06:49 bisitz Exp $ +# $Id: lonstudentassessment.pm,v 1.153 2009/05/17 22:49:42 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1439,14 +1439,10 @@ sub excel_initialize { if ($env{'form.SelectedStudent'}) { $studentcount = '1'; } - if ($studentcount > 1) { - $r->print('

'.&mt('Compiling Excel spreadsheet for [_1] students', - $studentcount)."

\n"); - } else { - $r->print('

'. - &mt('Compiling Excel spreadsheet for 1 student'). - "

\n"); - } + $r->print('

' + .&mt('Compiling Excel spreadsheet for [quant,_1,student]...',$studentcount) + ."

\n" + ); $r->rflush(); # # Initialize progress window @@ -1594,7 +1590,7 @@ sub excel_finish { # # Tell the user where to get their excel file $r->print('
'. - 'Your Excel spreadsheet.'."\n"); + ''.&mt('Your Excel spreadsheet').''."\n"); $r->rflush(); &excel_cleanup(); return;