From: Pierre Pichet Date: Tue, 25 May 2010 17:17:46 +0000 (+0000) Subject: MDL-20296 using $state->options->raw_unitpenalty to display the unit penalty X-Git-Tag: v2.0.0-rc1~3104 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=327b0d444dc69f337d3687aa8e16ec6ec2b9eb97;ds=sidebyside MDL-20296 using $state->options->raw_unitpenalty to display the unit penalty --- diff --git a/question/type/numerical/lang/en/qtype_numerical.php b/question/type/numerical/lang/en/qtype_numerical.php index 0f00d08eb91..a457cec4053 100644 --- a/question/type/numerical/lang/en/qtype_numerical.php +++ b/question/type/numerical/lang/en/qtype_numerical.php @@ -71,9 +71,9 @@ $string['unitnotgraded'] = 'UNIT NOT GRADED' ; $string['unitnotvalid'] = ' Unit not valid with this numerical value'; $string['unitunknown'] = ' Undefined unit '; $string['unitpenalty'] = 'Penalty for bad unit' ; -$string['unitappliedpenalty'] = 'This submission attracted a penalty of {$a} for bad unit.' ; +$string['unitappliedpenalty'] = 'These marks include a penalty of {$a} for bad unit.' ; $string['unitposition'] = 'Unit position' ; $string['unitshandling'] = 'Units handling' ; $string['validnumberformats'] = 'Valid number formats'; -$string['validnumbers'] = ' 13500.67 : 13 500.67 : 13500,67: 13 500,67 : 1.350067 E4 : 1.350067 E04 '; +$string['validnumbers'] = ' 13500.67 : 13 500.67 : 13,500.67 : 13500,67: 13 500,67 : 1.350067 E4 : 1.350067 E04 ';