--- loncom/homework/edit.pm 2013/09/05 12:07:29 1.148 +++ loncom/homework/edit.pm 2013/12/03 17:22:08 1.150 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # edit mode helpers # -# $Id: edit.pm,v 1.148 2013/09/05 12:07:29 goltermann Exp $ +# $Id: edit.pm,v 1.150 2013/12/03 17:22:08 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -161,7 +161,7 @@ sub tag_start { if ($target eq "edit") { my $tag=$token->[1]; if (!$description) { - $description=&Apache::lonxml::description($token); + $description=&mt(&Apache::lonxml::description($token)); if (!$description) { $description="<$tag>"; } } $result.= &start_table($token)."$description @@ -950,10 +950,10 @@ sub checked_arg { my ($value,$text); if ( ref($option) eq 'ARRAY') { $value='value="'.$$option[0].'"'; - $text=$$option[1]; + $text=&mt($$option[1]); $option=$$option[0]; } else { - $text=$option; + $text=&mt($option); $value='value="'.$option.'"'; } $result.='