You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<FIELDNAME="questionid"TYPE="int"LENGTH="10"NOTNULL="true"SEQUENCE="false"COMMENT="Foreign key link to question.id"/>
11
11
<FIELDNAME="stackversion"TYPE="text"NOTNULL="false"SEQUENCE="false"COMMENT="The version of the STACK plugin on which this question was authored."/>
12
+
<FIELDNAME="isbroken"TYPE="int"LENGTH="4"NOTNULL="true"DEFAULT="0"SEQUENCE="false"COMMENT="Has this question been saved in a broken state."/>
12
13
<FIELDNAME="questionvariables"TYPE="text"NOTNULL="true"SEQUENCE="false"COMMENT="Maxima code that is run when the question is started to initialise variables."/>
13
14
<FIELDNAME="specificfeedback"TYPE="text"NOTNULL="true"SEQUENCE="false"COMMENT="CAS text for the specific feedback for the question."/>
14
15
<FIELDNAME="specificfeedbackformat"TYPE="int"LENGTH="2"NOTNULL="true"DEFAULT="0"SEQUENCE="false"COMMENT="The FORMAT_... for the specific feedback"/>
Copy file name to clipboardExpand all lines: lang/en/qtype_stack.php
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@
39
39
$string['exceptionmessage'] = '{$a}';
40
40
$string['seekhelp'] = 'Please ask your teacher about this.';
41
41
$string['runtimeerror'] = 'This question generated an unexpected internal error.';
42
+
$string['questionbroken'] = 'The question has been marked as broken during editing.';
42
43
$string['runtimefielderr'] = 'The field ""{$a->field}"" generated the following error: {$a->err}';
43
44
$string['version'] = 'Version';
44
45
@@ -140,6 +141,9 @@
140
141
$string['fixdollarslabel'] = 'Replace <code>$...$</code> with <code>\(...\)</code>, <code>$$...$$</code> with <code>\[...\]</code> and <code>@...@</code> with <code>{@...@}</code> on save.';
141
142
$string['fixdollars_help'] = 'This option is useful if are copying and pasting (or typing) TeX with <code>$...$</code> and <code>$$...$$</code> delimiters. Those delimiters will be replaced by the recommended delimiters during the save process.';
142
143
$string['forbiddendoubledollars'] = 'Please use the delimiters <code>\(...\)</code> for inline maths and <code>\[...\]</code> for display maths. <code>$...$</code> and <code>$$...$$</code> are not permitted. There is an option at the end of the form to fix this automatically.';
144
+
$string['isbroken'] = 'Save as broken';
145
+
$string['isbrokenlabel'] = 'Mark the question as broken. This will allow the question to be saved even with most errors but it will not be displayed to students.';
146
+
$string['isbroken_help'] = 'This option allows you to save your work even if a question is incomplete or has errors. You or a colleague can then return to work on it later. You will still need to supply required fields and tick the boxes to confirm any deletion of inputs or PRTs before the question will save.';
143
147
$string['forbidfloat'] = 'Forbid float';
144
148
$string['forbidfloat_help'] = 'If set to yes, then any answer of the student which has a floating point number will be rejected as invalid.';
$string['variantsselectionseed_help'] = 'Normally you can leave this box blank. If, however, you want two different questions in a quiz to use the same random seed, then type the same string in this box for the two questions (and deploy the same set of random seeds, if you are using deployed variants) and the random seeds for the two questions will be synchronised.';
401
405
$string['verifyquestionandupdate'] = 'Verify the question text and update the form';
402
406
$string['youmustconfirm'] = 'You must confirm here.';
407
+
$string['notsaved'] = '** QUESTION WAS NOT SAVED **';
408
+
$string['mustconfirm'] = 'You have changes to confirm.';
409
+
$string['moodleerrors'] = 'You have errors related to Moodle\'s basic question setup.';
410
+
$string['stackerrors'] = 'You have errors in your question.';
403
411
404
412
// Strings used by input elements.
405
413
$string['studentinputtoolong'] = 'Your input is longer than permitted by STACK.';
0 commit comments