Skip to content
Snippets Groups Projects
Unverified Commit 8155e151 authored by Thomas Marstrander's avatar Thomas Marstrander
Browse files

Add translation for grading header

Fixes #322
parent 356611ee
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ new \mod_hvp\event(
// Set page properties.
$pageurl = new moodle_url('/mod/hvp/grade.php', array('id' => $hvp->id));
$PAGE->set_url($pageurl);
$title = "Results for {$hvp->title}";
$title = get_string('gradeheading', 'hvp', $hvp->title);
$PAGE->set_title($title);
$PAGE->set_heading($course->fullname);
......
......@@ -477,3 +477,4 @@ $string['completionpassdesc'] = 'Student must achieve a passing grade to complet
$string['completionpass_help'] = 'If enabled, this activity is considered complete when the student receives a pass grade (as specified in the Grade section of the H5P activity settings) or higher.';
$string['gradetopassnotset'] = 'This H5P activity does not yet have a grade to pass set. It may be set in the Grade section of the H5P activity settings.';
$string['gradetopassmustbeset'] = 'Grade to pass cannot be zero as this H5P activity has its completion method set to require passing grade. Please set a non-zero value.';
$string['gradeheading'] = 'Results for {$a}';
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment