Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 620233b8fb4fd9c81512372a3701557850dbc3ae 1 parent 422f68f
Jayesh Anandani jayeshanandani authored
1  mod/quiz/report/statistics/lang/en/quiz_statistics.php
View
@@ -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)';
2  mod/quiz/report/statistics/statistics_question_table.php
View
@@ -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()) {
Please sign in to comment.
Something went wrong with that request. Please try again.