From: dongsheng
Date: Wed, 21 May 2008 07:53:57 +0000 (+0000)
Subject: "MDL-14129, add new lang string"
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=70c33d22394dc1f1c3985c080e91f9a6a386a564;p=moodle.git
"MDL-14129, add new lang string"
---
diff --git a/lang/en_utf8/debug.php b/lang/en_utf8/debug.php
index 2a98374dc4..38af56b428 100644
--- a/lang/en_utf8/debug.php
+++ b/lang/en_utf8/debug.php
@@ -30,6 +30,7 @@ $string['noactivityname'] = 'Page object derived from page_generic_activity but
$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['nocate'] = 'No categories!';
$string['notables'] = 'No Tables!';
$string['nopageclass'] = 'Imported $a but found no page classes';
$string['noreports'] = 'No reports accessible';
diff --git a/lang/en_utf8/error.php b/lang/en_utf8/error.php
index 74ef034b17..78f42d6293 100644
--- a/lang/en_utf8/error.php
+++ b/lang/en_utf8/error.php
@@ -54,6 +54,7 @@ $string['cannotfindhelp'] = 'Cannot find \"$a\" language help files';
$string['cannotfindlang'] = 'Cannot find \"$a\" language pack!';
$string['cannotfindsite'] = 'Cannot find site-level course';
$string['cannotimportgrade'] = 'Grade import error';
+$string['cannotimportformat'] = 'Sorry, importing this format is not yet implemented!';
$string['cannotnetgeo'] = 'Can not connect to NetGeo server at http://netgeo.caida.org, please check proxy settings or better install MaxMind GeoLite City data file.';
$string['cannotgetblock'] = 'Could not retrieve blocks from the database';
$string['cannotgetcats'] = 'error getting category record';
@@ -67,7 +68,9 @@ $string['cannotmoduletype'] = 'Cannot get the module type in build navigation.';
$string['cannotmetacourse'] = 'Cannot not add the selected course to this meta course!';
$string['cannotoverridebaserole'] = 'Can not override base role capabilities';
$string['cannotopencsv'] = 'Cannot open csv file';
+$string['cannotopenforwrit'] = 'Cannot open for writing: $a';
$string['cannotreadtmpfile'] = 'Error reading temporary file';
+$string['cannotreaduploadfile'] = 'Could not read uploaded file';
$string['cannotreadfile'] = 'Can not read file';
$string['cannotremovefrommeta'] = 'Could not remove the selected course from this meta course!';
$string['cannotrestore'] = 'An error has occurred and the restore could not be completed!';
@@ -308,6 +311,7 @@ $string['unenrolerror'] = 'An error occurred while trying to unenrol that person
$string['unknowaction']= 'Unknown action!';
$string['unknowcategory'] = 'Category not known!';
$string['unknowcontext'] = 'This is an unknown context ($a) in get_child_contexts!';
+$string['unknowformat'] = 'Format not known ($a)';
$string['unknowncourse'] = 'Unknown course named \"$a\"';
$string['unknowncourseidnumber'] = 'Unknown Course ID \"$a\"';
$string['unknownhelp'] = 'Unknown help topic $a';
diff --git a/lang/en_utf8/question.php b/lang/en_utf8/question.php
index 9df05363fd..f27677ac90 100644
--- a/lang/en_utf8/question.php
+++ b/lang/en_utf8/question.php
@@ -2,29 +2,36 @@
// question.php - created with Moodle 1.8 dev
$string['adminreport'] = 'Report on possible problems in your question database.';
+$string['badbase'] = 'Bad base before **: $a**';
$string['broken'] = 'This is a \"broken link\", it points to a nonexistent file.';
$string['byandon'] = 'by $a->user on $a->time';
$string['cannotinsert'] = 'Could not insert entry in question_sessions';
$string['cannotcreate'] = 'Could not create new entry in question_attempts table';
$string['cannotcreatedataset'] = 'Unable to create dataset $a';
$string['cannotcreaterelation'] = 'Unable to create relation to dataset $a[0] $a[1]';
+$string['cannotcopybackup'] = 'Could not copy backup file';
$string['cannotinsertitem'] = 'Unable to insert dataset item $a[0] with $a[1] for $a[2]';
$string['cannotinsert'] = 'Error: Unable to insert dataset item';
$string['cannotinsertquestion'] = 'Could not insert new question!';
$string['cannotinsertquestioncatecontext'] = 'Could not insert the new question category $a[0] illegal contextid $a[1]';
$string['cannotinsertquestioncate'] = 'Could not insert the new question category: $a';
+$string['cannotfindquestionfile'] = 'Could not find question data file in zip';
$string['cannotgetdsforquestion'] = 'Cannot get the specified dataset for a calculated question! (question: {$a})';
$string['cannotgetdsfordependent'] = 'Cannot get the specified dataset for a dataset dependent question! (question: {$a[0]}, datasetitem: {a[1]})';
$string['cannotretrieveqcat'] = 'Could retrieve question category';
$string['cannotupdatecount'] = 'Error: Unable to update itemcount';
$string['cannotupdatecate'] = 'Could not update the category $a';
-$string['cannotmovecate'] = 'Cannot move the category '$newname'. It is the last in this context.';
+$string['cannotmovecate'] = 'Cannot move the category $a. It is the last in this context.';
+$string['cannotmovefromto'] = 'Could not move the category $a[0] to $a[1]';
+$string['cannotmovequestion'] = 'You can\'t use this script to move questions that have files associated with them from different areas.';
+$string['cannotunzip'] = 'Could not unzip file.';
$string['cannotupdatesubcate'] = 'Could not update a child category!';
$string['cannotupdaterandomqname'] = 'Could not update random question name';
$string['cannotupdateitem'] = 'Error: Unable to update dataset item';
$string['cannotupdatequestion'] = 'Could not update question!';
$string['cannotupdatequestionver'] = 'Could not update question version field';
$string['cannotsavequiz'] = 'Failed to save the current quiz attempt!';
+$string['cannotwriteto'] = 'Cannot write exported questions to $a';
$string['categorydoesnotexist'] = 'This category does not exist';
$string['categorycurrent'] = 'Current Category';
$string['categorycurrentuse'] = 'Use This Category';
@@ -43,6 +50,7 @@ on upgrading to Moodle 1.9. The following categories will have their sharing sta
affected will continue to work in all existing quizzes until you remove them from these quizzes.
';
$string['cwrqpfsnoprob'] = 'No question categories in your site are affected by the \'Random questions selecting questions from sub categories\' issue.';
$string['copy']= 'Copy from $a and change links.';
+$string['contexterror'] = 'You shouldn\'t have got here if you\'re not moving a category to another context.';
$string['created'] = 'Created';
$string['createdmodifiedheader'] = 'Created / Last Saved';
$string['defaultfor'] = 'Default for $a';
@@ -54,6 +62,9 @@ $string['editingcategory'] = 'Editing a category';
$string['editingquestion'] = 'Editing a question';
$string['erroraccessingcontext'] = 'Cannot access context';
$string['errordeletingquestionsfromcategory'] = 'Error deleting questions from category $a.';
+$string['errorduringpre'] = 'Error occurred during pre-processing!';
+$string['errorduringproc'] = 'Error occurred during processing!';
+$string['errorduringpost'] = 'Error occurred during post-processing!';
$string['errorfilecannotbecopied'] = 'Error cannot copy file $a.';
$string['errorfilecannotbemoved'] = 'Error cannot move file $a.';
$string['errorfileschanged'] = 'Error files linked to from questions have changed since form was displayed.';
@@ -61,6 +72,7 @@ $string['errormanualgradeoutofrange'] = 'The grade $a->grade is not between 0 an
$string['errormovingquestions'] = 'Error while moving questions with ids $a.';
$string['errorsavingcomment'] = 'Error saving the comment for question $a->name in the database.';
$string['errorupdatingattempt'] = 'Error updating attempt $a->id in the database.';
+$string['emptyxml'] = 'Unkown error - empty imsmanifest.xml';
$string['exportcategory'] = 'Export category';
$string['filesareasite']= 'the site files area';
$string['filesareacourse']= 'the course files area';
@@ -70,7 +82,10 @@ $string['fractionsnomax'] = 'One of the answers should have a score of 100%% so
$string['getcategoryfromfile'] = 'Get category from file';
$string['getcontextfromfile'] = 'Get context from file';
$string['ignorebroken'] = 'Ignore broken links';
+$string['impossiblechar'] = 'Impossible character $a detected as parenthesis character';
$string['invalidcontextinhasanyquestions'] = 'Invalid context passed to question_context_has_any_questions.';
+$string['invalidcategoryidforparent'] = 'Invalid category id for parent!';
+$string['invalidcategoryidtomove'] = 'Invalid category id to move!';
$string['invalidwizardpage'] = 'Incorrect or no wizard page specified!';
$string['linkedfiledoesntexist'] = 'Linked file $a doesn\'t exist';
$string['makechildof'] = "Make Child of '\$a'";
@@ -91,12 +106,15 @@ $string['movingcategorynofiles']= 'Are you sure you want to move category \"{$a-
$string['movingquestions'] = 'Moving Questions and Any Files';
$string['movingquestionsandfiles']= 'Are you sure you want to move question(s) {$a->questions} to context for \"{$a->tocontext}\"?
We have detected {$a->urlcount} files linked from these question(s) in {$a->fromareaname}, would you like to copy or move these to {$a->toareaname}?';
$string['movingquestionsnofiles']= 'Are you sure you want to move question(s) {$a->questions} to context for \"{$a->tocontext}\"?
There are no files linked from these question(s) in {$a->fromareaname}.';
+$string['nocate'] = 'No such category $a!';
$string['needtochoosecat'] = 'You need to choose a category to move this question to or press \'cancel\'.';
$string['nopermissionadd'] = 'You don\'t have permission to add questions here.';
$string['noprobs'] = 'No problems found in your question database.';
$string['notenoughdatatoeditaquestion'] = 'Neither a question id, nor a category id and question type, was specified.';
$string['notenoughdatatomovequestions'] = 'You need to provide the question ids of questions you want to move.';
$string['novirtualquestion'] = 'No virtual question type for question type $a';
+$string['parenthesisinproperstart'] = 'Parenthesis before ** is not properly started in $a**';
+$string['parenthesisinproperclose'] = 'Parenthesis before ** is not properly closed in $a**';
$string['permissionedit'] = 'Edit this question';
$string['permissionmove'] = 'Move this question';
$string['permissionsaveasnew'] = 'Save this as a new question';