From 8c0b46f74fd22bd4642b76e63b6119e489622e5f Mon Sep 17 00:00:00 2001 From: Clement Smith Date: Thu, 30 Jul 2015 09:00:26 -0500 Subject: [PATCH] MDL-50963 lang/en/grades.php: Improve bad grade error message The error message received when inputting a grade value that is too low indicates that zero is a valid grade value. This is incorrect as the lowest valid grade value is 1. This updates the error message to indicate the minimum acceptable grade value is 1, not 0. --- lang/en/grades.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/en/grades.php b/lang/en/grades.php index bd9273e9436..5459c889acd 100644 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -470,7 +470,7 @@ $string['minimum_show_help'] = 'Minimum grade is used in calculating grades and $string['missingitemtypeoreid'] = 'Array key (itemtype or eid) missing from 2nd param of grade_edit_tree_column_select::get_item_cell($item, $params)'; $string['missingscale'] = 'Scale must be selected'; $string['mode'] = 'Mode'; -$string['modgradeerrorbadpoint'] = 'Invalid Grade Value. This must be an integer between 0 and {$a}'; +$string['modgradeerrorbadpoint'] = 'Invalid Grade Value. This must be an integer between 1 and {$a}'; $string['modgradeerrorbadscale'] = 'Invalid scale selected. Please make sure you select a scale from the selections below.'; $string['modgrade'] = 'Grade'; $string['modgrade_help'] = 'Select the type of grading used for this activity. If "scale" is chosen, you can then choose the scale from the "scale" dropdown. If using "point" grading, you can then enter the maximum grade available for this activity.';