From: dongsheng Date: Thu, 10 Apr 2008 06:19:26 +0000 (+0000) Subject: MDL-14129, createing error string X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4d3651d40e3a8d37dda50340de1abcd884da3e08;p=moodle.git MDL-14129, createing error string --- diff --git a/lang/en_utf8/error.php b/lang/en_utf8/error.php index d173f6e917..038db14a7e 100644 --- a/lang/en_utf8/error.php +++ b/lang/en_utf8/error.php @@ -15,6 +15,8 @@ $string['cannotcreatetempdir'] = 'Cannot create temp dir.'; $string['cannotcreatesitedir'] = 'Cannot create site folder. The site administrator needs to fix the file permissions.'; $string['cannotcustomizelocallang'] = 'You do not have permission to customize the strings translation. This permission is controlled by the capability "moodle/site:langeditlocal". Set this capability to allow you to edit local language packages in case you want to modify translations for your site.'; $string['cannotdeletelangcache'] = 'Language cache can not be deleted, please fix permissions in dataroot/cache/languages!'; +$string['cannotdeleterole'] = 'It can not be deleted, because $a'; +$string['cannotdeleterolewithid'] = 'Could not delete role with ID $a'; $string['cannotdownloadcomponents'] = 'Cannot download components.'; $string['cannotdownloadlanguageupdatelist'] = 'Cannot download list of language updates from download.moodle.org'; $string['cannotdownloadzipfile'] = 'Cannot download ZIP file.'; @@ -26,6 +28,8 @@ $string['cannotfindinfo'] = 'Cannot find info for: \"$a\"'; $string['cannotfindhelp'] = 'Cannot find \"$a\" language help files'; $string['cannotfindlang'] = 'Cannot find \"$a\" language pack!'; $string['cannotfindsite'] = 'Cannot find site-level course'; +$string['cannotmoverolewithid'] = 'Cannot move role with ID $a'; +$string['cannotoverridebaserole'] = 'Can not override base role capabilities'; $string['cannotreadtmpfile'] = 'Error reading temporary file'; $string['cannotsavefile'] = 'Cannot save the file \"$a\".'; $string['cannotsavemd5file'] = 'Cannot save md5 file.'; @@ -71,10 +75,12 @@ $string['guestnoeditprofileother'] = 'The guest user profile cannot be edited'; $string['invalidaction'] = 'Invalid action parameter.'; $string['invalidaccessparameter'] = 'Invalid access parameter.'; $string['invalidcourse'] = 'Invalid course'; +$string['invalidcoursemodule'] = 'Bad course module ID'; $string['invalidfieldname'] = '\"$a\" is not a valid field name'; $string['invalidfiletype'] = '\"$a\" is not a valid file type'; $string['invalidipformat'] = 'Invalid IP address format'; $string['invalidmd5'] = 'Invalid md5'; +$string['invalidmodule'] = 'Invalid module ID'; $string['invalidrequest'] = 'Invalid request'; $string['invalidrole'] = 'Invalid role'; $string['invalidurl'] = 'Invalid url'; @@ -94,6 +100,7 @@ $string['loginasonecourse'] = 'You can not enter this course.
You have to $string['loginasnoenrol'] = 'You can not use enrol or unenrol when in course \"Login as\" session.'; $string['missingfield'] = 'Field \"$a\" is missing.'; $string['missingrequiredfield'] = 'Some required field is missing'; +$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'; @@ -106,6 +113,7 @@ $string['nonmeaningfulcontent'] = 'Non meaningful content'; $string['noparticipatorycms'] = 'Sorry, but you have no participatory course modules to report on.'; $string['nopermissions'] = 'Sorry, but you do not currently have permissions to do that ($a)'; $string['nosite'] = 'No sites'; +$string['nositeid'] = 'No site ID'; $string['nostatstodisplay'] = 'There is no available data to display, sorry.'; $string['notavailable'] = 'That is not currently available'; $string['onlyadmins'] = 'Only administrators can do that.'; @@ -151,7 +159,9 @@ $string['usernotupdatedadmin'] = 'Can not update admin accounts.'; $string['usernotupdatederror'] = 'User not updated - error.'; $string['usernotupdatednotexists'] = 'User not updated - does not exist.'; $string['wrongcall'] = 'This script is called wrongly'; +$string['wrongcontextid'] = 'Context ID was incorrect (cannot find it)'; $string['wrongdestpath'] = 'Wrong destination path.'; +$string['wrongroleid'] = 'Incorrect role ID!'; $string['wrongsourcebase'] = 'Wrong source URL base.'; $string['wrongzipfilename'] = 'Wrong ZIP filename.';