--- loncom/interface/statistics/lonstudentassessment.pm 2008/10/14 15:16:58 1.151 +++ loncom/interface/statistics/lonstudentassessment.pm 2009/05/17 22:55:42 1.154 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.151 2008/10/14 15:16:58 www Exp $ +# $Id: lonstudentassessment.pm,v 1.154 2009/05/17 22:55:42 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -369,11 +369,11 @@ sub CreateInterface { $Str .= ' 'x5; $Str .= ''; - $Str .= ' 'x5; + $Str .= '

'; $Str .= &mt('Status [_1]', ''); - $Str .= '
'; + $Str .= '

'; return $Str; } @@ -675,7 +675,7 @@ sub html_initialize { $r->print(<new_window = true;

NEW_WINDOW_CHECKBOX } @@ -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;