MDL-22582, file_tree_viewer implementaion in core renderer
[moodle.git] / lang / en / question.php
CommitLineData
30c8dd34
DM
1<?php
2
3// This file is part of Moodle - http://moodle.org/
4//
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.
9//
10// Moodle is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17
18/**
19 * Strings for component 'question', language 'en', branch 'MOODLE_20_STABLE'
20 *
21 * @package question
22 * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
23 * @license http://www.gnu.org/copyleft/gpl.html 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?';
30c8dd34
DM
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';
30c8dd34
DM
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';
30c8dd34
DM
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';
30c8dd34
DM
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';
30c8dd34
DM
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.';
30c8dd34
DM
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';
30c8dd34
DM
80$string['disterror'] = 'The distribution {$a} caused problems';
81$string['donothing'] = 'Don\'t copy or move files or change links.';
3bee1ead 82$string['editingcategory'] = 'Editing a category';
36703ed7 83$string['editingquestion'] = 'Editing a question';
85edde5c 84$string['editthiscategory'] = 'Edit this category';
30c8dd34 85$string['emptyxml'] = 'Unkown error - empty imsmanifest.xml';
a781921f 86$string['enabled'] = 'Enabled';
3bee1ead 87$string['erroraccessingcontext'] = 'Cannot access context';
30c8dd34
DM
88$string['errordeletingquestionsfromcategory'] = 'Error deleting questions from category {$a}.';
89$string['errorduringpost'] = 'Error occurred during post-processing!';
70c33d22 90$string['errorduringpre'] = 'Error occurred during pre-processing!';
91$string['errorduringproc'] = 'Error occurred during processing!';
30c8dd34 92$string['errorduringregrade'] = 'Could not regrade question {$a->qid}, going to state {$a->stateid}.';
8d58ae88
HF
93$string['errorfilecannotbecopied'] = 'Error: cannot copy file {$a}.';
94$string['errorfilecannotbemoved'] = 'Error: cannot move file {$a}.';
95$string['errorfileschanged'] = 'Error: files linked to from questions have changed since form was displayed.';
30c8dd34
DM
96$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.';
97$string['errormovingquestions'] = 'Error while moving questions with ids {$a}.';
9ee94881 98$string['errorpostprocess'] = 'Error occurred during post-processing!';
30c8dd34 99$string['errorpreprocess'] = 'Error occurred during pre-processing!';
9ee94881 100$string['errorprocess'] = 'Error occurred during processing!';
30c8dd34
DM
101$string['errorprocessingresponses'] = 'An error occurred while processing your responses.';
102$string['errorsavingcomment'] = 'Error saving the comment for question {$a->name} in the database.';
103$string['errorupdatingattempt'] = 'Error updating attempt {$a->id} in the database.';
3bee1ead 104$string['exportcategory'] = 'Export category';
bd8ee7c1 105$string['exporterror'] = 'Errors occur during exporting!';
d7768a69
HF
106$string['exportquestions'] = 'Export questions to file';
107$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.';
108$string['exportquestions_link'] = 'question/export';
30c8dd34
DM
109$string['filesareacourse'] = 'the course files area';
110$string['filesareasite'] = 'the site files area';
111$string['filestomove'] = 'Move / copy files to {$a}?';
62e76c67 112$string['flagged'] = 'Flagged';
113$string['flagthisquestion'] = 'Flag this question';
d89ec019 114$string['formquestionnotinids'] = 'Form contained question that is not in questionids';
30c8dd34 115$string['fractionsnomax'] = 'One of the answers should have a score of 100% so it is possible to get full marks for this question.';
3bee1ead 116$string['getcategoryfromfile'] = 'Get category from file';
117$string['getcontextfromfile'] = 'Get context from file';
30c8dd34
DM
118$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>.';
119$string['chooseqtypetoadd'] = 'Choose a question type to add';
3bee1ead 120$string['ignorebroken'] = 'Ignore broken links';
30c8dd34 121$string['impossiblechar'] = 'Impossible character {$a} detected as parenthesis character';
d7768a69
HF
122$string['importquestions'] = 'Import questions from file';
123$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.';
124$string['importquestions_link'] = 'question/import';
ac93d63d 125$string['invalidarg'] = 'No valid arguments supplied or incorrect server configuration';
70c33d22 126$string['invalidcategoryidforparent'] = 'Invalid category id for parent!';
127$string['invalidcategoryidtomove'] = 'Invalid category id to move!';
30c8dd34
DM
128$string['invalidconfirm'] = 'Confirmation string was incorrect';
129$string['invalidcontextinhasanyquestions'] = 'Invalid context passed to question_context_has_any_questions.';
beb69c11 130$string['invalidwizardpage'] = 'Incorrect or no wizard page specified!';
5bd22790 131$string['lastmodifiedby'] = 'Last modified by';
30c8dd34
DM
132$string['linkedfiledoesntexist'] = 'Linked file {$a} doesn\'t exist';
133$string['makechildof'] = 'Make Child of \'{$a}\'';
3bee1ead 134$string['maketoplevelitem'] = 'Move to top level';
beb69c11 135$string['missingcourseorcmid'] = 'Need to provide courseid or cmid to print_question.';
60e40dda 136$string['missingcourseorcmidtolink'] = 'Need to provide courseid or cmid to get_question_edit_link.';
30c8dd34
DM
137$string['missingimportantcode'] = 'This question type is missing important code: {$a}.';
138$string['missingoption'] = 'The cloze question {$a} is missing its options';
8a3b3e66 139$string['modified'] = 'Last saved';
30c8dd34
DM
140$string['move'] = 'Move from {$a} and change links.';
141$string['movecategory'] = 'Move Category';
142$string['movedquestionsandcategories'] = 'Moved questions and question categories from {$a->oldplace} to {$a->newplace}.';
143$string['movelinksonly'] = 'Just change where links point to, do not move or copy files.';
144$string['moveq'] = 'Move question(s)';
145$string['moveqtoanothercontext'] = 'Move question to another context.';
146$string['movingcategory'] = 'Moving Category';
147$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}?';
148$string['movingcategorynofiles'] = 'Are you sure you want to move category "{$a->name}" and all child categories to context for "{$a->contextto}"?';
3bee1ead 149$string['movingquestions'] = 'Moving Questions and Any Files';
30c8dd34
DM
150$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}?';
151$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 152$string['needtochoosecat'] = 'You need to choose a category to move this question to or press \'cancel\'.';
30c8dd34 153$string['nocate'] = 'No such category {$a}!';
3bee1ead 154$string['nopermissionadd'] = 'You don\'t have permission to add questions here.';
3efbe6bc 155$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 156$string['noprobs'] = 'No problems found in your question database.';
36703ed7 157$string['notenoughdatatoeditaquestion'] = 'Neither a question id, nor a category id and question type, was specified.';
3bee1ead 158$string['notenoughdatatomovequestions'] = 'You need to provide the question ids of questions you want to move.';
62e76c67 159$string['notflagged'] = 'Not flagged';
30c8dd34
DM
160$string['novirtualquestiontype'] = 'No virtual question type for question type {$a}';
161$string['parenthesisinproperclose'] = 'Parenthesis before ** is not properly closed in {$a}**';
162$string['parenthesisinproperstart'] = 'Parenthesis before ** is not properly started in {$a}**';
3bee1ead 163$string['permissionedit'] = 'Edit this question';
164$string['permissionmove'] = 'Move this question';
165$string['permissionsaveasnew'] = 'Save this as a new question';
166$string['permissionto'] = 'You have permission to :';
6d1083c5 167$string['published'] = 'shared';
5bd22790 168$string['qtypeveryshort'] = 'T';
30c8dd34 169$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 170$string['questionbank'] = 'Question bank';
e2b347e9 171$string['questioncategory'] = 'Question category';
30c8dd34 172$string['questioncatsfor'] = 'Question Categories for \'{$a}\'';
36703ed7 173$string['questiondoesnotexist'] = 'This question does not exist';
0ff5afdf 174$string['questionname'] = 'Question name';
30c8dd34
DM
175$string['questionsaveerror'] = 'Errors occur during saving question - ({$a})';
176$string['questionsmovedto'] = 'Questions still in use moved to "{$a}" in the parent course category.';
177$string['questionsrescuedfrom'] = 'Questions saved from context {$a}.';
178$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 179$string['questiontype'] = 'Question type';
3bee1ead 180$string['questionuse'] = 'Use question in this activity';
f62040ed 181$string['saveflags'] = 'Save the state of the flags';
cd120b23 182$string['selectacategory'] = 'Select a category:';
183$string['selectaqtypefordescription'] = 'Select a question type to see its description.';
0ff5afdf 184$string['selectquestionsforbulk'] = 'Select questions for bulk actions';
30c8dd34 185$string['shareincontext'] = 'Share in context for {$a}';
3bee1ead 186$string['tofilecategory'] = 'Write category to file';
187$string['tofilecontext'] = 'Write context to file';
188$string['unknown'] = 'Unknown';
30c8dd34
DM
189$string['unknownquestiontype'] = 'Unknown question type: {$a}.';
190$string['unknowntolerance'] = 'Unknown tolerance type {$a}';
6d1083c5 191$string['unpublished'] = 'unshared';
30c8dd34
DM
192$string['upgradeproblemcategoryloop'] = 'Problem detected when upgrading question categories. There is a loop in the category tree. The affected category ids are {$a}.';
193$string['upgradeproblemcouldnotupdatecategory'] = 'Could not update question category {$a->name} ({$a->id}).';
194$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.';
195$string['wrongprefix'] = 'Wrongly formatted nameprefix {$a}';
a27aa5c6 196$string['youmustselectaqtype'] = 'You must select a question type.';
30c8dd34 197$string['yourfileshoulddownload'] = 'Your export file should start to download shortly. If not, please <a href="{$a}">click here</a>.';