--- loncom/homework/grades.pm 2003/12/04 23:23:16 1.166 +++ loncom/homework/grades.pm 2003/12/05 14:59:51 1.167 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.166 2003/12/04 23:23:16 albertel Exp $ +# $Id: grades.pm,v 1.167 2003/12/05 14:59:51 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -48,7 +48,8 @@ use Apache::lonhomework; use Apache::loncoursedata; use Apache::lonmsg qw(:user_normal_msg); use Apache::Constants qw(:common); -use String::Similarity; +use Apache::lonlocal; +#use String::Similarity; my %oldessays=(); my %perm=(); @@ -168,7 +169,7 @@ sub showResourceInfo { my $col=3; if ($checkboxes) { $col=4; } my $result =''. - ''."\n"; my ($partlist,$handgrade,$responseType) = &response_type($url); my %resptype = (); @@ -2247,7 +2248,7 @@ sub viewgrades { &viewgrades_js($request); my ($symb,$url) = ($ENV{'form.symb'},$ENV{'form.url'}); - my $result='

Manual Grading

'; + my $result='

'.&mt('Manual Grading').'

'; $result.='Current Resource: '.$ENV{'form.probTitle'}.''."\n"; @@ -3202,7 +3203,7 @@ sub displaySubByDates { } if (exists $$record{"$version:resource.$partid.regrader"}) { $displaySub[2].=$$record{"$version:resource.$partid.regrader"}. - ' (Part: '.$partid.')'; + ' ('.&mt('Part').': '.$partid.')'; } } # needed because old essay regrader has not parts info @@ -4315,7 +4316,7 @@ GRADINGMENUJS $result.='
Current Resource: '. + '
'.&mt('Current Resource').': '. $probTitle.'
'; $result.='
'."\n". - ' Select Section: '."\n"; if (ref($sections)) { foreach (sort (@$sections)) { $result.='
'. ' '.'Current Resource: For one or more students '. - ''. ''. '