diff --git a/mod/lesson/lang/en/lesson.php b/mod/lesson/lang/en/lesson.php index b22c9b386a153..683a89ccdb107 100644 --- a/mod/lesson/lang/en/lesson.php +++ b/mod/lesson/lang/en/lesson.php @@ -56,6 +56,7 @@ $string['answersfornumerical'] = 'Answers for numerical questions should be matched pairs of minimum and maximum values'; $string['arrangebuttonshorizontally'] = 'Arrange content buttons horizontally?'; $string['attempt'] = 'Attempt: {$a}'; +$string['attemptheader'] = 'Attempt'; $string['attempts'] = 'Attempts'; $string['attemptsdeleted'] = 'Deleted attempts'; $string['attemptsremaining'] = 'You have {$a} attempt(s) remaining'; @@ -317,10 +318,12 @@ $string['nothighscore'] = 'You did not make the top {$a} high scores list.'; $string['notitle'] = 'No title'; $string['numberofcorrectanswers'] = 'Number of correct answers: {$a}'; +$string['numberofcorrectanswersheader'] = 'Number of correct answers'; $string['numberofcorrectmatches'] = 'Number of correct matches: {$a}'; $string['numberofpagestoshow'] = 'Number of pages to show'; $string['numberofpagestoshow_help'] = 'This setting specifies the number of pages shown in a lesson. It is only applicable for lessons with pages shown in a random order (when "Action after correct answer" is set to "Show an unseen page" or "Show an unanswered page"). If set to zero, then all pages are shown.'; $string['numberofpagesviewed'] = 'Number of questions answered: {$a}'; +$string['numberofpagesviewedheader'] = 'Number of questions answered'; $string['numberofpagesviewednotice'] = 'Number of questions answered: {$a->nquestions}; (You should answer at least: {$a->minquestions})'; $string['numerical'] = 'Numerical'; $string['ongoing'] = 'Display ongoing score'; diff --git a/mod/lesson/lib.php b/mod/lesson/lib.php index 895faac78f1fc..43104593877a8 100644 --- a/mod/lesson/lib.php +++ b/mod/lesson/lib.php @@ -196,8 +196,8 @@ function lesson_user_complete($course, $user, $mod, $lesson) { "retry, timeseen")) { echo $OUTPUT->box_start(); $table = new html_table(); - $table->head = array (get_string("attempt", "lesson"), get_string("numberofpagesviewed", "lesson"), - get_string("numberofcorrectanswers", "lesson"), get_string("time")); + $table->head = array (get_string("attemptheader", "lesson"), get_string("numberofpagesviewedheader", "lesson"), + get_string("numberofcorrectanswersheader", "lesson"), get_string("time")); $table->width = "100%"; $table->align = array ("center", "center", "center", "center"); $table->size = array ("*", "*", "*", "*");