Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

   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'] = 'The Numerical question type plugin does not store any personal data.';
  71  $string['relative'] = 'Relative';
  72  $string['rightexample'] = 'on the right, for example 1.00cm or 1.00km';
  73  $string['selectunits'] = 'Select units';
  74  $string['selectunit'] = 'Select one unit';
  75  $string['studentunitanswer'] = 'Units are input using';
  76  $string['tolerancetype'] = 'Tolerance type';
  77  $string['unit'] = 'Unit';
  78  $string['unitappliedpenalty'] = 'These marks include a penalty of {$a} for bad unit.';
  79  $string['unitchoice'] = 'a multiple choice selection';
  80  $string['unitedit'] = 'Edit unit';
  81  $string['unitgraded'] = 'The unit must be given, and will be graded.';
  82  $string['unithandling'] = 'Unit handling';
  83  $string['unitincorrect'] = 'You did not give the correct unit.';
  84  $string['unitmandatory'] = 'Mandatory';
  85  $string['unitmandatory_help'] = '
  86  
  87  * The response will be graded using the unit written.
  88  
  89  * The unit penalty will be applied if the unit field is empty
  90  
  91  ';
  92  $string['unitnotselected'] = 'You must select a unit.';
  93  $string['unitonerequired'] = 'You must enter at least one unit';
  94  $string['unitoptional'] = 'Optional unit';
  95  $string['unitoptional_help'] = '
  96  * If the unit field is not empty, the response will be graded using this unit.
  97  
  98  * If the unit is badly written or unknown, the response will be considered as non valid.
  99  ';
 100  $string['unitpenalty'] = 'Unit penalty';
 101  $string['unitpenalty_help'] = 'The penalty is applied if
 102  
 103  * the wrong unit name is entered into the unit input, or
 104  * a unit is entered into the value input box';
 105  $string['unitposition'] = 'Units go';
 106  $string['units'] = 'Units';
 107  $string['unitselect'] = 'a drop-down menu';
 108  $string['unitx'] = 'Unit {no} ';
 109  $string['validnumberformats'] = 'Valid number formats';
 110  $string['validnumberformats_help'] = '* regular numbers 13500.67, 13 500.67, 13500,67 or 13 500,67
 111  
 112  * if your language pack settings (langconfig.php file) uses a comma (,) as thousand separator *always* put the decimal point (.) as in 13,500.67 : 13,500.
 113  
 114  * for exponent form, say 1.350067 * 10<sup>4</sup>, use 1.350067 E4 : 1.350067 E04';
 115  
 116  $string['validnumbers'] = '13500.67, 13 500.67, 13,500.67, 13500,67, 13 500,67, 1.350067 E4 or 1.350067 E04';
 117  $string['xmustbenumeric'] = '{$a} must be a number.';
 118  $string['xmustnotbenumeric'] = '{$a} cannot be a number.';
 119  $string['youmustenteramultiplierhere'] = 'You must enter a multiplier here.';