Commit 3204b7a2 authored by dongsheng's avatar dongsheng
Browse files

MDL-14129, add new error strings for print_error()

parent 9c78aeca
......@@ -60,6 +60,7 @@ $string['errorcreatingfile'] = 'Error creating file \"$a\"';
$string['erroronline'] = 'Error on line $a';
$string['errorreadingfile'] = 'Error reading file \"$a\"';
$string['errorunzippingfiles'] = 'Error unzipping files';
$string['failtoloadblocks'] = 'One or more blocks are registered in the database, but they all failed to load!';
$string['fieldrequired'] = '\"$a\" is a required field';
$string['filenotfound'] = 'Sorry, the requested file could not be found';
$string['filemismatch'] = 'Non-core filename mismatch. The file \"$a[0]\" should be {$a[1]}{$a[2]}.php';
......@@ -105,6 +106,7 @@ $string['moduledoesnotexist'] = 'The instance of this module doesn\'t exist';
$string['modulemissingcode'] = 'Module $a is missing the code needed to perform this function';
$string['modulerequirementsnotmet'] = 'Module \"$a->modulename\" ($a->moduleversion) could not be installed. It requires a newer version of Moodle (currently you are using $a->currentmoodle, you need $a->requiremoodle).';
$string['mustbeteacher'] = 'You must be a teacher to look at this page';
$string['noblocks'] = 'No blocks found!';
$string['nocontext'] = 'Sorry, but that course is not a valid context';
$string['noinstances'] = 'There are no instances of $a in this course!';
$string['nologinas'] = 'You are not allowed to login as that user';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment