diff --git a/scripts/langindex.json b/scripts/langindex.json index 97ebde71e..4fa085549 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -1645,6 +1645,7 @@ "core.grades.feedback": "grades", "core.grades.grade": "grades", "core.grades.gradeitem": "grades", + "core.grades.gradepass": "grades", "core.grades.grades": "grades", "core.grades.lettergrade": "grades", "core.grades.manualitem": "grades", diff --git a/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html b/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html index 65d4ad412..003ea3bd9 100644 --- a/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html +++ b/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html @@ -49,6 +49,15 @@
{{ gradeMethodReadable }}
+{{ 'addon.mod_quiz.outof' | translate: { $a: { + grade: bestGrade.gradetopass, + maxgrade: quiz.gradeFormatted + } } }}
+