--- loncom/homework/lonhomework.pm 2003/09/18 20:32:29 1.146 +++ loncom/homework/lonhomework.pm 2003/09/19 14:11:11 1.149 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.146 2003/09/18 20:32:29 albertel Exp $ +# $Id: lonhomework.pm,v 1.149 2003/09/19 14:11:11 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -445,9 +445,7 @@ sub analyze { } } if (scalar(keys(%allparts)) == 0 ) { - $request->print('

'.&mt('Found no analyzable parts in this problem, - currently only Numerical, Formula and String response - styles are supported.').'

'); + $request->print('

'.&mt('Found no analyzable parts in this problem, currently only Numerical, Formula and String response styles are supported.').'

'); } &Apache::lonhtmlcommon::Close_PrgWin($request,\%prog_state); &analyze_footer($request); @@ -599,7 +597,7 @@ sub newproblem { } my $instructions; if ($templatelist) { $instructions=&mt(", select a template from the pull-down menu below.").'
'.&mt("Then");} - my %lt=&texthash( 'create' => 'Creating a new', + my %lt=&Apache::lonlocal::texthash( 'create' => 'Creating a new', 'resource' => 'resource', 'requested' => 'The requested file', 'not exist' => 'currently does not exist', @@ -609,7 +607,7 @@ sub newproblem { 'button' => 'button'); $request->print(< -

$lt{'create'} $extension <{'resource'}

+

$lt{'create'} $extension $lt{'resource'}

$errormsg $lt{'requested'} $url $lt{'not exist'}.

@@ -629,7 +627,7 @@ ENDNEWPROBLEM sub view_or_edit_menu { my ($request) = @_; my $url=$request->uri; - my %lt=&texthash( 'would' => 'Would you like to', + my %lt=&Apache::lonlocal::texthash( 'would' => 'Would you like to', 'view' => 'View', 'Edit' => 'edit', 'or' => 'or',