]> git.mjollnir.org Git - moodle.git/commitdiff
Changes "show scales" everywhere to "show ranges"
authormoodler <moodler>
Mon, 16 Jul 2007 06:17:45 +0000 (06:17 +0000)
committermoodler <moodler>
Mon, 16 Jul 2007 06:17:45 +0000 (06:17 +0000)
grade/report/grader/lib.php
grade/report/grader/preferences_form.php
grade/report/grader/settings.php
lang/en_utf8/grades.php

index 2784f972cb20b7e44ab9d0423679189de0451f9a..2a1f32de3b6c3274a4b292444854aac21b36aee0 100644 (file)
@@ -390,7 +390,7 @@ class grade_report_grader extends grade_report {
 
         $html .= $this->print_toggle('grandtotals', true);
         $html .= $this->print_toggle('groups', true);
-        $html .= $this->print_toggle('scales', true);
+        $html .= $this->print_toggle('ranges', true);
         $html .= '</div>';
         return $html;
     }
@@ -857,8 +857,8 @@ class grade_report_grader extends grade_report {
      */
     function get_scalehtml() {
         $scalehtml = '';
-        if ($this->get_pref('showscales')) {
-            $scalehtml = '<tr><td>'.$this->get_lang_string('range','grades').'</td>';
+        if ($this->get_pref('showranges')) {
+            $scalehtml = '<tr><td>'.$this->get_lang_string('range','grade').'</td>';
             foreach ($this->items as $item) {
                 $scalehtml .= '<td>'. $this->get_grade_clean($item->grademin).'-'. $this->get_grade_clean($item->grademax).'</td>';
             }
index 46b0a6e8f20d0514e867993ade2b68cc67ac6387..e6f50a478239e48ed40947a9242bd5f5ebb71827 100644 (file)
@@ -26,7 +26,7 @@ class grader_report_preferences_form extends moodleform {
                              'showgrandtotals'        => 'advcheckbox',
                              'showgroups'             => 'advcheckbox',
                              'showlocks'              => 'advcheckbox',
-                             'showscales'             => 'advcheckbox',
+                             'showranges'             => 'advcheckbox',
                              'quickgrading'           => 'advcheckbox',
                              'quickfeedback'          => 'advcheckbox',
                              'aggregationposition'    => array(get_string('left', 'grades'), get_string('right', 'grades')),
index 4f402332381d317d6e4f018f4f20ab92f5c3f5d8..553dd4af047525433081670749c9054de3210236 100644 (file)
@@ -38,8 +38,8 @@ $settings->add(new admin_setting_configcheckbox('grade_report_showgrandtotals',
 $settings->add(new admin_setting_configcheckbox('grade_report_showlocks', get_string('showlocks', 'grades'),
                                             get_string('configshowlocks', 'grades'), 0));
 
-$settings->add(new admin_setting_configcheckbox('grade_report_showscales', get_string('showscales', 'grades'),
-                                            get_string('configshowscales', 'grades'), 0));
+$settings->add(new admin_setting_configcheckbox('grade_report_showranges', get_string('showranges', 'grades'),
+                                            get_string('configshowranges', 'grades'), 0));
 
 $settings->add(new admin_setting_configcheckbox('grade_report_quickgrading', get_string('quickgrading', 'grades'),
                                             get_string('configquickgrading', 'grades'), 1));
index 7ba56acfdc607ae3efcdc1ae65df6ec824bbae5b..c2d70d86ea99a3674ffe061038e2068388bad0ea 100644 (file)
@@ -44,7 +44,7 @@ $string['configshowgrandtotals'] = 'Show column totals in the grader report.';
 $string['configshowgroups'] = 'Show group totals and means in the grader report.';
 $string['configshowlocks'] = 'Whether to show a lock/unlock icon near each grade.';
 $string['configshowfeedback'] = 'Whether to show a feedback icon (for adding/editing) near each grade.';
-$string['configshowscales'] = 'Display a row showing the scale for each grading item, in the grader report.';
+$string['configshowranges'] = 'Display a row showing the range of possible for each grading item in the grader report.';
 $string['configstudentsperpage'] = 'The number of students to display per page in the grader report.';
 $string['contract'] = 'Contract Category';
 $string['createcategory'] = 'Create Category';
@@ -125,7 +125,7 @@ $string['hidegrandtotals'] = 'Hide grandtotals';
 $string['hidegroups'] = 'Hide groups';
 $string['hidelocks'] = 'Hide locks';
 $string['hidefeedback'] = 'Hide feedback';
-$string['hidescales'] = 'Hide scales';
+$string['hideranges'] = 'Hide ranges';
 $string['highgradeascending'] = 'Sort by high grade ascending';
 $string['highgradedescending'] = 'Sort by high grade descending';
 $string['highgradeletter'] = 'High';
@@ -187,6 +187,7 @@ $string['pointsdescending'] = 'Sort by points descdending';
 $string['preferences'] = 'Preferences';
 $string['quickfeedback'] = 'Quick Feedback';
 $string['quickgrading'] = 'Quick Grading';
+$string['range'] = 'Range';
 $string['rank'] = 'Rank';
 $string['raw'] = 'Raw';
 $string['rawpct'] = 'Raw %%';
@@ -213,7 +214,7 @@ $string['showgrandtotals'] = 'Show column totals';
 $string['showgroups'] = 'Show groups';
 $string['showlocks'] = 'Show locks';
 $string['showfeedback'] = 'Show feedback';
-$string['showscales'] = 'Show scales';
+$string['showranges'] = 'Show ranges';
 $string['showhiddenitems'] = 'Show Hidden Items';
 $string['sort'] = 'sort';
 $string['sortasc'] = 'Sort in ascending order';