diff options
author | John Denker <jsd@av8n.com> | 2021-11-10 15:05:27 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2021-11-10 15:05:27 -0700 |
commit | 00f7ed380b90cc003c3f99a6ce116b885a7469ec (patch) | |
tree | a5c5803fa5ec643bac9559e5e48da36d91fa5d00 /lang | |
parent | d8e30f21278e2326b09097f99a8e5423112a8e8e (diff) |
display more-informative error message;
required stripping off two layers of concealment
Diffstat (limited to 'lang')
-rw-r--r-- | lang/en/qtype_algebra.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/en/qtype_algebra.php b/lang/en/qtype_algebra.php index 81baad5..b29682e 100644 --- a/lang/en/qtype_algebra.php +++ b/lang/en/qtype_algebra.php @@ -23,6 +23,8 @@ */ // Parser lang strings. +$string['deprecatedlog'] = 'log() is deprecated; use ln() or log10() instead'; +$string['trivial_1'] = '{$a}'; $string['badclosebracket'] = 'Invalid close bracket found'; $string['badequivtype'] = 'Invalid type: can only compare parser terms with other parser terms'; $string['badfuncargs'] = 'Invalid arguments for the function \'{$a}\''; @@ -111,7 +113,7 @@ $string['notenoughvars'] = 'You must enter at least one variable.'; $string['novarmax'] = 'No maximum bound specified for variable.'; $string['novarmin'] = 'No minimum bound specified for variable.'; $string['options'] = 'Options'; -$string['parseerror'] = 'Error parsing function: \'{$a}\''; +$string['parseerror'] = 'Error parsing function: \'{$a}\''; /* not used at the moment */ $string['restoreqdbfailed'] = 'Restoring algebra question failed: database write error'; $string['restorevardbfailed'] = 'Restoring algebra question variable failed: database write error'; $string['tolerance'] = 'Tolerance for Evaluation Checks'; @@ -146,7 +148,7 @@ $string['dollars'] = '$$...$$'; $string['brackets'] = '\[...\]'; $string['braces'] = '\\(...\\)'; $string['dollar'] = '$...$'; -$string['invalidanswer'] = 'Invalid or unrecongnized answer'; +$string['invalidanswer'] = 'Invalid or unrecognized answer:<br>{$a}'; /* not used at the moment */ $string['multiplyoperator'] = 'TeX operator for multiplication'; $string['times'] = '\\times'; $string['cdot'] = '\\cdot'; |