MDL-71126 Quiz: Manual grading page size preference can get stuck at 0

Including in this change:
 - New positiveint regex rule to check if the value is a positive integer
This commit is contained in:
Huong Nguyen 2021-05-11 15:12:58 +07:00
parent 3da88a7664
commit 46aece2b63
7 changed files with 52 additions and 7 deletions

View file

@ -39,6 +39,7 @@ $string['err_minlength'] = 'You must enter at least {$a->format} characters here
$string['err_nonzero'] = 'You must enter a number not starting with a 0 here.';
$string['err_nopunctuation'] = 'You must enter no punctuation characters here.';
$string['err_numeric'] = 'You must enter a number here.';
$string['err_positiveint'] = 'You must enter a number that greater than 0 here.';
$string['err_rangelength'] = 'You must enter between {$a->format[0]} and {$a->format[1]} characters here.';
$string['err_required'] = 'You must supply a value here.';
$string['err_wrappingwhitespace'] = 'The value must not start or end with whitespace.';