--- loncom/homework/grades.pm 2014/01/30 18:04:36 1.716 +++ loncom/homework/grades.pm 2014/01/30 19:11:05 1.717 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.716 2014/01/30 18:04:36 bisitz Exp $ +# $Id: grades.pm,v 1.717 2014/01/30 19:11:05 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2514,7 +2514,7 @@ sub get_last_submission { } my ($partid,$foo) = split(/submission$/,$key); my $draft = $lasthash{$partid.'awarddetail'} eq 'DRAFT' ? - 'Draft Copy ' : ''; + ''.&mt('Draft Copy').' ' : ''; #push(@string, join(':', $key, $hide, $draft.$lasthash{$key})); push(@string, join(':', $key, $hide, $draft.( ref($lasthash{$key}) eq 'ARRAY' ? @@ -2546,8 +2546,10 @@ sub keywords_highlight { sub show_previous_task_version { my ($request,$symb) = @_; if ($symb eq '') { - $request->print("Unable to handle ambiguous references."); - + $request->print( + ''. + &mt('Unable to handle ambiguous references.'). + ''); return ''; } my ($uname,$udom) = ($env{'form.student'},$env{'form.userdom'});