--- loncom/homework/edit.pm 2013/12/03 16:39:45 1.149 +++ loncom/homework/edit.pm 2013/12/03 17:47:30 1.151 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # edit mode helpers # -# $Id: edit.pm,v 1.149 2013/12/03 16:39:45 bisitz Exp $ +# $Id: edit.pm,v 1.151 2013/12/03 17:47:30 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -296,7 +296,7 @@ sub get_insert_list { my $descrip=$Apache::lonxml::insertlist{"$tag.description"}; my $tagnum =$Apache::lonxml::insertlist{"$tag.num"}; $options{$descrip} ="\n"; + &mt($descrip)."\n"; } foreach my $option (sort(keys(%options))) {$result.=$options{$option};} if ($result) { $result=''.$result; } @@ -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.='