Permalink
Browse files

MDL-39054 quiz statistics: move hard-coded text to lang file

  • Loading branch information...
1 parent 595ef99 commit 7bfe54c41c39f89ec1309d6ede6df7dc849130e4 @jayeshanandani jayeshanandani committed with danpoltawski Apr 10, 2013
@@ -69,6 +69,7 @@
If you edit a quiz and give these question(s) with negative covariance a max grade of zero then the effective question weight of these questions will be zero and the real effective question weight of other questions will be as calculated now.';
$string['nostudentsingroup'] = 'There are no students in this group yet';
$string['optiongrade'] = 'Partial credit';
+$string['partofquestion'] = 'Part of question';
$string['pluginname'] = 'Statistics';
$string['position'] = 'Position';
$string['positions'] = 'Position(s)';
@@ -74,7 +74,7 @@ public function question_setup($reporturl, $questiondata,
if ($responesstats->has_subparts()) {
$columns[] = 'part';
- $headers[] = 'Part of question';
+ $headers[] = get_string('partofquestion', 'quiz_statistics');
}
if ($responesstats->has_response_classes()) {

0 comments on commit 7bfe54c

Please sign in to comment.