--- loncom/homework/grades.pm 2007/11/08 19:57:30 1.486 +++ loncom/homework/grades.pm 2007/11/13 01:14:32 1.488 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.486 2007/11/08 19:57:30 albertel Exp $ +# $Id: grades.pm,v 1.488 2007/11/13 01:14:32 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -733,9 +733,12 @@ sub verifyreceipt { $receipt =~ s/[^\-\d]//g; my ($symb) = &get_symb($request); - my $title.='

Verifying Submission Receipt '. - $receipt.'

'."\n". - '

Resource: '.$env{'form.probTitle'}.'



'."\n"; + my $title.= + '

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

'."\n". + '

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

'."\n"; my ($string,$contents,$matches) = ('','',0); my (undef,undef,$fullname) = &getclasslist('all','0'); @@ -749,11 +752,11 @@ sub verifyreceipt { my $header = &Apache::loncommon::start_data_table(). &Apache::loncommon::start_data_table_header_row(). - ' Fullname '."\n". - ' Username '."\n". - ' Domain '; + ' '.&mt('Fullname').' '."\n". + ' '.&mt('Username').' '."\n". + ' '.&mt('Domain').' '; if ($receiptparts) { - $header.=' Problem Part '; + $header.=' '.&mt('Problem Part').' '; } $header.= &Apache::loncommon::end_data_table_header_row(); @@ -786,11 +789,12 @@ sub verifyreceipt { } } if ($matches == 0) { - $string = $title.'No match found for the above receipt.'; + $string = $title.&mt('No match found for the above receipt.'); } else { $string = &jscriptNform($symb).$title. - 'The above receipt matches the following student'. - ($matches <= 1 ? '.' : 's.')."\n". + '

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

'. $header. $contents. &Apache::loncommon::end_data_table()."\n"; @@ -4900,8 +4904,8 @@ sub scantron_selectphase { $result.= < -
+ $default_form_data @@ -4939,8 +4943,8 @@ sub scantron_selectphase {
- -
+ + SCANTRONFORM @@ -5002,27 +5006,27 @@ SCANTRONFORM $r->print(< -
- + + $default_form_data - - + -
+  Download a scoring office file
Filename of scoring office file: $file_selector Filename of scoring office file: $file_selector
+
- -
+ + SCANTRONFORM