--- loncom/homework/structuretags.pm 2007/08/18 00:31:35 1.391 +++ loncom/homework/structuretags.pm 2007/09/10 13:39:16 1.393 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.391 2007/08/18 00:31:35 albertel Exp $ +# $Id: structuretags.pm,v 1.393 2007/09/10 13:39:16 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -211,7 +211,7 @@ sub get_resource_name { $name = $Apache::lonhomework::name; } else { my ($symb)=&Apache::lonnet::whichuser(); - my $name=&Apache::lonnet::gettitle($symb); + $name=&Apache::lonnet::gettitle($symb); if ($name eq '') { $name=&Apache::lonnet::EXT('resource.title'); if ($name eq 'con_lost') { $name = ''; } @@ -765,7 +765,7 @@ sub start_problem { $msg.='

'.&mt('Not open to be viewed').'

'; } if ($status eq 'CLOSED' || $status eq 'INVALID_ACCESS') { - $msg.='The problem '.$accessmsg; + $msg.=&mt('The problem ').$accessmsg; } elsif ($status eq 'UNCHECKEDOUT') { $msg.=&checkout_msg(); } elsif ($status eq 'NOT_YET_VIEWED') {