From 662672602e1fb9ab4f4ab9322ffab23e7cbf84f2 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Mon, 24 May 2010 16:10:18 +0000 Subject: [PATCH] MDL-21695 grade/exportdecimalpoints.html (not used) and overall decimal points fix AMOS BEGIN MOV [configexportdecimalpoints,core_grades],[gradeexportdecimalpoints_desc,core_grades] AMOS END --- admin/settings/grades.php | 4 ++-- lang/en/grades.php | 2 +- lang/en/help/grade/exportdecimalpoints.html | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 lang/en/help/grade/exportdecimalpoints.html diff --git a/admin/settings/grades.php b/admin/settings/grades.php index ddab8bdcee3..f1025d011e7 100644 --- a/admin/settings/grades.php +++ b/admin/settings/grades.php @@ -47,7 +47,7 @@ if (has_capability('moodle/grade:manage', $systemcontext) get_string('configgradeexportdisplaytype', 'grades'), GRADE_DISPLAY_TYPE_REAL, $display_types)); $temp->add(new admin_setting_configselect('grade_export_decimalpoints', get_string('gradeexportdecimalpoints', 'grades'), - get_string('configexportdecimalpoints', 'grades'), 2, + get_string('gradeexportdecimalpoints_desc', 'grades'), 2, array( '0' => '0', '1' => '1', '2' => '2', @@ -127,7 +127,7 @@ if (has_capability('moodle/grade:manage', $systemcontext) get_string('configgradedisplaytype', 'grades'), GRADE_DISPLAY_TYPE_REAL, $display_types)); $temp->add(new admin_setting_configselect('grade_decimalpoints', get_string('decimalpoints', 'grades'), - get_string('configdecimalpoints', 'grades'), 2, + get_string('decimalpoints_help', 'grades'), 2, array( '0' => '0', '1' => '1', '2' => '2', diff --git a/lang/en/grades.php b/lang/en/grades.php index 47fbdda227e..35b44565ff0 100755 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -119,7 +119,6 @@ $string['compact'] = 'Compact'; $string['configcoursegradedisplaytype'] = 'Select the default display type of grades for this course. You can also select the site default value. Grades can be shown as real grades, as percentages (in reference to the minimum and maximum grades) or as letters (A, B, C etc..). Selecting Letters will allow you to define your own grade letters and boundaries.'; $string['configdisablegradehistory'] = 'Disable history tracking of changes in grades related tables. This may speed up the server a little and conserve space in database.'; $string['configenableoutcomes'] = 'Support for Outcomes (also known as Competencies, Goals, Standards or Criteria) means that we can grade things using one or more scales that are tied to outcome statements. Enabling outcomes makes such special grading possible throughout the site.'; -$string['configexportdecimalpoints'] = 'The number of decimal points to display for export. This can be overridden during export.'; $string['configfixedstudents'] = 'Allows grades to scroll horizontally without losing sight of the students column, by making it static.'; $string['configgradeboundary'] = 'A percentage boundary over which grades will be assigned a grade letter (if the Letter grade display type is used).'; $string['configgradedisplaytype'] = 'Specifies how to display grades in the grader and user reports. Grades may be shown as actual grades, as percentages (in reference to the minimum and maximum grades) or as letters.'; @@ -269,6 +268,7 @@ $string['gradedisplaytype_help'] = 'This setting determines how grades are displ $string['gradedon'] = 'Graded: {$a}'; $string['gradeexport'] = 'Grade export'; $string['gradeexportdecimalpoints'] = 'Grade export decimal points'; +$string['gradeexportdecimalpoints_desc'] = 'The number of decimal points to display for export. This can be overridden during export.'; $string['gradeexportdisplaytype'] = 'Grade export display type'; $string['gradeforstudent'] = '{$a->student}
{$a->item}$a->feedback'; $string['gradehelp'] = 'Grade Help'; diff --git a/lang/en/help/grade/exportdecimalpoints.html b/lang/en/help/grade/exportdecimalpoints.html deleted file mode 100644 index 5f1a060b031..00000000000 --- a/lang/en/help/grade/exportdecimalpoints.html +++ /dev/null @@ -1,2 +0,0 @@ -

Export decimal points

-

The number of decimal points to display for export. This can be overridden during export.