From 492d18b67dbeef5c3f5e5b05ba65f452a0a66e4e 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 788235c5967..39dc8afe354 100644 --- a/lang/en/grades.php +++ b/lang/en/grades.php @@ -456,7 +456,7 @@ $string['minimum_show'] = 'Show minimum grade'; $string['minimum_show_help'] = 'Minimum grade is used in calculating grades and weights. If not shown, minimum grade will default to zero and cannot be edited.'; $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.';