Skip to content

Commit e440aaf

Browse files
committed
Fix typos in the language strings.
1 parent e386e2e commit e440aaf

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

lang/en/qtype_stack.php

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
$string['stackversionnone'] = 'This question has not been edited since question variant numbering was introduced in STACK 4.2. Please review your question carefully.';
5959
$string['stackversionerror'] = 'This question uses {$a->pat} in the {$a->qfield}, which changed in STACK version {$a->ver} and is no longer supported.';
6060
$string['stackversionerroralt'] = 'An alternative is {$a}.';
61-
$string['stackversionmulerror'] = 'This question has an input which uses the "mul" option, which is not suppored after STACK version 4.2. Please edit this question.';
61+
$string['stackversionmulerror'] = 'This question has an input which uses the "mul" option, which is not supported after STACK version 4.2. Please edit this question.';
6262
$string['stackversionregexp'] = 'The RegExp answer test is not supported after STACK version 4.3. Please use the new SRegExp instead.';
6363
$string['stackfilesizeerror'] = 'One or more files (e.g. images) is more than 1MB in size.';
6464
$string['stackfileuseerror'] = 'One or more files (e.g. images) are associated internally with the {$a}, but none appear to be used in the current text itself.';
@@ -83,16 +83,16 @@
8383
$string['assumepositive_help'] = 'This option sets the value of Maxima\'s assume_pos variable.';
8484
$string['assumepositive_link'] = '%%WWWROOT%%/question/type/stack/doc/doc.php/Authoring/Question_options.md#Assume_Positive';
8585
$string['assumereal'] = 'Assume real';
86-
$string['assumereal_help'] = 'This option sets the assume_real variable.';
86+
$string['assumereal_help'] = 'This option sets the <code>assume_real</code> variable.';
8787
$string['assumereal_link'] = '%%WWWROOT%%/question/type/stack/doc/doc.php/Authoring/Question_options.md#Assume_Real';
8888
$string['autosimplify'] = 'Auto-simplify';
89-
$string['autosimplify_help'] = 'Sets the variable "simp" within Maxima for this question. E.g. question variables, question text etc. The value set in each potential response tree will over ride this for any expressions subsequently defined within the tree.';
89+
$string['autosimplify_help'] = 'Sets the variable <code>simp</code> within Maxima for this question. E.g. question variables, question text etc. The value set in each potential response tree will over ride this for any expressions subsequently defined within the tree.';
9090
$string['autosimplify_link'] = '%%WWWROOT%%/question/type/stack/doc/doc.php/CAS/Simplification.md';
9191
$string['autosimplifyprt'] = 'Auto-simplify';
92-
$string['autosimplifyprt_help'] = 'Sets the variable "simp" within Maxima for the feedback variables defined in this potential response tree. Note that whether expressions in PRT notes are simplified before use depends on the answer test. For example, arguments to AlgEquiv are simplified, while those for EqualComAss are not.';
92+
$string['autosimplifyprt_help'] = 'Sets the variable <code>simp</code> within Maxima for the feedback variables defined in this potential response tree. Note that whether expressions in PRT notes are simplified before use depends on the answer test. For example, arguments to AlgEquiv are simplified, while those for EqualComAss are not.';
9393
$string['autosimplifyprt_link'] = '%%WWWROOT%%/question/type/stack/doc/doc.php/CAS/Simplification.md';
9494
$string['boxsize'] = 'Input box size';
95-
$string['boxsize_help'] = 'Width of the html formfield.';
95+
$string['boxsize_help'] = 'Width of the html form field for this input.';
9696
$string['boxsize_link'] = '%%WWWROOT%%/question/type/stack/doc/doc.php/Authoring/Inputs.md#Box_Size';
9797
$string['bulktestindexintro_desc'] = 'The <a href="{$a->link}">bulk test script</a> lets you easily run all the STACK question tests in a given context. Not only does this test the questions. It is also a good way to re-populate the CAS cache after it has been cleared.';
9898
$string['todo_desc'] = 'The <a href="{$a->link}">"to do"</a> page finds questions with <tt>[[todo]]</tt> blocks and questions marked as broken.';
@@ -259,7 +259,7 @@
259259
$string['newnameforx'] = 'New name for \'{$a}\'';
260260
$string['next'] = 'Next';
261261
$string['nodehelp'] = 'Response tree node';
262-
$string['nodehelp_help'] = '<h3>Descriptoion</h3>
262+
$string['nodehelp_help'] = '<h3>Description</h3>
263263
This helps give meaning to the purpose of this node. This field is a string (not CASText).
264264
265265
<h3>Answer test</h3>
@@ -465,7 +465,7 @@
465465
$string['settingcasresultscache_desc'] = 'This setting determines whether calls the to CAS are cached. This setting should be turned on unless you are doing development that involves changing the Maxima code. The current state of the cache is shown on the healthcheck page. If you change your settings, e.g. the gnuplot command, you will need to clear the cache before you can see the effects of these changes.';
466466
$string['settingcasresultscache_none'] = 'Do not cache';
467467
$string['settingcastimeout'] = 'CAS connection timeout';
468-
$string['settingcastimeout_desc'] = 'The timout to use when trying to connect to Maxima.';
468+
$string['settingcastimeout_desc'] = 'The timeout to use when trying to connect to Maxima.';
469469
$string['settingcaspreparse'] = 'Pre-parse all code before sending to Maxima.';
470470
$string['settingcaspreparse_desc'] = 'We recommend all code in question variables, etc., even from trusted teachers, is pre-parsed for potentially malicious patterns. This is especially important when accepting imported questions from known sources. However, it is possible for this pre-parse to time-out and it would be necessary to disable this check (temporarily) to back out of a potential dead end. This code is still under testing and development and this setting will be removed in future releases ensuring this pre-parse is always applied.';
471471
$string['settingcaspreparse_true'] = 'Always preparse';
@@ -501,7 +501,7 @@
501501
$string['settingreplacedollars'] = 'Replace <code>$</code> and <code>$$</code>';
502502
$string['settingreplacedollars_desc'] = 'Replace <code>$...$</code> and <code>$$...$$</code> delimiters in question text, in addition to <code>\\\\[...\\\\]</code> and <code>\\\\(...\\\\)</code>. A better option is to use the \'Fix maths delimiters\' script which is referred to below.';
503503
$string['settingserveruserpass'] = 'Server username:password';
504-
$string['settingserveruserpass_desc'] = 'If you are using Platform type: Server, and if you have set up your Maxima pool server with HTTP authentication, then you can put the username and password here. That is slighly safer than putting them in the URL. The format is username:password.';
504+
$string['settingserveruserpass_desc'] = 'If you are using Platform type: Server, and if you have set up your Maxima pool server with HTTP authentication, then you can put the username and password here. That is slightly safer than putting them in the URL. The format is username:password.';
505505
$string['settingusefullinks'] = 'Useful links';
506506
$string['settingmaximalibraries'] = 'Load optional Maxima libraries:';
507507
$string['settingmaximalibraries_desc'] = 'This is a comma separated list of Maxima library names which will be automatically loaded into Maxima. Only supported library names can be used: "stats, distrib, descriptive, simplex". When you change the listed libraties you must rebuild the Maxima optimised image.';
@@ -952,7 +952,7 @@
952952
$string['stackCas_unitssynonym'] = 'You appear to have units {$a->forbid}. Did you mean {$a->unit}?';
953953
$string['stackCas_unknownUnitsCase'] = 'Input of units is case sensitive: {$a->forbid} is an unknown unit. Did you mean one from the following list {$a->unit}?';
954954
$string['stackCas_applyingnonobviousfunction'] = 'This function call {$a->problem} does not appear to have an easily visible function name. Due to security reasons you may need to simplify the call so that the validator can see the function name.';
955-
$string['stackCas_callingasfunction'] = 'Calling the result of a function call is forbidden {$a->problem}, lambdas are still allowed.';
955+
$string['stackCas_callingasfunction'] = 'Calling the result of a function call is forbidden {$a->problem}, lambda functions are still allowed.';
956956
$string['stackCas_applyfunmakestring'] = 'The name of the function cannot be a string in <code>{$a->type}</code>.';
957957
$string['stackCas_badpostfixop'] = 'You have a bad "postfix" operator in your expression.';
958958
$string['stackCas_overrecursivesignatures'] = 'The question code includes too many functions defined through mapping';
@@ -1012,7 +1012,7 @@
10121012

