Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Strings for component 'qtype_calculated', language 'en', branch 'MOODLE_20_STABLE'
  19   *
  20   * @package    qtype
  21   * @subpackage calculated
  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   */
  25  
  26  $string['additem'] = 'Add item';
  27  $string['addmoreanswerblanks'] = 'Add another answer blank.';
  28  $string['addsets'] = 'Add set(s)';
  29  $string['answerformula'] = 'Answer  {$a} formula';
  30  $string['answerdisplay'] = 'Answer display';
  31  $string['answerhdr'] = 'Answer';
  32  $string['answerstoleranceparam'] = 'Answers tolerance parameters';
  33  $string['answerwithtolerance'] = '{$a->answer} (±{$a->tolerance} {$a->tolerancetype})';
  34  $string['anyvalue'] = 'Any value';
  35  $string['atleastoneanswer'] = 'You need to provide at least one answer.';
  36  $string['atleastonerealdataset'] = 'There should be at least one real dataset in question text';
  37  $string['atleastonewildcard'] = 'There should be at least one wild card in answer formula or question text';
  38  $string['calcdistribution'] = 'Distribution';
  39  $string['calclength'] = 'Decimal places';
  40  $string['calcmax'] = 'Maximum';
  41  $string['calcmin'] = 'Minimum';
  42  $string['choosedatasetproperties'] = 'Choose wildcards dataset properties';
  43  $string['choosedatasetproperties_help'] = 'A dataset is a set of values inserted in place of a wildcard. You can create a private dataset for a specific question, or a shared dataset that can be used for other calculated questions within the category.';
  44  $string['correctanswerformula'] = 'Correct answer formula';
  45  $string['correctanswershows'] = 'Correct answer shows';
  46  $string['correctanswershowsformat'] = 'Format';
  47  $string['correctfeedback'] = 'For any correct response';
  48  $string['dataitemdefined'] = 'with {$a} numerical values already defined is available';
  49  $string['datasetrole'] = ' The wild cards <strong>{x..}</strong> will be substituted by a numerical value from their dataset';
  50  $string['decimals'] = 'with {$a}';
  51  $string['deleteitem'] = 'Delete item';
  52  $string['deletelastitem'] = 'Delete last item';
  53  $string['distributionoption'] = 'Select distribution option';
  54  $string['editdatasets'] = 'Edit the wildcards datasets';
  55  $string['editdatasets_help'] = 'Wildcard values may be created by entering a number in each wild card field then clicking the add button. To automatically generate 10 or more values, select the number of values required before clicking the add button. A uniform distribution means any value between the limits is equally likely to be generated; a loguniform distribution means that values towards the lower limit are more likely.';
  56  $string['editdatasets_link'] = 'question/type/calculated';
  57  $string['existingcategory1'] = 'will use an already existing shared dataset';
  58  $string['existingcategory2'] = 'a file from an already existing set of files that are also used by other questions in this category';
  59  $string['existingcategory3'] = 'a link from an already existing set of links that are also used by other questions in this category';
  60  $string['forceregeneration'] = 'force regeneration';
  61  $string['forceregenerationall'] = 'forceregeneration of all wildcards';
  62  $string['forceregenerationshared'] = 'forceregeneration of only non-shared wildcards';
  63  $string['functiontakesatleasttwo'] = 'The function {$a} must have at least two arguments';
  64  $string['functiontakesnoargs'] = 'The function {$a} does not take any arguments';
  65  $string['functiontakesonearg'] = 'The function {$a} must have exactly one argument';
  66  $string['functiontakesoneortwoargs'] = 'The function {$a} must have either one or two arguments';
  67  $string['functiontakestwoargs'] = 'The function {$a} must have exactly two arguments';
  68  $string['generatevalue'] = 'Generate a new value between';
  69  $string['getnextnow'] = 'Get new \'Item to Add\' now';
  70  $string['hexanotallowed'] = 'Dataset <strong>{$a->name}</strong> hexadecimal format value {$a->value} is not allowed';
  71  $string['illegalformulasyntax'] = 'Illegal formula syntax starting with \'{$a}\'';
  72  $string['incorrectfeedback'] = 'For any incorrect response';
  73  $string['item(s)'] = 'item(s)';
  74  $string['itemno'] = 'Item {$a}';
  75  $string['itemscount'] = 'Items<br />Count';
  76  $string['itemtoadd'] = 'Item to add';
  77  $string['keptcategory1'] = 'will use the same existing shared dataset as before';
  78  $string['keptcategory2'] = 'a file from the same category reusable set of files as before';
  79  $string['keptcategory3'] = 'a link from the same category reusable set of links as before';
  80  $string['keptlocal1'] = 'will use the same existing private dataset as before';
  81  $string['keptlocal2'] = 'a file from the same question private set of files as before';
  82  $string['keptlocal3'] = 'a link from the same question private set of links as before';
  83  $string['lastitem(s)'] = 'last items(s)';
  84  $string['lengthoption'] = 'Select length option';
  85  $string['loguniform'] = 'Loguniform';
  86  $string['loguniformbit'] = 'digits, from a loguniform distribution';
  87  $string['makecopynextpage'] = 'Next page (new question)';
  88  $string['mandatoryhdr'] = 'Mandatory wild cards present in answers';
  89  $string['max'] = 'Max';
  90  $string['min'] = 'Min';
  91  $string['minmax'] = 'Range of Values';
  92  $string['missingformula'] = 'Missing formula';
  93  $string['missingname'] = 'Missing question name';
  94  $string['missingquestiontext'] = 'Missing question text';
  95  $string['mustenteraformulaorstar'] = 'You must enter a formula or \'*\'.';
  96  $string['newcategory1'] = 'will use a new shared dataset';
  97  $string['newcategory2'] = 'a file from a new set of files that may also be used by other questions in this category';
  98  $string['newcategory3'] = 'a link from a new set of links that may also be used by other questions in this category';
  99  $string['newlocal1'] = 'will use a new private dataset';
 100  $string['newlocal2'] = 'a file  from a new set of files that will only be used by this question';
 101  $string['newlocal3'] = 'a link from a new set of links that will only be used by this question';
 102  $string['nextitemtoadd'] = 'Next \'Item to Add\'';
 103  $string['nextpage'] = 'Next page';
 104  $string['nocoherencequestionsdatyasetcategory'] = 'For question id {$a->qid}, the category id {$a->qcat} is not identical with the shared wild card {$a->name} category id {$a->sharedcat}. Edit the question.';
 105  $string['nocommaallowed'] = 'The , cannot be used, use . as in 0.013 or 1.3e-2';
 106  $string['nodataset'] = 'nothing - it is not a wild card';
 107  $string['nosharedwildcard'] = 'No shared wild card in this category';
 108  $string['notvalidnumber'] = 'Wild card value is not a valid number ';
 109  $string['oneanswertrueansweroutsidelimits'] = 'At least one correct answer outside the true value limits.<br />Modify the answers tolerance settings available as Advanced parameters';
 110  $string['param'] = 'Param {<strong>{$a}</strong>}';
 111  $string['partiallycorrectfeedback'] = 'For any partially correct response';
 112  $string['pluginname'] = 'Calculated';
 113  $string['pluginname_help'] = 'Calculated questions enable individual numerical questions to be created using wildcards in curly brackets that are substituted with individual values when the quiz is taken. For example, the question "What is the area of a rectangle of length {l} and width {w}?" would have correct answer formula "{l}*{w}" (where * denotes multiplication).';
 114  $string['pluginname_link'] = 'question/type/calculated';
 115  $string['pluginnameadding'] = 'Adding a Calculated question';
 116  $string['pluginnameediting'] = 'Editing a Calculated question';
 117  $string['pluginnamesummary'] = 'Calculated questions are like numerical questions but with the numbers used selected randomly from a set when the quiz is taken.';
 118  $string['privacy:metadata'] = 'The Calculated question type plugin does not store any personal data.';
 119  $string['possiblehdr'] = 'Possible wild cards present only in the question text';
 120  $string['questiondatasets'] = 'Question datasets';
 121  $string['questiondatasets_help'] = 'Question datasets of wild cards that will be used in each individual question';
 122  $string['questionstoredname'] = 'Question stored name';
 123  $string['replacewithrandom'] = 'Replace with a random value';
 124  $string['reuseifpossible'] = 'reuse previous value if available';
 125  $string['sharedwildcard'] = 'Shared wild card {<strong>{$a}</strong>}';
 126  $string['sharedwildcardname'] = 'Shared wild card ';
 127  $string['sharedwildcards'] = 'Shared wild cards';
 128  $string['significantfigures'] = 'with {$a}';
 129  $string['significantfiguresformat'] = 'significant figures';
 130  $string['synchronize'] = 'Synchronise the data from shared datasets with other questions in a quiz';
 131  $string['synchronizeno'] = 'Do not synchronise';
 132  $string['synchronizeyes'] = 'Synchronise';
 133  $string['synchronizeyesdisplay'] = 'Synchronise and display the shared datasets name as prefix of the question name';
 134  $string['tolerance'] = 'Tolerance ±';
 135  $string['tolerancetype'] = 'Type';
 136  $string['trueanswerinsidelimits'] = 'Correct answer : {$a->correct} inside limits of true value {$a->true}';
 137  $string['trueansweroutsidelimits'] = '<span class="error">ERROR Correct answer : {$a->correct} outside limits of true value {$a->true}</span>';
 138  $string['uniform'] = 'Uniform';
 139  $string['uniformbit'] = 'decimals, from a uniform distribution';
 140  $string['updatecategory'] = 'Update the category';
 141  $string['updatedatasetparam'] = 'Update the datasets parameters';
 142  $string['updatetolerancesparam'] = 'Update the answers tolerance parameters';
 143  $string['usedinquestion'] = 'Used in Question';
 144  $string['youmustaddatleastoneitem'] = 'You must add at least one dataset item before you can save this question.';
 145  $string['youmustaddatleastonevalue'] = 'You must add at least one set of wild card(s) values before you can save this question.';
 146  $string['newsetwildcardvalues'] = 'new set(s) of wild card(s) values';
 147  $string['setno'] = 'Set {$a}';
 148  $string['setwildcardvalues'] = 'set(s) of wild card(s) values';
 149  $string['showitems'] = 'Display';
 150  $string['updatewildcardvalues'] = 'Update the wild card(s) values';
 151  $string['unsupportedformulafunction'] = 'The function {$a} is not supported';
 152  $string['useadvance'] = 'Use the advance button to see the errors';
 153  $string['wildcard'] = 'Wild card {<strong>{$a}</strong>}';
 154  $string['wildcardparam'] = 'Wild cards parameters used to generate the values';
 155  $string['wildcardrole'] = 'The wild cards <strong>{x..}</strong> will be substituted by a numerical value from the generated values';
 156  $string['wildcards'] = 'Wild cards {a}...{z}';
 157  $string['wildcardvalues'] = 'Wild card(s) values';
 158  $string['wildcardvaluesgenerated'] = 'Wild card(s) values generated';
 159  $string['zerosignificantfiguresnotallowed'] = 'The correct answer cannot have zero significant figures!';