--- loncom/homework/grades.pm 2010/01/27 06:28:35 1.574.2.8 +++ loncom/homework/grades.pm 2010/05/22 01:01:03 1.574.2.12 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.574.2.8 2010/01/27 06:28:35 raeburn Exp $ +# $Id: grades.pm,v 1.574.2.12 2010/05/22 01:01:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -771,7 +771,7 @@ sub verifyreceipt { my $title.= '

'. - &mt('Verifying Receipt No. [_1]',$receipt). + &mt('Verifying Receipt No. [_1]',$receipt). '

'."\n". '

'.&mt('Resource: [_1]',$env{'form.probTitle'}). '

'."\n"; @@ -831,11 +831,11 @@ sub verifyreceipt { } } if ($matches == 0) { - $string = $title.&mt('No match found for the above receipt.'); + $string = $title.&mt('No match found for the above receipt number.'); } else { $string = &jscriptNform($symb).$title. '

'. - &mt('The above receipt matches the following [numerate,_1,student].',$matches). + &mt('The above receipt number matches the following [numerate,_1,student].',$matches). '

'. $header. $contents. @@ -1754,8 +1754,6 @@ sub gradeBox { } $line.=''."\n"; - - #&mt('Part:[_1]Points:[_2]or[_3]',$display_part,$radio,$line); $result .= ''.&mt('Part').':'.$display_part.''.&mt('Points').':'.$radio.''.&mt('or').''.$line.''; $result.=''."\n"; @@ -3853,7 +3851,6 @@ ENDPICK } sub csvupload_fields { - my ($symb) = @_; my ($symb,$errorref) = @_; my (@parts) = &getpartlist($symb,$errorref); if (ref($errorref)) { @@ -8472,11 +8469,11 @@ sub grading_menu { push(@menu, { url => $url, name => &mt('Grade/Manage/Review Bubblesheets'), short_description => - &mt('Grade scantron exams, upload/download scantron data files, and review previously graded scantron exams.')}); + &mt('Grade bubblesheet exams, upload/download bubblesheet data files, and review previously graded bubblesheet exams.')}); $fields{'command'} = 'verify'; $url = &Apache::lonhtmlcommon::build_url('grades/',\%fields); push(@menu, { url => "", - name => &mt('Verify Receipt'), + name => &mt('Verify Receipt No.'), short_description => &mt('')}); # Create the menu @@ -8491,14 +8488,14 @@ sub grading_menu { ''."\n". ''."\n"; foreach my $menudata (@menu) { - if ($menudata->{'name'} ne &mt('Verify Receipt')) { + if ($menudata->{'name'} ne &mt('Verify Receipt No.')) { $Str .='

{'jscript'}. ' href="'. $menudata->{'url'}.'" >'. $menudata->{'name'}."

\n"; } else { - $Str .='
{'jscript'}. ' onClick="javascript:checkChoice(document.forms.gradingMenu,\'5\',\'verify\')" '. ' /> '.