--- loncom/xml/lonxml.pm 2008/08/01 16:31:26 1.482 +++ loncom/xml/lonxml.pm 2008/08/07 10:19:26 1.483 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.482 2008/08/01 16:31:26 bisitz Exp $ +# $Id: lonxml.pm,v 1.483 2008/08/07 10:19:26 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -486,10 +486,10 @@ sub inner_xmlparse { while ($token->[1] ne $$stack['-1'] && ($#$stack > -1)) { my $lasttag=$$stack[-1]; if ($token->[1] =~ /^\Q$lasttag\E$/i) { - &Apache::lonxml::warning('Using tag </'.$token->[1].'> on line '.$token->[3].' as end tag to <'.$$stack[-1].'>'); + &Apache::lonxml::warning(&mt('Using tag [_1] on line [_2] as end tag to [_3]','</'.$token->[1].'>','.$token->[3].','<'.$$stack[-1].'>')); last; } else { - &Apache::lonxml::warning('Found tag </'.$token->[1].'> on line '.$token->[3].' when looking for </'.$$stack[-1].'> in file'); + &Apache::lonxml::warning(&mt('Found tag [_1] on line [_2] when looking for [_3] in file.','</'.$token->[1].'>',$token->[3],'</'.$$stack[-1].'>')); &end_tag($stack,$parstack,$token); } } @@ -1519,7 +1519,7 @@ sub renderingoptions { &mt('Math Rendering:').' '. &Apache::loncommon::select_form($env{'form.texengine'},'texengine', ('' => '', - 'tth' => 'tth (Tex-to-HTML)', + 'tth' => 'tth (TeX to HTML)', 'jsMath' => 'jsMath', 'mimetex' => 'mimetex (Convert to Images)')).' ';