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.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401]

   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_numerical', language 'en', branch 'MOODLE_20_STABLE'
  19   *
  20   * @package    qtype
  21   * @subpackage numerical
  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['acceptederror'] = 'Accepted error';
  27  $string['answererror'] = 'Error';
  28  $string['addmoreanswerblanks'] = 'Blanks for {no} more answers';
  29  $string['addmoreunitblanks'] = 'Blanks for {no} more units';
  30  $string['answercolon'] = 'Answer:';
  31  $string['answermustbenumberorstar'] = 'The answer must be a number, for example -1.234 or 3e8, or \'*\'.';
  32  $string['answerno'] = 'Answer {$a}';
  33  $string['decfractionofquestiongrade'] = 'as a fraction (0-1) of the question grade';
  34  $string['decfractionofresponsegrade'] = 'as a fraction (0-1) of the response grade';
  35  $string['decimalformat'] = 'decimals';
  36  $string['editableunittext'] = 'the text input element';
  37  $string['errornomultiplier'] = 'You must specify a multiplier for this unit.';
  38  $string['errorrepeatedunit'] = 'You cannot have two units with the same name.';
  39  $string['geometric'] = 'Geometric';
  40  $string['invalidnumber'] = 'You must enter a valid number.';
  41  $string['invalidnumbernounit'] = 'You must enter a valid number. Do not include a unit in your response.';
  42  $string['invalidnumericanswer'] = 'One of the answers you entered was not a valid number.';
  43  $string['invalidnumerictolerance'] = 'One of the tolerances you entered was not a valid number.';
  44  $string['leftexample'] = 'on the left, for example $1.00 or £1.00';
  45  $string['multiplier'] = 'Multiplier';
  46  $string['noneditableunittext'] = 'NON editable text of Unit No1';
  47  $string['nonvalidcharactersinnumber'] = 'NON valid characters in number';
  48  $string['notenoughanswers'] = 'You must enter at least one answer.';
  49  $string['nounitdisplay'] = 'No unit grading';
  50  $string['numericalmultiplier'] = 'Multiplier';
  51  $string['numericalmultiplier_help'] = 'The multiplier is the factor by which the correct numerical response will be multiplied.
  52  
  53  The first unit (Unit 1) has a default multiplier of 1. Thus if the correct numerical response is 5500 and you set W as unit at Unit 1 which has 1 as default multiplier, the correct response is 5500 W.
  54  
  55  If you add the unit kW with a multiplier of 0.001, this will add a correct response of 5.5 kW. This means that the answers 5500W or 5.5kW would be marked correct.
  56  
  57  Note that the accepted error is also multiplied, so an allowed error of 100W would become an error of 0.1kW.';
  58  $string['manynumerical'] = 'Units are optional. If a unit is entered, it is used to convert the response to Unit 1 before grading.';
  59  $string['nominal'] = 'Nominal';
  60  $string['onlynumerical'] = 'Units are not used at all. Only the numerical value is graded.';
  61  $string['oneunitshown'] = 'Unit 1 is automatically displayed beside the answer box.';
  62  $string['pleaseenterananswer'] = 'Please enter an answer.';
  63  $string['pleaseenteranswerwithoutthousandssep'] = 'Please enter your answer without using the thousand separator ({$a}).';
  64  $string['pluginname'] = 'Numerical';
  65  $string['pluginname_help'] = 'From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a fixed range of answers to be evaluated as one answer. For example, if the answer is 10 with an accepted error of 2, then any number between 8 and 12 will be accepted as correct. ';
  66  $string['pluginname_link'] = 'question/type/numerical';
  67  $string['pluginnameadding'] = 'Adding a Numerical question';
  68  $string['pluginnameediting'] = 'Editing a Numerical question';
  69  $string['pluginnamesummary'] = 'Allows a numerical response, possibly with units, that is graded by comparing against various model answers, possibly with tolerances.';
  70  $string['privacy:metadata'] = 'Numerical question type plugin allows question authors to set default options as user preferences.';
  71  $string['privacy:preference:defaultmark'] = 'The default mark set for a given question.';
  72  $string['privacy:preference:penalty'] = 'The penalty for each incorrect try when questions are run using the \'Interactive with multiple tries\' or \'Adaptive mode\' behaviour.';
  73  $string['privacy:preference:unitrole'] = 'Whether the unit is essential, optional or not expected.';
  74  $string['privacy:preference:unitpenalty'] = 'What fraction (0-1) of the response grade or the question grade should apply?';
  75  $string['privacy:preference:unitgradingtypes'] = 'Whether unit penalty applies as a fraction (0-1) of the response grade or the question grade.';
  76  $string['privacy:preference:multichoicedisplay'] = 'Whether units are displayed as the text input element, multiple choice selection or a drop-down menu.';
  77  $string['privacy:preference:unitsleft'] = 'Whether unit displays on the left (eg. $, £) or on the right (eg. kg, km, cm).';
  78  $string['relative'] = 'Relative';
  79  $string['rightexample'] = 'on the right, for example 1.00cm or 1.00km';
  80  $string['selectunits'] = 'Select units';
  81  $string['selectunit'] = 'Select one unit';
  82  $string['studentunitanswer'] = 'Units are input using';
  83  $string['tolerancetype'] = 'Tolerance type';
  84  $string['unit'] = 'Unit';
  85  $string['unitappliedpenalty'] = 'These marks include a penalty of {$a} for bad unit.';
  86  $string['unitchoice'] = 'a multiple choice selection';
  87  $string['unitedit'] = 'Edit unit';
  88  $string['unitgraded'] = 'The unit must be given, and will be graded.';
  89  $string['unithandling'] = 'Unit handling';
  90  $string['unitincorrect'] = 'You did not give the correct unit.';
  91  $string['unitmandatory'] = 'Mandatory';
  92  $string['unitmandatory_help'] = '
  93  
  94  * The response will be graded using the unit written.
  95  
  96  * The unit penalty will be applied if the unit field is empty
  97  
  98  ';
  99  $string['unitnotselected'] = 'You must select a unit.';
 100  $string['unitonerequired'] = 'You must enter at least one unit';
 101  $string['unitoptional'] = 'Optional unit';
 102  $string['unitoptional_help'] = '
 103  * If the unit field is not empty, the response will be graded using this unit.
 104  
 105  * If the unit is badly written or unknown, the response will be considered as non valid.
 106  ';
 107  $string['unitpenalty'] = 'Unit penalty';
 108  $string['unitpenalty_help'] = 'The penalty is applied if
 109  
 110  * the wrong unit name is entered into the unit input, or
 111  * a unit is entered into the value input box';
 112  $string['unitposition'] = 'Units go';
 113  $string['units'] = 'Units';
 114  $string['unitselect'] = 'a drop-down menu';
 115  $string['unitx'] = 'Unit {no} ';
 116  $string['xmustbenumeric'] = '{$a} must be a number.';
 117  $string['xmustnotbenumeric'] = '{$a} cannot be a number.';
 118  $string['youmustenteramultiplierhere'] = 'You must enter a multiplier here.';