--- loncom/interface/statistics/lonstudentassessment.pm 2012/05/12 03:42:01 1.169.2.1 +++ loncom/interface/statistics/lonstudentassessment.pm 2012/12/16 17:11:23 1.169.2.2 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.169.2.1 2012/05/12 03:42:01 raeburn Exp $ +# $Id: lonstudentassessment.pm,v 1.169.2.2 2012/12/16 17:11:23 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1118,7 +1118,7 @@ sub excel_initialize { } my $too_many_cols_error_message = '

'.&mt('Unable to Complete Request').'

'.$/. - '

'.&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) { @@ -1652,13 +1652,14 @@ sub csv_initialize{ # Deal with unimplemented requests $request_aborted = undef; if ($chosen_output->{'base'} =~ /final table/) { - $r->print(<Unable to Complete Request -

-The Summary Table (Scores) option is not available for non-HTML output. -

-END - $request_aborted = 1; + $r->print( + '

'.&mt('Unable to Complete Request').'

' + .'

' + .&mt('The [_1]Summary Table (Scores)[_2] option' + .' is not available for non-HTML output.','','') + .'

' + ); + $request_aborted = 1; } return if ($request_aborted); #