Skip to content
Browse files

[BugFix] Bug #5405 - made a new function that grades a lesson for a s…

…pecific user's attempt. This is then used for grad

ing lessons at the end of a lesson, for ongoing score feature and for updating the grade for essay question grading.

This new grading algorithm now enforces the lesson setting Max attempts when custom scoring is turned Off

Changed the reporting of minquestions setting to match the help file.  Now it is question based instead of attempt based

Changed the reporting of ongoing score to use the new grade function.
  • Loading branch information...
1 parent 88aba61 commit d226adef8b223e6f6b8d82752d03ecfc2475df6f mark-nielsen committed May 19, 2006
Showing with 3 additions and 3 deletions.
  1. +3 −3 lang/en_utf8/lesson.php
6 lang/en_utf8/lesson.php
@@ -179,10 +179,10 @@
$string['numberofcorrectanswers'] = 'Number of correct answers: $a';
$string['numberofcorrectmatches'] = 'Number of correct matches: $a';
$string['numberofpagestoshow'] = 'Number of pages (cards) to show';
-$string['numberofpagesviewed'] = 'Number of pages viewed: $a';
+$string['numberofpagesviewed'] = 'Number of questions answered: $a';
$string['ongoing'] = 'Display ongoing score';
$string['ongoingcustom'] = 'You have earned $a->score point(s) out of $a->currenthigh point(s) thus far.';
-$string['ongoingnormal'] = 'You have answered $a->correct question(s) correctly out of $a->viewed question(s).';
+$string['ongoingnormal'] = 'You have answered $a->correct correctly out of $a->viewed attempts.';
$string['or'] = 'OR';
$string['ordered'] = 'Ordered';
$string['other'] = 'Other';
@@ -284,7 +284,7 @@
$string['yourcurrentgradeis'] = 'Your current grade is $a';
$string['yourgradeisnow'] = 'Your grade for the lesson has been changed to $a';
$string['yourresponse'] = 'Your response';
-$string['youshouldview'] = 'You should view at least: $a';
+$string['youshouldview'] = 'You should answer at least: $a';

0 comments on commit d226ade

Please sign in to comment.
Something went wrong with that request. Please try again.