--- loncom/homework/grades.pm 2014/02/11 14:29:10 1.720
+++ loncom/homework/grades.pm 2014/02/13 18:13:22 1.721
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.720 2014/02/11 14:29:10 kruse Exp $
+# $Id: grades.pm,v 1.721 2014/02/13 18:13:22 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -410,7 +410,8 @@ sub cleanRecord {
return '
'.&keywords_highlight(&HTML::Entities::encode($answer, '"<>&')).''; } elsif ( $response eq 'organic') { - my $result='Smile representation: "'.HTML::Entities::encode($answer, '"<>&').'"'; + my $result=&mt('Smile representation: [_1]', + '"'.&HTML::Entities::encode($answer, '"<>&').'"'); my $jme=$record->{$version."resource.$partid.$respid.molecule"}; $result.=&Apache::chemresponse::jme_img($jme,$answer,400); return $result; @@ -2774,7 +2775,10 @@ sub processHandGrade { next; } if ($errorflag eq 'not_allowed') { - $request->print("Not allowed to modify grades for $uname:$udom"); + $request->print( + '' + .&mt('Not allowed to modify grades for [_1]',"$uname:$udom") + .''); $ctr++; next; } @@ -6614,7 +6618,7 @@ sub scantron_warning_screen { $scantron_config{'CODEstart'} && $scantron_config{'CODElength'}) { $CODElist=$env{'form.scantron_CODElist'}; - if ($env{'form.scantron_CODElist'} eq '') { $CODElist='None'; } + if ($env{'form.scantron_CODElist'} eq '') { $CODElist=''.&mt('None').''; } $CODElist= '
'.
&mt('If you have already graded these by bubbling sheets to indicate points awarded, [_1]what point value is assigned to a filled last bubble in each row?','
').
' '.&mt('or').' '.
- '