--- loncom/interface/statistics/lonstudentassessment.pm 2007/10/03 17:39:13 1.145 +++ loncom/interface/statistics/lonstudentassessment.pm 2007/12/20 13:57:13 1.146 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.145 2007/10/03 17:39:13 albertel Exp $ +# $Id: lonstudentassessment.pm,v 1.146 2007/12/20 13:57:13 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -372,7 +372,7 @@ sub CreateInterface { $Str .= ' 'x5; $Str .= &mt('Status [_1]', - ''); + ''); $Str .= ''; return $Str; } @@ -671,9 +671,10 @@ sub html_initialize { # If we're showing links, show a checkbox to open in new # windows. if ($show_links ne 'no') { + my $labeltext = &mt('Show links in new window:'); $r->print(<new_window = true; -Show links in new window: +$labeltext NEW_WINDOW_CHECKBOX @@ -684,7 +685,7 @@ NEW_WINDOW_CHECKBOX " ".localtime(time).""); # if ($chosen_output->{'base'} !~ /^final table/) { - $r->print("".$chosen_output->{'shortdesc'}.""); + $r->print("".&mt($chosen_output->{'shortdesc'}).""); } my $Str = "\n"; # First, the @StudentData fields need to be listed
Show links in new window: +$labeltext NEW_WINDOW_CHECKBOX @@ -684,7 +685,7 @@ NEW_WINDOW_CHECKBOX " ".localtime(time).""); # if ($chosen_output->{'base'} !~ /^final table/) { - $r->print("".$chosen_output->{'shortdesc'}.""); + $r->print("".&mt($chosen_output->{'shortdesc'}).""); } my $Str = "\n"; # First, the @StudentData fields need to be listed
$labeltext
\n"; # First, the @StudentData fields need to be listed