--- loncom/homework/lonhomework.pm 2009/03/04 17:57:11 1.305 +++ loncom/homework/lonhomework.pm 2009/03/26 12:03:45 1.307 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.305 2009/03/04 17:57:11 bisitz Exp $ +# $Id: lonhomework.pm,v 1.307 2009/03/26 12:03:45 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -173,7 +173,7 @@ sub setup_vars { sub createmenu { my ($which,$request)=@_; if ($which eq 'grade') { - $request->print(''); @@ -802,12 +802,18 @@ sub analyze { $request->print(''); } } else { - $request->print('
'.&mt('Response').' '.$part.' '. - &mt('is not analyzable at this time').'
'); + $request->print('' + .&mt('Response [_1] is not analyzable at this time.',$part) + .'
' + ); } } if (scalar(keys(%allparts)) == 0 ) { - $request->print(''.&mt('Found no analyzable responses in this problem, currently only Numerical, Formula and String response styles are supported.').'
'); + $request->print('' + .&mt('Found no analyzable responses in this problem.' + .' Currently only Numerical, Formula and String response styles are supported.') + .'
' + ); } &Apache::lonhtmlcommon::Close_PrgWin($request,\%prog_state); &analyze_footer($request); @@ -1113,7 +1119,7 @@ $start_page".&mt("To create a new $extension, select a template from the".