MDL-13766, added yui cookie component requirement.
[moodle.git] / lang / en / question.php
3// This file is part of Moodle -
5// Moodle is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
10// Moodle is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// GNU General Public License for more details.
15// You should have received a copy of the GNU General Public License
16// along with Moodle. If not, see <>.
19 * Strings for component 'question', language 'en', branch 'MOODLE_20_STABLE'
20 *
21 * @package question
22 * @copyright 1999 onwards Martin Dougiamas {@link}
23 * @license GNU GPL v3 or later
24 */
36703ed7 25
3bee1ead 26$string['adminreport'] = 'Report on possible problems in your question database.';
a781921f 27$string['availableq'] = 'Available?';
28$string['badbase'] = 'Bad base before **: {$a}**';
29$string['broken'] = 'This is a "broken link", it points to a nonexistent file.';
30$string['byandon'] = 'by <em>{$a->user}</em> on <em>{$a->time}</em>';
70c33d22 31$string['cannotcopybackup'] = 'Could not copy backup file';
32$string['cannotcreate'] = 'Could not create new entry in question_attempts table';
33$string['cannotcreatepath'] = 'Cannot create path: {$a}';
ac93d63d 34$string['cannotdeletecate'] = 'You can\'t delete that category it is the default category for this context.';
30c8dd34 35$string['cannotenable'] = 'Question type {$a} cannot be created directly.';
ac93d63d 36$string['cannotfindcate'] = 'Could not find category record';
70c33d22 37$string['cannotfindquestionfile'] = 'Could not find question data file in zip';
beb69c11 38$string['cannotgetdsfordependent'] = 'Cannot get the specified dataset for a dataset dependent question! (question: {$a[0]}, datasetitem: {a[1]})';
30c8dd34 39$string['cannotgetdsforquestion'] = 'Cannot get the specified dataset for a calculated question! (question: {$a})';
ac93d63d 40$string['cannothidequestion'] = 'Was not able to hide question';
41$string['cannotimportformat'] = 'Sorry, importing this format is not yet implemented!';
42$string['cannotinsertquestion'] = 'Could not insert new question!';
3e0e25ef 43$string['cannotinsertquestioncatecontext'] = 'Could not insert the new question category {$a->cat} illegal contextid {$a->ctx}';
ac93d63d 44$string['cannotloadquestion'] = 'Could not load question';
45$string['cannotmovequestion'] = 'You can\'t use this script to move questions that have files associated with them from different areas.';
46$string['cannotopenforwriting'] = 'Cannot open for writing: {$a}';
ac93d63d 47$string['cannotpreview'] = 'You can\'t preview these questions!';
1773d042 48$string['cannotretrieveqcat'] = 'Could retrieve question category';
ac93d63d 49$string['cannotunhidequestion'] = 'Failed to unhide the question.';
70c33d22 50$string['cannotunzip'] = 'Could not unzip file.';
30c8dd34 51$string['cannotwriteto'] = 'Cannot write exported questions to {$a}';
3bee1ead 52$string['categorycurrent'] = 'Current Category';
53$string['categorycurrentuse'] = 'Use This Category';
30c8dd34 54$string['categorydoesnotexist'] = 'This category does not exist';
3bee1ead 55$string['categorymoveto'] = 'Save in Category';
62e76c67 56$string['clicktoflag'] = 'Click to flag this question';
57$string['clicktounflag'] = 'Click to un-flag this question';
58$string['contexterror'] = 'You shouldn\'t have got here if you\'re not moving a category to another context.';
59$string['copy'] = 'Copy from {$a} and change links.';
60$string['created'] = 'Created';
61$string['createdby'] = 'Created by';
62$string['createdmodifiedheader'] = 'Created / Last Saved';
cd120b23 63$string['createnewquestion'] = 'Create a new question ...';
3bee1ead 64$string['cwrqpfs'] = 'Random questions selecting questions from sub categories.';
27762525 65$string['cwrqpfsinfo'] = '<p>During the upgrade to Moodle 1.9 we will separate question categories into
3bee1ead 66different contexts. Some question categories and questions on your site will have to have their sharing
67status changed. This is necessary in the rare case that one or more \'random\' questions in a quiz are set up to select from a mixture of
68shared and unshared categories (as is the case on this site). This happens when a \'random\' question is set to select
69from subcategories and one or more subcategories have a different sharing status to the parent category in which
70the random question is created.</p>
6d1083c5 71<p>The following question categories, from which \'random\' questions in parent categories select questions from,
72will have their sharing status changed to the same sharing status as the category with the \'random\' question in
73on upgrading to Moodle 1.9. The following categories will have their sharing status changed. Questions which are
74affected will continue to work in all existing quizzes until you remove them from these quizzes.</p>';
3bee1ead 75$string['cwrqpfsnoprob'] = 'No question categories in your site are affected by the \'Random questions selecting questions from sub categories\' issue.';
76$string['defaultfor'] = 'Default for {$a}';
77$string['defaultinfofor'] = 'The default category for questions shared in context \'{$a}\'.';
e2b347e9 78$string['deletecoursecategorywithquestions'] = 'There are questions in the question bank associated with this course category. If you proceed, they will be deleted. You may wish to move them first, using the question bank interface.';
a781921f 79$string['disabled'] = 'Disabled';
80$string['disterror'] = 'The distribution {$a} caused problems';
81$string['donothing'] = 'Don\'t copy or move files or change links.';
82$string['editcategories'] = 'Edit categories';
83$string['editcategories_help'] = 'Rather than keeping everything in one big list, questions may be arranged into categories and subcategories.
85Each category has a context which determines where the questions in the category can be used:
87* Activity context - Questions only available in the activity module
88* Course context - Questions available in all activity modules in the course
89* Course category context - Questions available in all activity modules and courses in the course category
90* System context - Questions available in all courses and activities on the site
92Categories are also used for random questions, as questions are selected from a particular category.';
93$string['editcategories_link'] = 'question/category';
3bee1ead 94$string['editingcategory'] = 'Editing a category';
36703ed7 95$string['editingquestion'] = 'Editing a question';
85edde5c 96$string['editthiscategory'] = 'Edit this category';
30c8dd34 97$string['emptyxml'] = 'Unkown error - empty imsmanifest.xml';
a781921f 98$string['enabled'] = 'Enabled';
3bee1ead 99$string['erroraccessingcontext'] = 'Cannot access context';
100$string['errordeletingquestionsfromcategory'] = 'Error deleting questions from category {$a}.';
101$string['errorduringpost'] = 'Error occurred during post-processing!';
70c33d22 102$string['errorduringpre'] = 'Error occurred during pre-processing!';
103$string['errorduringproc'] = 'Error occurred during processing!';
30c8dd34 104$string['errorduringregrade'] = 'Could not regrade question {$a->qid}, going to state {$a->stateid}.';
105$string['errorfilecannotbecopied'] = 'Error: cannot copy file {$a}.';
106$string['errorfilecannotbemoved'] = 'Error: cannot move file {$a}.';
107$string['errorfileschanged'] = 'Error: files linked to from questions have changed since form was displayed.';
108$string['errormanualgradeoutofrange'] = 'The grade {$a->grade} is not between 0 and {$a->maxgrade} for question {$a->name}. The score and comment have not been saved.';
109$string['errormovingquestions'] = 'Error while moving questions with ids {$a}.';
9ee94881 110$string['errorpostprocess'] = 'Error occurred during post-processing!';
30c8dd34 111$string['errorpreprocess'] = 'Error occurred during pre-processing!';
9ee94881 112$string['errorprocess'] = 'Error occurred during processing!';
113$string['errorprocessingresponses'] = 'An error occurred while processing your responses.';
114$string['errorsavingcomment'] = 'Error saving the comment for question {$a->name} in the database.';
115$string['errorupdatingattempt'] = 'Error updating attempt {$a->id} in the database.';
3bee1ead 116$string['exportcategory'] = 'Export category';
bd8ee7c1 117$string['exporterror'] = 'Errors occur during exporting!';
118$string['exportquestions'] = 'Export questions to file';
119$string['exportquestions_help'] = 'This function enables the export of a complete category (and any subcategories) of questions to file. Please note that, depending on the file format selected, some question data and certain question types may not be exported.';
120$string['exportquestions_link'] = 'question/export';
121$string['filesareacourse'] = 'the course files area';
122$string['filesareasite'] = 'the site files area';
123$string['filestomove'] = 'Move / copy files to {$a}?';
62e76c67 124$string['flagged'] = 'Flagged';
125$string['flagthisquestion'] = 'Flag this question';
d89ec019 126$string['formquestionnotinids'] = 'Form contained question that is not in questionids';
30c8dd34 127$string['fractionsnomax'] = 'One of the answers should have a score of 100% so it is possible to get full marks for this question.';
3bee1ead 128$string['getcategoryfromfile'] = 'Get category from file';
129$string['getcontextfromfile'] = 'Get context from file';
130$string['changepublishstatuscat'] = '<a href="{$a->caturl}">Category "{$a->name}"</a> in course "{$a->coursename}" will have it\'s sharing status changed from <strong>{$a->changefrom} to {$a->changeto}</strong>.';
131$string['chooseqtypetoadd'] = 'Choose a question type to add';
3bee1ead 132$string['ignorebroken'] = 'Ignore broken links';
30c8dd34 133$string['impossiblechar'] = 'Impossible character {$a} detected as parenthesis character';
134$string['importquestions'] = 'Import questions from file';
135$string['importquestions_help'] = 'This function enables questions in a variety of formats to be imported via text file. Note that the file must use UTF-8 encoding.';
136$string['importquestions_link'] = 'question/import';
ac93d63d 137$string['invalidarg'] = 'No valid arguments supplied or incorrect server configuration';
70c33d22 138$string['invalidcategoryidforparent'] = 'Invalid category id for parent!';
139$string['invalidcategoryidtomove'] = 'Invalid category id to move!';
140$string['invalidconfirm'] = 'Confirmation string was incorrect';
141$string['invalidcontextinhasanyquestions'] = 'Invalid context passed to question_context_has_any_questions.';
beb69c11 142$string['invalidwizardpage'] = 'Incorrect or no wizard page specified!';
5bd22790 143$string['lastmodifiedby'] = 'Last modified by';
144$string['linkedfiledoesntexist'] = 'Linked file {$a} doesn\'t exist';
145$string['makechildof'] = 'Make Child of \'{$a}\'';
3bee1ead 146$string['maketoplevelitem'] = 'Move to top level';
beb69c11 147$string['missingcourseorcmid'] = 'Need to provide courseid or cmid to print_question.';
60e40dda 148$string['missingcourseorcmidtolink'] = 'Need to provide courseid or cmid to get_question_edit_link.';
149$string['missingimportantcode'] = 'This question type is missing important code: {$a}.';
150$string['missingoption'] = 'The cloze question {$a} is missing its options';
8a3b3e66 151$string['modified'] = 'Last saved';
152$string['move'] = 'Move from {$a} and change links.';
153$string['movecategory'] = 'Move Category';
154$string['movedquestionsandcategories'] = 'Moved questions and question categories from {$a->oldplace} to {$a->newplace}.';
155$string['movelinksonly'] = 'Just change where links point to, do not move or copy files.';
156$string['moveq'] = 'Move question(s)';
157$string['moveqtoanothercontext'] = 'Move question to another context.';
158$string['movingcategory'] = 'Moving Category';
159$string['movingcategoryandfiles'] = 'Are you sure you want to move category {$a->name} and all child categories to context for "{$a->contextto}"?<br /> We have detected {$a->urlcount} files linked from questions in {$a->fromareaname}, would you like to copy or move these to {$a->toareaname}?';
160$string['movingcategorynofiles'] = 'Are you sure you want to move category "{$a->name}" and all child categories to context for "{$a->contextto}"?';
3bee1ead 161$string['movingquestions'] = 'Moving Questions and Any Files';
162$string['movingquestionsandfiles'] = 'Are you sure you want to move question(s) {$a->questions} to context for <strong>"{$a->tocontext}"</strong>?<br /> We have detected <strong>{$a->urlcount} files</strong> linked from these question(s) in {$a->fromareaname}, would you like to copy or move these to {$a->toareaname}?';
163$string['movingquestionsnofiles'] = 'Are you sure you want to move question(s) {$a->questions} to context for <strong>"{$a->tocontext}"</strong>?<br /> There are <strong>no files</strong> linked from these question(s) in {$a->fromareaname}.';
3bee1ead 164$string['needtochoosecat'] = 'You need to choose a category to move this question to or press \'cancel\'.';
30c8dd34 165$string['nocate'] = 'No such category {$a}!';
3bee1ead 166$string['nopermissionadd'] = 'You don\'t have permission to add questions here.';
3efbe6bc 167$string['nopermissionmove'] = 'You don\'t have permission to move questions from here. You must save the question in this category or save it as a new question.';
3bee1ead 168$string['noprobs'] = 'No problems found in your question database.';
36703ed7 169$string['notenoughdatatoeditaquestion'] = 'Neither a question id, nor a category id and question type, was specified.';
3bee1ead 170$string['notenoughdatatomovequestions'] = 'You need to provide the question ids of questions you want to move.';
62e76c67 171$string['notflagged'] = 'Not flagged';
30c8dd34 172$string['novirtualquestiontype'] = 'No virtual question type for question type {$a}';
173$string['parentcategory'] = 'Parent category';
174$string['parentcategory_help'] = 'The parent category is the one in which the new category will be placed. "Top" means that this category is not contained in any other category. Category contexts are shown in bold type. There must be at least one category in each context.';
175$string['parentcategory_link'] = 'question/category';
176$string['parenthesisinproperclose'] = 'Parenthesis before ** is not properly closed in {$a}**';
177$string['parenthesisinproperstart'] = 'Parenthesis before ** is not properly started in {$a}**';
3bee1ead 178$string['permissionedit'] = 'Edit this question';
179$string['permissionmove'] = 'Move this question';
180$string['permissionsaveasnew'] = 'Save this as a new question';
181$string['permissionto'] = 'You have permission to :';
6d1083c5 182$string['published'] = 'shared';
5bd22790 183$string['qtypeveryshort'] = 'T';
30c8dd34 184$string['questionaffected'] = '<a href="{$a->qurl}">Question "{$a->name}" ({$a->qtype})</a> is in this question category but is also being used in <a href="{$a->qurl}">quiz "{$a->quizname}"</a> in another course "{$a->coursename}".';
5eb266d8 185$string['questionbank'] = 'Question bank';
e2b347e9 186$string['questioncategory'] = 'Question category';
30c8dd34 187$string['questioncatsfor'] = 'Question Categories for \'{$a}\'';
36703ed7 188$string['questiondoesnotexist'] = 'This question does not exist';
0ff5afdf 189$string['questionname'] = 'Question name';
190$string['questionsaveerror'] = 'Errors occur during saving question - ({$a})';
191$string['questionsmovedto'] = 'Questions still in use moved to "{$a}" in the parent course category.';
192$string['questionsrescuedfrom'] = 'Questions saved from context {$a}.';
193$string['questionsrescuedfrominfo'] = 'These questions (some of which may be hidden) were saved when context {$a} was deleted because they are still used by some quizzes or other activities.';
0ff5afdf 194$string['questiontype'] = 'Question type';
3bee1ead 195$string['questionuse'] = 'Use question in this activity';
f62040ed 196$string['saveflags'] = 'Save the state of the flags';
cd120b23 197$string['selectacategory'] = 'Select a category:';
198$string['selectaqtypefordescription'] = 'Select a question type to see its description.';
0ff5afdf 199$string['selectquestionsforbulk'] = 'Select questions for bulk actions';
30c8dd34 200$string['shareincontext'] = 'Share in context for {$a}';
3bee1ead 201$string['tofilecategory'] = 'Write category to file';
202$string['tofilecontext'] = 'Write context to file';
203$string['unknown'] = 'Unknown';
204$string['unknownquestiontype'] = 'Unknown question type: {$a}.';
205$string['unknowntolerance'] = 'Unknown tolerance type {$a}';
6d1083c5 206$string['unpublished'] = 'unshared';
207$string['upgradeproblemcategoryloop'] = 'Problem detected when upgrading question categories. There is a loop in the category tree. The affected category ids are {$a}.';
208$string['upgradeproblemcouldnotupdatecategory'] = 'Could not update question category {$a->name} ({$a->id}).';
209$string['upgradeproblemunknowncategory'] = 'Problem detected when upgrading question categories. Category {$a->id} refers to parent {$a->parent}, which does not exist. Parent changed to fix problem.';
210$string['wrongprefix'] = 'Wrongly formatted nameprefix {$a}';
a27aa5c6 211$string['youmustselectaqtype'] = 'You must select a question type.';
30c8dd34 212$string['yourfileshoulddownload'] = 'Your export file should start to download shortly. If not, please <a href="{$a}">click here</a>.';