Permalink
Browse files

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

  • Loading branch information...
jayeshanandani authored and danpoltawski committed Apr 10, 2013
1 parent 5c58c88 commit 7ec3994f784b123a06f6720080ede13d6506ef3c
@@ -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 7ec3994

Please sign in to comment.