Browse files

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

  • Loading branch information...
1 parent 422f68f commit 620233b8fb4fd9c81512372a3701557850dbc3ae @jayeshanandani jayeshanandani committed 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 620233b

Please sign in to comment.