Skip to content

Commit

Permalink
MDL-39054 quiz statistics: move hard-coded text to lang file
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshanandani authored and danpoltawski committed Apr 12, 2013
1 parent 595ef99 commit 7bfe54c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mod/quiz/report/statistics/lang/en/quiz_statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)';
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/statistics_question_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 7bfe54c

Please sign in to comment.