--- loncom/interface/statistics/lonstudentassessment.pm 2012/03/20 16:05:26 1.169 +++ loncom/interface/statistics/lonstudentassessment.pm 2012/10/02 18:13:30 1.170 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.169 2012/03/20 16:05:26 bisitz Exp $ +# $Id: lonstudentassessment.pm,v 1.170 2012/10/02 18:13:30 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1120,7 +1120,7 @@ sub excel_initialize { } my $too_many_cols_error_message = '
'.&mt('LON-CAPA is unable to produce your Excel spreadsheet because your selections will result in more than 255 columns. Excel allows only 255 columns in a spreadsheet.').'
'.$/. + ''.&mt('LON-CAPA is unable to produce your Excel spreadsheet because your selections will result in more than 255 columns. Excel allows only 255 columns in a spreadsheet.').'
'.$/. ''.&mt('You may consider reducing the number of Sequences or Folders you have selected.').'
'.$/. ''.&mt('LON-CAPA can produce CSV files of this data or Excel files of the Scores Summary data.').'
'.$/; if ($chosen_output->{'base'} eq 'tries' && $total_columns > 255) { @@ -1654,12 +1654,13 @@ sub csv_initialize{ # Deal with unimplemented requests $request_aborted = undef; if ($chosen_output->{'base'} =~ /final table/) { - $r->print(<-The Summary Table (Scores) option is not available for non-HTML output. -
-END + $r->print( + '' + .&mt('The [_1]Summary Table (Scores)[_2] option' + .' is not available for non-HTML output.','','') + .'
' + ); $request_aborted = 1; } return if ($request_aborted);