Skip to content

Commit

Permalink
"MDL-14129, add new lang strings"
Browse files Browse the repository at this point in the history
  • Loading branch information
dongsheng committed May 20, 2008
1 parent 2f137aa commit 4c181e3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
15 changes: 15 additions & 0 deletions lang/en_utf8/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
/*
* debug information for developer only
*/
$string['authpluginnotfound'] = 'Authentication plugin $a not found.';
$string['cannotbenull'] = '$a cannot be null!';
$string['cannotcreateadminuser'] = 'SERIOUS ERROR: Could not create admin user record !!!';
$string['cannotdowngrade'] = 'Cannot downgrade from $a[0] to $a[1].';
$string['cannotinitpage'] = 'Cannot fully initialize page: invalid $a[0] id $a[1]';
$string['cannotupgradecapabilities'] = 'Had trouble upgrading the core capabilities for the Roles System';
$string['cannotupdateversion'] = 'Upgrade failed! (Could not update version in config table)';
$string['cannotupdaterelease'] = 'ERROR: Could not update release version in database!!';
$string['cannotsetupsite'] = 'Serious Error! Could not set up the site!';
$string['cannotfindadmin'] = 'Could not find an admin user!';
$string['cannotupgradedbcustom'] = 'Upgrade of local database customisations failed! (Could not update version in config table)';
$string['configmoodle'] = 'Moodle has not been configured yet. You need to edit config.php first.';
$string['dbnotinsert'] = 'Database error - Cannot insert ($a)';
$string['dbnotupdate'] = 'Database error - Cannot update ($a)';
Expand All @@ -16,10 +21,17 @@
$string['doesnotworkwitholdversion'] = 'This script does not work with this old version of Moodle';
$string['erroroccur'] = 'An error has occurred during this process';
$string['fixsetting'] = 'Please fix your settings in config.php: <p>You have:</p> <p>\$CFG->dirroot = \"$a[0]\";</p> <p>but it should be:</p> <p>\$CFG->dirroot = \"$a[1]\"</p>';
$string['invalideventdata'] = 'Incorrect eventadata submitted: $a';
$string['invalidarraysize'] = 'Incorrect size of arrays in params of $a';
$string['mustbeoveride'] = 'Abstract $a method must be overriden.';
$string['morethanonerecordinfetch'] = 'Found more than one record in fetch() !';
$string['noadminrole'] = 'No admin role could be found';
$string['noactivityname'] = 'Page object derived from page_generic_activity but did not define $this->activityname';
$string['noblocks'] = 'No blocks installed!';
$string['noblockbase'] = 'Class block_base is not defined or file not found for /blocks/moodleblock.class.php';
$string['nocaps'] = 'Error: no capabilitites defined!';
$string['notables'] = 'No Tables!';
$string['nopageclass'] = 'Imported $a but found no page classes';
$string['noreports'] = 'No reports accessible';
$string['nomodules'] = 'No modules found!!';
$string['phpvaroff'] = 'The PHP server variable \'$a[0]\' should be Off - $a[1]';
Expand All @@ -29,5 +41,8 @@
$string['withoutversion'] = 'Main version.php was not readable or specified';
$string['sessionmissing'] = '$a object missing from session';
$string['siteisnotdefined'] = 'Site is not defined!';
$string['sqlrelyonobsoletetable'] = 'This SQL relies on obsolete table(s): $a! Your code must be fixed by a developer.';
$string['upgradefail'] = 'Upgrade failed! see: $a';
$string['withoutversion'] = 'Main version.php was not readable or specified';

