--- loncom/homework/grades.pm 2013/07/16 17:17:33 1.695 +++ loncom/homework/grades.pm 2013/07/19 18:24:20 1.696 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.695 2013/07/16 17:17:33 bisitz Exp $ +# $Id: grades.pm,v 1.696 2013/07/19 18:24:20 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -9782,7 +9782,7 @@ ENDHEADER &mt('Found [_1] registered and [_2] unregistered clickers.',$student_count,$unknown_count); if (($env{'form.gradingmechanism'} ne 'attendance') && ($env{'form.gradingmechanism'} ne 'given')) { if ($correct_count==0) { - $errormsg.="Found no correct answers answers for grading!"; + $errormsg.="Found no correct answers for grading!"; } elsif ($correct_count>1) { $result.='
'.&mt("Found [_1] entries for grading!",$correct_count).''; } @@ -9954,7 +9954,7 @@ sub assign_clicker_grades { if ($user) { if ($users{$user}) { $result.='
'. - &mt("More than one entry found for [_1]!",$user). + &mt('More than one entry found for [_1]!',''.$user.''). '
'; } $users{$user}=1;