]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15268 "Content for Quiz Statistics report table" some fixes to strings.
authorjamiesensei <jamiesensei>
Mon, 14 Jul 2008 06:40:36 +0000 (06:40 +0000)
committerjamiesensei <jamiesensei>
Mon, 14 Jul 2008 06:40:36 +0000 (06:40 +0000)
lang/en_utf8/quiz_statistics.php
mod/quiz/report/statistics/report.php

index 465aadda8162c715fb32a25e4c0718867ddd8442..1a5d13764cf5a577a8ad83b09a919c58c12c54eb 100644 (file)
@@ -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';
index e24ffea69b3026a1ca4c8f59290862d52bd24d69..b782dc070b00ff782b96b19626391cd7143873c7 100644 (file)
@@ -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);
         }