?>
25 changes: 21 additions & 4 deletions lang/en_utf8/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
$string['blocknameconflict'] = 'Naming conflict: block $a[0] has the same title with an existing block: $a[1]!';
$string['backupcontainexternal'] = 'This backup file contains external Moodle Network Hosts that are not configured locally.';
$string['backuptablefail'] = 'Backup tables could NOT be set up successfully!';
$string['cannotassignrole'] = 'Cannot assign role in course';
$string['cannotassignanthing'] = 'Cannot not assign moodle/site:doanything';
$string['cannotunassignrolefrom'] = 'Can not unassign this user from role id: $a';
$string['cannotunassigncap'] = 'Could not unassign deprecated capability $a[0] from role $a[1]';
$string['cannotassignrole'] = 'Cannot assign role in course';
$string['cannotassignselfasparent'] = 'Can not assign self as parent!';
$string['cannotaddblock'] = '$a block could not be added to the block list!';
$string['cannotaddcoursemodule'] = 'Could not add a new course module';
$string['cannotaddcmtosection'] = 'Could not add the new course module to that section';
Expand Down Expand Up @@ -59,6 +58,7 @@
$string['cannotgetblock'] = 'Could not retrieve blocks from the database';
$string['cannotgetcats'] = 'error getting category record';
$string['cannotgradeuser'] = 'Can not grade this user';
$string['cannothaveparentcate'] = 'Course category can not have parent!';
$string['cannotmapfield'] = 'mapping collision detected, 2 fields maps to the same grade item $a';
$string['cannotmarktopic'] = 'Could not mark that topic for this course';
$string['cannotmoverolewithid'] = 'Cannot move role with ID $a';
Expand All @@ -73,12 +73,19 @@
$string['cannotrestore'] = 'An error has occurred and the restore could not be completed!';
$string['cannotsaveblock'] = 'Error saving block configuration';
$string['cannotsavefile'] = 'Cannot save the file \"$a\".';
$string['cannotinitpage'] = 'Cannot quickly initialize page, course id: $a';
$string['cannotinsertgrade'] = 'Can not insert grade item without course id!';
$string['cannotinsertrecord'] = 'Could not insert new record ID $a';
$string['cannotinsertkey'] = 'Can not insert new key';
$string['cannotsavemd5file'] = 'Cannot save md5 file.';
$string['cannotsavezipfile'] = 'Cannot save ZIP file.';
$string['cannotsetparentforcatoritem'] = 'Can not set parent for category or course item!';
$string['cannotsetpassword'] = 'Could not set user password!';
$string['cannotsetprefgrade'] = 'Could not set preference aggregationview to $a for this grade category';
$string['cannotsetupblock'] = 'Blocks tables could NOT be set up successfully!';
$string['cannotsetupcategory'] = 'Serious Error! Could not set up a default course category!';
$string['cannotsetupcapforplugin'] = 'Could not set up the capabilities for $a';
$string['cannotsetupcapformod'] = 'Could not set up the capabilities for $a';
$string['cannotsetupsite'] = 'Serious Error! Could not set up the site!';
$string['cannotunzipfile'] = 'Cannot unzip file.';
$string['cannotupgradeblock'] = 'Upgrade of blocks system failed! (Could not update version in config table)';
Expand All @@ -90,15 +97,19 @@
$string['cannotupdategroup'] = 'Error updating group';
$string['cannotupdaterecord'] = 'Could not update record ID $a';
$string['cannotupdaterole'] = 'Cannot update role!';
$string['cannotupdatemod'] = 'Could not update the $a';
$string['cannotupdatemod'] = 'Could not update $a';
$string['cannotupdatemodcap'] = 'Could not update $a capabilities!';
$string['cannotupdateuser'] = 'updating user failed';
$string['cannotupdateplugincap'] = 'Could not update $a capabilities!';
$stirng['cannotupdaterss'] = 'Cannot update rss';
$string['cannotupdatesummary'] = 'Could not update the summary!';
$string['cannotupdatesubcate'] = 'Could not update a child category!';
$string['cannotupdatesubcourse'] = 'Could not update a child course!';
$string['cannotuploadfile'] = 'error processing upload file';
$string['cannotuseadmin'] = 'You need to be an admin user to use this page.';
$string['cannotuseadminadminorteacher'] = 'You need to be a teacher or admin user to use this page.';
$string['cannotunassignrolefrom'] = 'Can not unassign this user from role id: $a';
$string['cannotunassigncap'] = 'Could not unassign deprecated capability $a[0] from role $a[1]';
$string['cannotrestoreadminorcreator'] = 'You need to be a creator or admin user to restore into new course!';
$string['cannotrestoreadminoredit'] = 'You need to be a edit teacher or admin user to restore into selected course!';
$string['cannotusepage'] = 'Only teacher and administrator can use this page.';
Expand Down Expand Up @@ -135,6 +146,7 @@
$string['erroronline'] = 'Error on line $a';
$string['errorreadingfile'] = 'Error reading file \"$a\"';
$string['errorunzippingfiles'] = 'Error unzipping files';
$string['expiredkey'] = 'Expired key';
$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';
Expand Down Expand Up @@ -174,6 +186,7 @@
$string['invaliditemid'] = 'Incorect item id';
$string['invalidipformat'] = 'Invalid IP address format';
$string['invalidlegacy'] = 'Incorrect legacy role definition for type: $a';
$string['invalidkey'] = 'Incorrect key';
$string['invalidmd5'] = 'Invalid md5';
$string['invalidmodule'] = 'Invalid module';
$string['invalidmoduleid'] = 'Invalid module ID: $a';
Expand All @@ -193,6 +206,7 @@
$string['invalidxmlfile'] = '\"$a\" is not a valid XML file';
$string['iplookupfailed'] = 'Can not find geo information about this IP address $a.';
$string['iplookupprivate'] = 'Can not display lookup of private IP address';
$string['ipmismatch'] = 'Client IP address mismatch';
$string['listnopeers'] = 'No peers of item found.';
$string['listnoitem'] = 'Item not found.';
$string['listnochildren'] = 'No children of item found.';
Expand All @@ -208,6 +222,7 @@
$string['missingfield'] = 'Field \"$a\" is missing.';
$string['missingvarname'] = 'Required variable name is missing!';
$string['missinguseranditemid'] = 'Missing userid and itemid';
$string['missingparam'] = 'A required parameter ($a) was missing';
$string['missingrequiredfield'] = 'Some required field is missing';
$string['mimetexisnotexist'] = 'Your system is not configured to run mimeTeX. You need to download the appropriate executable for you PHP_OS platform from <a href=\"http://moodle.org/download/mimetex/\">http://moodle.org/download/mimetex/</a>, or obtain the C source from <a href=\"http://www.forkosh.com/mimetex.zip\"> http://www.forkosh.com/mimetex.zip</a>, compile it and put the executable into your moodle/filter/tex/ directory.';
$string['mimetexnotexecutable'] = 'Custom mimetex is not executable!';
Expand Down Expand Up @@ -275,6 +290,7 @@
$string['scheduledbackupsdisabled'] = 'Scheduled backups have been disabled by the server admin';
$string['sectionnotexist'] = 'This section does not exist';
$string['sendmessage'] = 'Send Message';
$string['sessioncookiesdisable'] = 'Incorrect use of require_key_login() - session cookies must be disabled!';
$string['sessionerroruser'] = 'Your session has timed out. Please login again.';
$string['sessionerroruser2'] = 'A server error that affects your login session was detected. Please login again or restart your browser.';
$string['sessionipnomatch'] = 'Sorry, but your IP number seems to have changed from when you first logged in. This security feature prevents crackers stealing your identity while logged in to this site. Normal users should not be seeing this message - please ask the site administrator for help.';
Expand All @@ -299,6 +315,7 @@
$string['unknownrole'] = 'Unknown role \"$a\"';
$string['unknownuseraction'] = 'Sorry, I do not understand this user action.';
$string['unknoworder'] = 'Unknown ordering';
$string['unknowparamtype'] = 'Unknown parameter type: $a';
$string['unsupportedevent'] = 'Unsupported event type';
$string['upgraderequires19'] = 'ERROR: New Moodle version was installed on server, unfortunately upgrade from the previous version is not supported.<br />Please upgrade first to latest 1.9.x release. You can also return to previous version by reinstalling original files.';
$string['urlnotdefinerss'] = 'URL not defined for rss feed';
Expand Down

0 comments on commit 4c181e3

Please sign in to comment.