mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
MDL-15268 "Content for Quiz Statistics report table" some fixes to strings.
This commit is contained in:
parent
04c8148a4f
commit
fb94cd4848
@ -6,6 +6,7 @@ $string['statistics'] = 'Statistics';
|
||||
$string['calculatefrom'] = 'Calculate statistics from';
|
||||
|
||||
|
||||
$string['duration'] = 'Open for';
|
||||
$string['quizinformation'] = 'Quiz information';
|
||||
$string['quizoverallstatistics'] = 'Quiz overall statistics';
|
||||
$string['quizname'] = 'Quiz name';
|
||||
@ -14,8 +15,8 @@ $string['nooffirstattempts'] = 'Number of first attempts';
|
||||
$string['noofallattempts'] = 'Total number of attempts';
|
||||
$string['statsfor'] = 'Statistics (for $a)';
|
||||
$string['attempts'] = 'Attempts';
|
||||
$string['firstattempts'] = 'for first attempts';
|
||||
$string['allattempts'] = 'for all attempts';
|
||||
$string['firstattempts'] = 'first attempts';
|
||||
$string['allattempts'] = 'all attempts';
|
||||
$string['firstattemptsavg'] = 'Average grade of first attempts';
|
||||
$string['allattemptsavg'] = 'Average grade of all attempts';
|
||||
$string['attemptsall'] = 'all attempts';
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* This script lists student attempts
|
||||
* This script calculates various statistics about student attempts
|
||||
*
|
||||
* @version $Id$
|
||||
* @author Martin Dougiamas, Tim Hunt and others.
|
||||
* @author Martin Dougiamas, Jamie Pratt, Tim Hunt and others.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
|
||||
* @package quiz
|
||||
*//** */
|
||||
@ -98,7 +98,7 @@ class quiz_statistics_report extends quiz_default_report {
|
||||
$quizinformationtable->data[] = array(get_string('quizclose', 'quiz'), userdate($quiz->timeclose));
|
||||
}
|
||||
if ($quiz->timeopen && $quiz->timeclose){
|
||||
$quizinformationtable->data[] = array(get_string('duration'), format_time($quiz->timeclose - $quiz->timeopen));
|
||||
$quizinformationtable->data[] = array(get_string('duration', 'quiz_statistics'), format_time($quiz->timeclose - $quiz->timeopen));
|
||||
}
|
||||
print_table($quizinformationtable);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user