From: dongsheng Date: Fri, 6 Jun 2008 03:17:01 +0000 (+0000) Subject: "MDL-14129, add lang string" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=745bf9989d698aa264cdec731ada4f32f5d6266d;p=moodle.git "MDL-14129, add lang string" --- diff --git a/lang/en_utf8/debug.php b/lang/en_utf8/debug.php index 8ff44e574d..bded62dd24 100644 --- a/lang/en_utf8/debug.php +++ b/lang/en_utf8/debug.php @@ -35,6 +35,7 @@ $string['notables'] = 'No Tables!'; $string['nopageclass'] = 'Imported $a but found no page classes'; $string['noreports'] = 'No reports accessible'; $string['nomodules'] = 'No modules found!!'; +$string['modulenotexist'] = '$a module doesn\'t exist'; $string['phpvaroff'] = 'The PHP server variable \'$a[0]\' should be Off - $a[1]'; $string['phpvaron'] = 'The PHP server variable \'$a[0]\' is not turned On - $a[1]'; $string['prefixcannotbeempty'] = 'Table prefix \"$a[0]\" cannot be empty for your target DB ($a[1])'; // obsoleted 2.0 diff --git a/lang/en_utf8/error.php b/lang/en_utf8/error.php index 7c0bd50173..0e26a5391e 100644 --- a/lang/en_utf8/error.php +++ b/lang/en_utf8/error.php @@ -16,8 +16,6 @@ $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['cannotaddcoursemoduletosection'] = 'Could not add the new course module to that section'; -$string['cannotupdatecoursemodule'] = 'Could not update the course module with the correct section'; -$string['cannotupdatecomment'] = 'Could not update this comment'; $string['cannotaddcmtosection'] = 'Could not add the new course module to that section'; $string['cannotaddrss'] = 'You do not have permission to add rss feeds'; $string['cannotaddnewmodule'] = 'Could not add a new module of $a'; @@ -87,6 +85,7 @@ $string['cannotrestore'] = 'An error has occurred and the restore could not be c $string['cannotsaveblock'] = 'Error saving block configuration'; $string['cannotsavefile'] = 'Cannot save the file \"$a\".'; $string['cannotinitpage'] = 'Cannot quickly initialize page, course id: $a'; +$string['cannotinsertcategory'] = 'Weird error. The category was not inserted.'; $string['cannotinsertcomment'] = 'Could not insert this new comment'; $string['cannotinsertgrade'] = 'Can not insert grade item without course id!'; $string['cannotinsertrecord'] = 'Could not insert new record ID $a'; @@ -108,6 +107,8 @@ $string['cannotupgradeblock'] = 'Upgrade of blocks system failed! (Could not upd $string['cannotupgradecaps'] = 'Had trouble upgrading the core capabilities for the Roles System'; $string['cannotupdateblock'] = 'Could not update block $a record in block table!'; $string['cannotupdatecategory'] = 'Could not update the category ($a)'; +$string['cannotupdatecoursemodule'] = 'Could not update the course module with the correct section'; +$string['cannotupdatecomment'] = 'Could not update this comment'; $string['cannotupdatecm'] = 'Could not update the course module with the correct section'; $string['cannotupdatelevel'] = 'Could not update the indent level on that course module'; $string['cannotupdategroup'] = 'Error updating group'; @@ -187,7 +188,8 @@ $string['invalidargorconf'] = 'No valid arguments supplied or incorrect server c $string['invalidaccessparameter'] = 'Invalid access parameter.'; $string['invalidaccess'] = 'This page was not accessed correctly'; $string['invalidblockinstance'] = 'Invalid block instance for: $a'; -$string['invalidcategory'] = 'Incorrect category id!'; +$string['invalidcategory'] = 'Incorrect category!'; +$string['invalidcategoryid'] = 'Incorrect category id!'; $string['invalidcourse'] = 'Invalid course'; $string['invalidcourseid'] = 'You are trying to use an invalid course ID: ($a)'; $string['invalidcourselevel'] = 'Incorrect context level'; @@ -277,6 +279,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['nopermissiontocomment'] = 'You can\'t add comments to this glossary!'; +$string['nopermissiontodelentry'] = 'You can\'t delete other people\'s entries!'; $string['nopermissiontoeditcomment'] = 'You can\'t edit other people\'s comments!'; $string['nopermissiontohide'] = 'No permission to hide!'; $string['nopermissiontorate'] = 'Rating of items not allowed!'; diff --git a/lang/en_utf8/glossary.php b/lang/en_utf8/glossary.php index a1ef4a6194..c30e88b36d 100644 --- a/lang/en_utf8/glossary.php +++ b/lang/en_utf8/glossary.php @@ -22,9 +22,12 @@ $string['attachment'] = 'Attachment'; $string['author'] = 'author'; $string['authorview'] = 'Browse by Author'; $string['back'] = 'Back'; +$string['cantexportentry'] = 'Could not export the entry to the main glossary'; $string['cantinsertcat'] = 'Can\'t insert category'; $string['cantinsertrec'] = 'Can\'t insert record'; +$string['cantinsertent'] = 'Could not insert this new entry'; $string['cantinsertrel'] = 'Can\'t insert relation category-entry'; +$string['cantupdateglossary'] = 'Could not update your glossary'; $string['casesensitive'] = 'This entry is case sensitive'; $string['cat'] = 'cat'; $string['categories'] = 'Categories'; @@ -58,6 +61,7 @@ $string['changeto'] = 'change to $a'; $string['current']= 'Currently sorted $a'; $string['errconceptalreadyexists'] = 'This concept already exists. No duplicates allowed in this glossary.'; $string['erredittimeexpired'] = 'The editing time for this entry has expired.'; +$string['errdeltimeexpired'] = 'You can\'t delete this. Time expired!'; $string['errcannoteditothers'] = 'You cannot edit other people\'s entries.'; $string['date'] = 'date'; $string['dateview'] = 'Browse by date'; @@ -132,6 +136,7 @@ $string['glossary:viewrating'] = 'View ratings'; $string['glossary:write'] = 'Create new entries'; $string['glossaryleveldefaultsettings'] = 'Glossary Level Default Settings'; $string['glossarytype'] = 'Glossary Type'; +$string['guestnoedit'] = 'Guests are not allowed to edit glossaries'; $string['importcategories'] = 'Import categories'; $string['importedcategories'] = 'Imported categories'; $string['importedentries'] = 'Imported entries'; @@ -159,6 +164,7 @@ $string['noentry'] = 'No entry found.'; $string['notcategorised'] = 'Not categorised'; $string['nopermissiontodelcomment'] = 'You can\'t delete other people\'s comments!'; $string['nopermissiontodelinglossary'] = 'You can\'t comments in this glossary!'; +$string['nopermissiontoviewresult'] = 'You can only look at results for your own entries'; $string['numberofentries'] = 'Number of entries'; $string['onebyline'] = '(one per line)'; $string['popupformat'] = 'Popup format';