Update of /cvsroot/stack/stack-dev/lang/en
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv28065/lang/en
Modified Files:
stack.php
Log Message:
Comma validation bug
Index: stack.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/lang/en/stack.php,v
retrieving revision 1.156
retrieving revision 1.157
diff -C2 -d -r1.156 -r1.157
*** stack.php 1 Oct 2010 17:34:11 -0000 1.156
--- stack.php 13 Oct 2010 12:15:02 -0000 1.157
***************
*** 724,727 ****
--- 724,728 ----
$string['Illegal_floats'] = 'Your answer contains floating point numbers, that are not allowed in this question. You need to type in numbers as fractions. For example, you should type 1/3 not 0.3333, which is after all only an approximation to one third.';
$string['DivisionZero'] = 'Your answer results in a division by zero, eg 1/0, which makes no mathematical sense.';
+ $string['CommaError'] = 'Your answer contains commas which are not part of a list, set or matrix. <ul><li>If you meant to type in a list, please use <tt>{$a[0]}</tt>,</li><li>If you meant to type in a set, please use <tt>{$a[1]}</tt>.</li></ul>';
//question display strings
|