--- loncom/homework/grades.pm 2007/08/10 20:12:31 1.427 +++ loncom/homework/grades.pm 2007/08/21 18:48:18 1.431 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.427 2007/08/10 20:12:31 albertel Exp $ +# $Id: grades.pm,v 1.431 2007/08/21 18:48:18 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2971,14 +2971,15 @@ sub viewgrades { ''."\n"; my $sectionClass; + my $section_display = join (", ",&Apache::loncommon::get_env_multiple('form.section')); if ($env{'form.section'} eq 'all') { $sectionClass='Class '; } elsif ($env{'form.section'} eq 'none') { - $sectionClass='Students in no Section '; + $sectionClass=&mt('Students in no Section').''; } else { - $sectionClass='Students in Section '.$env{'form.section'}.''; + $sectionClass=&mt('Students in Section(s) [_1]',$section_display).''; } - $result.='

Assign Common Grade To '.$sectionClass; + $result.='

'.&mt('Assign Common Grade To [_1]',$sectionClass); $result.= '
'."\n". '
'; #radio buttons/text box for assigning points for a section or class. @@ -6932,7 +6933,7 @@ GRADINGMENUJS $result.=''; $result.='
'."\n". - ' '.&mt('Select Section').': '."\n"; if (ref($sections)) { foreach (sort (@$sections)) { $result.='