From 4c181e344eae3b1634fb528a1a882ec8c5b00f6c Mon Sep 17 00:00:00 2001 From: dongsheng Date: Tue, 20 May 2008 02:55:58 +0000 Subject: [PATCH] "MDL-14129, add new lang strings" --- lang/en_utf8/debug.php | 15 +++++++++++++++ lang/en_utf8/error.php | 25 +++++++++++++++++++++---- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/lang/en_utf8/debug.php b/lang/en_utf8/debug.php index c2ecd9e6ae..2a98374dc4 100644 --- a/lang/en_utf8/debug.php +++ b/lang/en_utf8/debug.php @@ -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)'; @@ -16,10 +21,17 @@ $string['dbnotsetup'] = 'Error: Main databases NOT set up successfully'; $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:

You have:

\$CFG->dirroot = \"$a[0]\";

but it should be:

\$CFG->dirroot = \"$a[1]\"

'; +$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]'; @@ -29,5 +41,8 @@ $string['prefixlimit'] = 'Table prefix \"$a\" maximum allowed length for Oracle $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'; ?> diff --git a/lang/en_utf8/error.php b/lang/en_utf8/error.php index ee07f25645..74ef034b17 100644 --- a/lang/en_utf8/error.php +++ b/lang/en_utf8/error.php @@ -10,10 +10,9 @@ $string['blockcannotconfig'] = 'This block does not support global configuration $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'; @@ -59,6 +58,7 @@ $string['cannotnetgeo'] = 'Can not connect to NetGeo server at http://netgeo.cai $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'; @@ -73,12 +73,19 @@ $string['cannotremovefrommeta'] = 'Could not remove the selected course from thi $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)'; @@ -90,8 +97,10 @@ $string['cannotupdatelevel'] = 'Could not update the indent level on that course $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!'; @@ -99,6 +108,8 @@ $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.'; @@ -135,6 +146,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['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'; @@ -174,6 +186,7 @@ $string['invalidgroupid'] = 'Incorrect group id specified.'; $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'; @@ -193,6 +206,7 @@ $string['invalidmd5'] = 'The check variable was wrong - try again'; $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.'; @@ -208,6 +222,7 @@ $string['messagingdisable'] = 'Messaging is disabled on this site'; $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 http://moodle.org/download/mimetex/, or obtain the C source from http://www.forkosh.com/mimetex.zip, compile it and put the executable into your moodle/filter/tex/ directory.'; $string['mimetexnotexecutable'] = 'Custom mimetex is not executable!'; @@ -275,6 +290,7 @@ $string['rpcerror'] = 'RPC enrol/mnet/available_courses: ($a)'; $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.'; @@ -299,6 +315,7 @@ $string['unknowngroup'] = 'Unknown group \"$a\"'; $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.
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'; -- 2.39.5