10131013
$string['Maxima_DivisionZero'] = 'Division by zero.';
10141014
$string['Maxima_Args'] = 'args: argument must be a non-atomic expression. ';
1015-
$string['Variable_function'] = 'The following appear in your expression as both a variable and a function: {$a->m0}. Please clarify your input. Either insert <code>*</code> symbols to remove functions, or make all occurances functions.';
1015+
$string['Variable_function'] = 'The following appear in your expression as both a variable and a function: {$a->m0}. Please clarify your input. Either insert <code>*</code> symbols to remove functions, or make all occurrences functions.';
10161016
$string['Lowest_Terms'] = 'Your answer contains fractions that are not written in lowest terms. Please cancel factors and try again.';
10171017
$string['Illegal_floats'] = 'Your answer contains floating point numbers, that are not allowed here. 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.';
10181018
$string['Illegal_strings'] = 'Your answer contains "strings" these are not allowed here.';
@@ -1359,7 +1359,7 @@
13591359
$string['stackDoc_community'] = 'Community site';
13601360
$string['stackDoc_AnswerTestResults'] = 'Answer test results
13611361
1362-
This page exposes the results of running answer tests on STACK test cases. This page is automatically generated from the STACK unit tests and is designed to show question authors what answer tests actually do. This includes cases where answer tests currentl fail, which gives a negative expected mark. Comments and further test cases are very welcome.';
1362+
This page exposes the results of running answer tests on STACK test cases. This page is automatically generated from the STACK unit tests and is designed to show question authors what answer tests actually do. This includes cases where answer tests currently fail, which gives a negative expected mark. Comments and further test cases are very welcome.';
13631363

13641364
// Fact sheets.
13651365

@@ -1939,10 +1939,7 @@
19391939
$string['api_valid_all_parts'] = 'Please enter valid answers for all parts of the question.';
19401940
$string['api_which_typed'] = 'which can be typed as follows';
19411941

1942-
1943-
1944-
1945-
$string['parsertester'] = 'Parsertester';
1942+
$string['parsertester'] = 'Parser-tester';
19461943
$string['parsertester_settings'] = 'Parser settings';
19471944
$string['parsertester_settings_rule'] = 'Parser variant';
19481945
$string['parsertester_settings_separators'] = 'Decimal and other separators';

0 commit comments

Comments
 (0)