From d2acc1e42418bd6a418a73de69f014e1f31531a3 Mon Sep 17 00:00:00 2001 From: MrSimbax Date: Fri, 24 Jul 2015 12:14:39 +0200 Subject: [PATCH] Add a documentation of the new mathematical functions --- help/cbot/E/aim.txt | 4 +- help/cbot/E/atan2.txt | 17 ++++ help/cbot/E/ceil.txt | 13 +++ help/cbot/E/floor.txt | 13 +++ help/cbot/E/round.txt | 13 +++ help/cbot/E/trunc.txt | 13 +++ help/cbot/po/cbot.pot | 184 +++++++++++++++++++++++++++++++++--- help/cbot/po/de.po | 184 +++++++++++++++++++++++++++++++++--- help/cbot/po/fr.po | 184 +++++++++++++++++++++++++++++++++--- help/cbot/po/pl.po | 184 +++++++++++++++++++++++++++++++++--- help/cbot/po/ru.po | 184 +++++++++++++++++++++++++++++++++--- help/generic/E/cbot.txt | 5 + help/generic/po/de.po | 68 +++++++++---- help/generic/po/fr.po | 68 +++++++++---- help/generic/po/generic.pot | 68 +++++++++---- help/generic/po/pl.po | 68 +++++++++---- help/generic/po/ru.po | 68 +++++++++---- 17 files changed, 1181 insertions(+), 157 deletions(-) create mode 100644 help/cbot/E/atan2.txt create mode 100644 help/cbot/E/ceil.txt create mode 100644 help/cbot/E/floor.txt create mode 100644 help/cbot/E/round.txt create mode 100644 help/cbot/E/trunc.txt diff --git a/help/cbot/E/aim.txt b/help/cbot/E/aim.txt index 66b99806..78d8965a 100644 --- a/help/cbot/E/aim.txt +++ b/help/cbot/E/aim.txt @@ -12,8 +12,8 @@ When controlling the robot through programming, the gun can be also turned left \t;y: \c;\l;float\u cbot\float;\n; Angle in degrees of the gun relative to the robot. A positive value orients the gun upward. For shooters and orga shooters, the angle must range from \c;-20\n; to \c;+20\n; degrees. For phazer shooters, the angle must range from \c;-20\n; to \c;45\n; degrees. -\t;x: \c;\l;float\u cbot\float;\n; -Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from \c;-40\n; to \c;+40\n; degrees for all shooters. This parameter is optional: if no value is provided, then \c;x = 0\n;. +\t;x: \c;\l;float\u cbot\float;\n; (default value: \c;0\n;) +Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from \c;-40\n; to \c;+40\n; degrees for all shooters. \t;Return value: \c;\l;int\u cbot\int;\n; Zero if everything is OK, a value different from zero if the rotation could not be performed: diff --git a/help/cbot/E/atan2.txt b/help/cbot/E/atan2.txt new file mode 100644 index 00000000..64122f35 --- /dev/null +++ b/help/cbot/E/atan2.txt @@ -0,0 +1,17 @@ +\b;Instruction \c;atan2\n; +Syntax: +\s;\c;atan2 ( y, x );\n; + +The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument \c;\l;atan();\u cbot\atan;\n; function. For example, consider a point \c;(-1, -1)\n;: \c;atan(-1/-1);\n; is \c;45.00\n; degrees, whereas \c;atan2(-1, -1);\n; is \c;-135.00\n; degrees, which is obviously more correct in this case. + +\t;y: \c;\l;float\u cbot\float;\n; +Number. + +\t;x: \c;\l;float\u cbot\float;\n; +Number. + +\t;Return value: \c;\l;float\u cbot\float;\n; +Arcus tangent (in degrees) of \c;y/x\n;. + +\t;See also +\l;Programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;. diff --git a/help/cbot/E/ceil.txt b/help/cbot/E/ceil.txt new file mode 100644 index 00000000..93d3093d --- /dev/null +++ b/help/cbot/E/ceil.txt @@ -0,0 +1,13 @@ +\b;Instruction \c;ceil\n; +Syntax: +\s;\c;ceil ( value );\n; +Rounds up a number. + +\t;value: \c;\l;float\u cbot\float;\n; +Number. + +\t;Return value: \c;\l;float\u cbot\float;\n; +Ceiling of the value, i.e. the smallest integer not less than \c;value\n;. For example, \c;ceil(2.1)\n; is \c;3.0\n;. + +\t;See also +\l;round\u cbot\round;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;. diff --git a/help/cbot/E/floor.txt b/help/cbot/E/floor.txt new file mode 100644 index 00000000..b6f1d429 --- /dev/null +++ b/help/cbot/E/floor.txt @@ -0,0 +1,13 @@ +\b;Instruction \c;floor\n; +Syntax: +\s;\c;floor ( value );\n; +Rounds down a number. + +\t;value: \c;\l;float\u cbot\float;\n; +Number. + +\t;Return value: \c;\l;float\u cbot\float;\n; +Floor of the value, i.e. the largest integer not greater than \c;value\n;. For example, \c;floor(2.9)\n; is \c;2.00\n;. + +\t;See also +\l;round\u cbot\round;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;. diff --git a/help/cbot/E/round.txt b/help/cbot/E/round.txt new file mode 100644 index 00000000..4843175f --- /dev/null +++ b/help/cbot/E/round.txt @@ -0,0 +1,13 @@ +\b;Instruction \c;round\n; +Syntax: +\s;\c;round ( value );\n; +Rounds a number. + +\t;value: \c;\l;float\u cbot\float;\n; +Number. + +\t;Return value: \c;\l;float\u cbot\float;\n; +Rounded \c;value\n;. For example, \c;round(2.5)\n; is \c;3.0\n;, whereas \c;round(2.4)\n; is \c;2.0\n;. + +\t;See also +\l;trunc\u cbot\trunc;, \l;floor\u cbot\floor;, \l;ceil\u cbot\ceil;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;. diff --git a/help/cbot/E/trunc.txt b/help/cbot/E/trunc.txt new file mode 100644 index 00000000..84982b2d --- /dev/null +++ b/help/cbot/E/trunc.txt @@ -0,0 +1,13 @@ +\b;Instruction \c;trunc\n; +Syntax: +\s;\c;trunc ( value );\n; +Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the \c;\l;floor();\u cbot\floor;\n; function, and for negative numbers, it works like the \c;\l;ceil();\u cbot\ceil;\n; function. It can be said that it rounds towards zero. + +\t;value: \c;\l;float\u cbot\float;\n; +Number. + +\t;Return value: \c;\l;float\u cbot\float;\n; +Truncated \c;value\n;. For example, \c;trunc(-2.5)\n; is \c;-2.00\n;. + +\t;See also +\l;round\u cbot\round;, \l;programming\u cbot;, \l;types\u cbot\type; and \l;expressions\u cbot\expr;. diff --git a/help/cbot/po/cbot.pot b/help/cbot/po/cbot.pot index 57ee656e..7e4a87ed 100644 --- a/help/cbot/po/cbot.pot +++ b/help/cbot/po/cbot.pot @@ -53,7 +53,7 @@ msgid "Time in seconds." msgstr "" #. type: \t; header -#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 #, no-wrap msgid "See also" msgstr "" @@ -934,7 +934,7 @@ msgid "Position towards which the robot must point." msgstr "" #. type: \t; header -#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 +#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9 #, no-wrap msgid "Return value: float" msgstr "" @@ -1004,7 +1004,7 @@ msgid "For specialists" msgstr "" #. type: Plain text -#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 +#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 #, no-wrap msgid "Syntax:" msgstr "" @@ -5544,23 +5544,17 @@ msgid "When controlling the robot through programming, the gun can be also turne msgstr "" #. type: \t; header -#: ../E/aim.txt:12 ../E/pow.txt:8 +#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8 #, no-wrap msgid "y: float" msgstr "" #. type: \t; header -#: ../E/aim.txt:15 ../E/pow.txt:5 +#: ../E/atan2.txt:10 ../E/pow.txt:5 #, no-wrap msgid "x: float" msgstr "" -#. type: Plain text -#: ../E/aim.txt:16 -#, no-wrap -msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." -msgstr "" - #. type: Plain text #: ../E/aim.txt:5 #, no-wrap @@ -5586,7 +5580,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)." msgstr "" #. type: Plain text -#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 +#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 #, no-wrap msgid "Programming, types and expressions." msgstr "" @@ -5604,7 +5598,7 @@ msgid "acos ( value );" msgstr "" #. type: \t; header -#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5 +#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6 #, no-wrap msgid "value: float" msgstr "" @@ -5640,7 +5634,7 @@ msgid "atan ( value );" msgstr "" #. type: Plain text -#: ../E/atan.txt:6 +#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7 #, no-wrap msgid "Number." msgstr "" @@ -5899,6 +5893,168 @@ msgstr "" msgid "It helps to prevent errors in programs using the build(); instruction. Here is an example:" msgstr "" +#. type: \b; header +#: ../E/atan2.txt:1 +#, no-wrap +msgid "Instruction atan2" +msgstr "" + +#. type: Source code +#: ../E/atan2.txt:3 +#, no-wrap +msgid "atan2 ( y, x );" +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:14 +#, no-wrap +msgid "Arcus tangent (in degrees) of y/x." +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:5 +#, no-wrap +msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument atan(); function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +msgstr "" + +#. type: \b; header +#: ../E/ceil.txt:1 +#, no-wrap +msgid "Instruction ceil" +msgstr "" + +#. type: Source code +#: ../E/ceil.txt:3 +#, no-wrap +msgid "ceil ( value );" +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:4 +#, no-wrap +msgid "Rounds down a number." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:10 +#, no-wrap +msgid "Ceiling of the value, i.e. the smallest integer not less than value. For example, ceil(2.1) is 3.0." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13 +#, no-wrap +msgid "round, programming, types and expressions." +msgstr "" + +#. type: \b; header +#: ../E/floor.txt:1 +#, no-wrap +msgid "Instruction floor" +msgstr "" + +#. type: Source code +#: ../E/floor.txt:3 +#, no-wrap +msgid "floor ( value );" +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:4 +#, no-wrap +msgid "Rounds up a number." +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:10 +#, no-wrap +msgid "Floor of the value, i.e. the largest integer not greater than value. For example, floor(2.9) is 2.00." +msgstr "" + +#. type: \b; header +#: ../E/round.txt:1 +#, no-wrap +msgid "Instruction round" +msgstr "" + +#. type: Source code +#: ../E/round.txt:3 +#, no-wrap +msgid "round ( value );" +msgstr "" + +#. type: Plain text +#: ../E/round.txt:4 +#, no-wrap +msgid "Rounds a number." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:10 +#, no-wrap +msgid "Rounded value. For example, round(2.5) is 3.0, whereas round(2.4) is 2.0." +msgstr "" + +#. type: \b; header +#: ../E/trunc.txt:1 +#, no-wrap +msgid "Instruction trunc" +msgstr "" + +#. type: Source code +#: ../E/trunc.txt:3 +#, no-wrap +msgid "trunc ( value );" +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:10 +#, no-wrap +msgid "Truncated value. For example, trunc(-2.5) is -2.00." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:13 +#, no-wrap +msgid "trunc, floor, ceil, programming, types and expressions." +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:4 +#, no-wrap +msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:16 +#, no-wrap +msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters." +msgstr "" + +#. type: \t; header +#: ../E/aim.txt:15 +#, no-wrap +msgid "x: float (default value: 0)" +msgstr "" + +#~ msgid "x: float (default value: 0);" +#~ msgstr "" + +#~ msgid "x: float\\n (default value: 0);" +#~ msgstr "" + +#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." +#~ msgstr "" + +#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +#~ msgstr "" + +#~ msgid "trunc, floor, ceil, programming, programming, types and expressions." +#~ msgstr "" + +#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument \\latan();\\u cbot\\atan; function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +#~ msgstr "" + #~ msgid "The instruction build(); instructs the bot to build a building of the given category. Currently works for Grabbers, Me and Tech." #~ msgstr "" diff --git a/help/cbot/po/de.po b/help/cbot/po/de.po index fc5dffb8..f84c08c2 100644 --- a/help/cbot/po/de.po +++ b/help/cbot/po/de.po @@ -53,7 +53,7 @@ msgid "Time in seconds." msgstr "Zeit in Sekunden." #. type: \t; header -#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 #, no-wrap msgid "See also" msgstr "Siehe auch" @@ -1105,7 +1105,7 @@ msgid "Position towards which the robot must point." msgstr "Position, auf die der Roboter ausgerichtet werden soll." #. type: \t; header -#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 +#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9 #, no-wrap msgid "Return value: float" msgstr "Rückgabe: float" @@ -1179,7 +1179,7 @@ msgid "For specialists" msgstr "Für Spezialisten" #. type: Plain text -#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 +#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 #, no-wrap msgid "Syntax:" msgstr "Syntax:" @@ -6433,23 +6433,17 @@ msgid "When controlling the robot through programming, the gun can be also turne msgstr "" #. type: \t; header -#: ../E/aim.txt:12 ../E/pow.txt:8 +#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8 #, no-wrap msgid "y: float" msgstr "" #. type: \t; header -#: ../E/aim.txt:15 ../E/pow.txt:5 +#: ../E/atan2.txt:10 ../E/pow.txt:5 #, no-wrap msgid "x: float" msgstr "" -#. type: Plain text -#: ../E/aim.txt:16 -#, no-wrap -msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." -msgstr "" - #. type: Plain text #: ../E/aim.txt:5 #, no-wrap @@ -6475,7 +6469,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)." msgstr "" #. type: Plain text -#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 +#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 #, no-wrap msgid "Programming, types and expressions." msgstr "" @@ -6493,7 +6487,7 @@ msgid "acos ( value );" msgstr "" #. type: \t; header -#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5 +#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6 #, no-wrap msgid "value: float" msgstr "" @@ -6529,7 +6523,7 @@ msgid "atan ( value );" msgstr "" #. type: Plain text -#: ../E/atan.txt:6 +#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7 #, no-wrap msgid "Number." msgstr "" @@ -6788,6 +6782,168 @@ msgstr "" msgid "It helps to prevent errors in programs using the build(); instruction. Here is an example:" msgstr "" +#. type: \b; header +#: ../E/atan2.txt:1 +#, no-wrap +msgid "Instruction atan2" +msgstr "" + +#. type: Source code +#: ../E/atan2.txt:3 +#, no-wrap +msgid "atan2 ( y, x );" +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:14 +#, no-wrap +msgid "Arcus tangent (in degrees) of y/x." +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:5 +#, no-wrap +msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument atan(); function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +msgstr "" + +#. type: \b; header +#: ../E/ceil.txt:1 +#, no-wrap +msgid "Instruction ceil" +msgstr "" + +#. type: Source code +#: ../E/ceil.txt:3 +#, no-wrap +msgid "ceil ( value );" +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:4 +#, no-wrap +msgid "Rounds down a number." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:10 +#, no-wrap +msgid "Ceiling of the value, i.e. the smallest integer not less than value. For example, ceil(2.1) is 3.0." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13 +#, no-wrap +msgid "round, programming, types and expressions." +msgstr "" + +#. type: \b; header +#: ../E/floor.txt:1 +#, no-wrap +msgid "Instruction floor" +msgstr "" + +#. type: Source code +#: ../E/floor.txt:3 +#, no-wrap +msgid "floor ( value );" +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:4 +#, no-wrap +msgid "Rounds up a number." +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:10 +#, no-wrap +msgid "Floor of the value, i.e. the largest integer not greater than value. For example, floor(2.9) is 2.00." +msgstr "" + +#. type: \b; header +#: ../E/round.txt:1 +#, no-wrap +msgid "Instruction round" +msgstr "" + +#. type: Source code +#: ../E/round.txt:3 +#, no-wrap +msgid "round ( value );" +msgstr "" + +#. type: Plain text +#: ../E/round.txt:4 +#, no-wrap +msgid "Rounds a number." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:10 +#, no-wrap +msgid "Rounded value. For example, round(2.5) is 3.0, whereas round(2.4) is 2.0." +msgstr "" + +#. type: \b; header +#: ../E/trunc.txt:1 +#, no-wrap +msgid "Instruction trunc" +msgstr "" + +#. type: Source code +#: ../E/trunc.txt:3 +#, no-wrap +msgid "trunc ( value );" +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:10 +#, no-wrap +msgid "Truncated value. For example, trunc(-2.5) is -2.00." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:13 +#, no-wrap +msgid "trunc, floor, ceil, programming, types and expressions." +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:4 +#, no-wrap +msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:16 +#, no-wrap +msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters." +msgstr "" + +#. type: \t; header +#: ../E/aim.txt:15 +#, no-wrap +msgid "x: float (default value: 0)" +msgstr "" + +#~ msgid "x: float (default value: 0);" +#~ msgstr "" + +#~ msgid "x: float\\n (default value: 0);" +#~ msgstr "" + +#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." +#~ msgstr "" + +#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +#~ msgstr "" + +#~ msgid "trunc, floor, ceil, programming, programming, types and expressions." +#~ msgstr "" + +#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument \\latan();\\u cbot\\atan; function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +#~ msgstr "" + #~ msgid "The instruction build(); instructs the bot to build a building of the given category. Currently works for Grabbers, Me and Tech." #~ msgstr "" diff --git a/help/cbot/po/fr.po b/help/cbot/po/fr.po index bd4ed9f7..afcf9bdb 100644 --- a/help/cbot/po/fr.po +++ b/help/cbot/po/fr.po @@ -53,7 +53,7 @@ msgid "Time in seconds." msgstr "Temps en secondes." #. type: \t; header -#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 #, no-wrap msgid "See also" msgstr "Voir aussi" @@ -1144,7 +1144,7 @@ msgid "Position towards which the robot must point." msgstr "Position à atteindre." #. type: \t; header -#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 +#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9 #, no-wrap msgid "Return value: float" msgstr "Valeur retournée: float" @@ -1218,7 +1218,7 @@ msgid "For specialists" msgstr "Pour spécialistes" #. type: Plain text -#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 +#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 #, no-wrap msgid "Syntax:" msgstr "Syntaxe:" @@ -6389,23 +6389,17 @@ msgid "When controlling the robot through programming, the gun can be also turne msgstr "" #. type: \t; header -#: ../E/aim.txt:12 ../E/pow.txt:8 +#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8 #, no-wrap msgid "y: float" msgstr "" #. type: \t; header -#: ../E/aim.txt:15 ../E/pow.txt:5 +#: ../E/atan2.txt:10 ../E/pow.txt:5 #, no-wrap msgid "x: float" msgstr "" -#. type: Plain text -#: ../E/aim.txt:16 -#, no-wrap -msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." -msgstr "" - #. type: Plain text #: ../E/aim.txt:5 #, no-wrap @@ -6431,7 +6425,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)." msgstr "" #. type: Plain text -#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 +#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 #, no-wrap msgid "Programming, types and expressions." msgstr "" @@ -6449,7 +6443,7 @@ msgid "acos ( value );" msgstr "" #. type: \t; header -#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5 +#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6 #, no-wrap msgid "value: float" msgstr "" @@ -6485,7 +6479,7 @@ msgid "atan ( value );" msgstr "" #. type: Plain text -#: ../E/atan.txt:6 +#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7 #, no-wrap msgid "Number." msgstr "" @@ -6744,6 +6738,168 @@ msgstr "" msgid "It helps to prevent errors in programs using the build(); instruction. Here is an example:" msgstr "" +#. type: \b; header +#: ../E/atan2.txt:1 +#, no-wrap +msgid "Instruction atan2" +msgstr "" + +#. type: Source code +#: ../E/atan2.txt:3 +#, no-wrap +msgid "atan2 ( y, x );" +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:14 +#, no-wrap +msgid "Arcus tangent (in degrees) of y/x." +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:5 +#, no-wrap +msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument atan(); function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +msgstr "" + +#. type: \b; header +#: ../E/ceil.txt:1 +#, no-wrap +msgid "Instruction ceil" +msgstr "" + +#. type: Source code +#: ../E/ceil.txt:3 +#, no-wrap +msgid "ceil ( value );" +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:4 +#, no-wrap +msgid "Rounds down a number." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:10 +#, no-wrap +msgid "Ceiling of the value, i.e. the smallest integer not less than value. For example, ceil(2.1) is 3.0." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13 +#, no-wrap +msgid "round, programming, types and expressions." +msgstr "" + +#. type: \b; header +#: ../E/floor.txt:1 +#, no-wrap +msgid "Instruction floor" +msgstr "" + +#. type: Source code +#: ../E/floor.txt:3 +#, no-wrap +msgid "floor ( value );" +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:4 +#, no-wrap +msgid "Rounds up a number." +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:10 +#, no-wrap +msgid "Floor of the value, i.e. the largest integer not greater than value. For example, floor(2.9) is 2.00." +msgstr "" + +#. type: \b; header +#: ../E/round.txt:1 +#, no-wrap +msgid "Instruction round" +msgstr "" + +#. type: Source code +#: ../E/round.txt:3 +#, no-wrap +msgid "round ( value );" +msgstr "" + +#. type: Plain text +#: ../E/round.txt:4 +#, no-wrap +msgid "Rounds a number." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:10 +#, no-wrap +msgid "Rounded value. For example, round(2.5) is 3.0, whereas round(2.4) is 2.0." +msgstr "" + +#. type: \b; header +#: ../E/trunc.txt:1 +#, no-wrap +msgid "Instruction trunc" +msgstr "" + +#. type: Source code +#: ../E/trunc.txt:3 +#, no-wrap +msgid "trunc ( value );" +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:10 +#, no-wrap +msgid "Truncated value. For example, trunc(-2.5) is -2.00." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:13 +#, no-wrap +msgid "trunc, floor, ceil, programming, types and expressions." +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:4 +#, no-wrap +msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:16 +#, no-wrap +msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters." +msgstr "" + +#. type: \t; header +#: ../E/aim.txt:15 +#, no-wrap +msgid "x: float (default value: 0)" +msgstr "" + +#~ msgid "x: float (default value: 0);" +#~ msgstr "" + +#~ msgid "x: float\\n (default value: 0);" +#~ msgstr "" + +#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." +#~ msgstr "" + +#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +#~ msgstr "" + +#~ msgid "trunc, floor, ceil, programming, programming, types and expressions." +#~ msgstr "" + +#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument \\latan();\\u cbot\\atan; function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +#~ msgstr "" + #~ msgid "The instruction build(); instructs the bot to build a building of the given category. Currently works for Grabbers, Me and Tech." #~ msgstr "" diff --git a/help/cbot/po/pl.po b/help/cbot/po/pl.po index 3250d76a..8b405964 100644 --- a/help/cbot/po/pl.po +++ b/help/cbot/po/pl.po @@ -53,7 +53,7 @@ msgid "Time in seconds." msgstr "Czas w sekundach." #. type: \t; header -#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 #, no-wrap msgid "See also" msgstr "Zobacz również" @@ -1155,7 +1155,7 @@ msgid "Position towards which the robot must point." msgstr "Pozycja, w kierunku której ma być skierowany robot." #. type: \t; header -#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 +#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9 #, no-wrap msgid "Return value: float" msgstr "Typ wyniku: float" @@ -1229,7 +1229,7 @@ msgid "For specialists" msgstr "Dla specjalistów" #. type: Plain text -#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 +#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 #, no-wrap msgid "Syntax:" msgstr "Składnia:" @@ -6439,23 +6439,17 @@ msgid "When controlling the robot through programming, the gun can be also turne msgstr "" #. type: \t; header -#: ../E/aim.txt:12 ../E/pow.txt:8 +#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8 #, no-wrap msgid "y: float" msgstr "" #. type: \t; header -#: ../E/aim.txt:15 ../E/pow.txt:5 +#: ../E/atan2.txt:10 ../E/pow.txt:5 #, no-wrap msgid "x: float" msgstr "" -#. type: Plain text -#: ../E/aim.txt:16 -#, no-wrap -msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." -msgstr "" - #. type: Plain text #: ../E/aim.txt:5 #, no-wrap @@ -6481,7 +6475,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)." msgstr "" #. type: Plain text -#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 +#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 #, no-wrap msgid "Programming, types and expressions." msgstr "" @@ -6499,7 +6493,7 @@ msgid "acos ( value );" msgstr "" #. type: \t; header -#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5 +#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6 #, no-wrap msgid "value: float" msgstr "" @@ -6535,7 +6529,7 @@ msgid "atan ( value );" msgstr "" #. type: Plain text -#: ../E/atan.txt:6 +#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7 #, no-wrap msgid "Number." msgstr "" @@ -6794,6 +6788,168 @@ msgstr "" msgid "It helps to prevent errors in programs using the build(); instruction. Here is an example:" msgstr "" +#. type: \b; header +#: ../E/atan2.txt:1 +#, no-wrap +msgid "Instruction atan2" +msgstr "" + +#. type: Source code +#: ../E/atan2.txt:3 +#, no-wrap +msgid "atan2 ( y, x );" +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:14 +#, no-wrap +msgid "Arcus tangent (in degrees) of y/x." +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:5 +#, no-wrap +msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument atan(); function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +msgstr "" + +#. type: \b; header +#: ../E/ceil.txt:1 +#, no-wrap +msgid "Instruction ceil" +msgstr "" + +#. type: Source code +#: ../E/ceil.txt:3 +#, no-wrap +msgid "ceil ( value );" +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:4 +#, no-wrap +msgid "Rounds down a number." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:10 +#, no-wrap +msgid "Ceiling of the value, i.e. the smallest integer not less than value. For example, ceil(2.1) is 3.0." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13 +#, no-wrap +msgid "round, programming, types and expressions." +msgstr "" + +#. type: \b; header +#: ../E/floor.txt:1 +#, no-wrap +msgid "Instruction floor" +msgstr "" + +#. type: Source code +#: ../E/floor.txt:3 +#, no-wrap +msgid "floor ( value );" +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:4 +#, no-wrap +msgid "Rounds up a number." +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:10 +#, no-wrap +msgid "Floor of the value, i.e. the largest integer not greater than value. For example, floor(2.9) is 2.00." +msgstr "" + +#. type: \b; header +#: ../E/round.txt:1 +#, no-wrap +msgid "Instruction round" +msgstr "" + +#. type: Source code +#: ../E/round.txt:3 +#, no-wrap +msgid "round ( value );" +msgstr "" + +#. type: Plain text +#: ../E/round.txt:4 +#, no-wrap +msgid "Rounds a number." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:10 +#, no-wrap +msgid "Rounded value. For example, round(2.5) is 3.0, whereas round(2.4) is 2.0." +msgstr "" + +#. type: \b; header +#: ../E/trunc.txt:1 +#, no-wrap +msgid "Instruction trunc" +msgstr "" + +#. type: Source code +#: ../E/trunc.txt:3 +#, no-wrap +msgid "trunc ( value );" +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:10 +#, no-wrap +msgid "Truncated value. For example, trunc(-2.5) is -2.00." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:13 +#, no-wrap +msgid "trunc, floor, ceil, programming, types and expressions." +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:4 +#, no-wrap +msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:16 +#, no-wrap +msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters." +msgstr "" + +#. type: \t; header +#: ../E/aim.txt:15 +#, no-wrap +msgid "x: float (default value: 0)" +msgstr "" + +#~ msgid "x: float (default value: 0);" +#~ msgstr "" + +#~ msgid "x: float\\n (default value: 0);" +#~ msgstr "" + +#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." +#~ msgstr "" + +#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +#~ msgstr "" + +#~ msgid "trunc, floor, ceil, programming, programming, types and expressions." +#~ msgstr "" + +#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument \\latan();\\u cbot\\atan; function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +#~ msgstr "" + #~ msgid "The instruction build(); instructs the bot to build a building of the given category. Currently works for Grabbers, Me and Tech." #~ msgstr "" diff --git a/help/cbot/po/ru.po b/help/cbot/po/ru.po index 7d91a7ba..879459cd 100644 --- a/help/cbot/po/ru.po +++ b/help/cbot/po/ru.po @@ -53,7 +53,7 @@ msgid "Time in seconds." msgstr "" #. type: \t; header -#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:30 ../E/asin.txt:11 ../E/atan.txt:11 ../E/atan2.txt:16 ../E/bloc.txt:48 ../E/bool.txt:4 ../E/break.txt:24 ../E/build.txt:27 ../E/buildingenabled.txt:22 ../E/canbuild.txt:22 ../E/category.txt:107 ../E/ceil.txt:12 ../E/class.txt:70 ../E/close.txt:6 ../E/cond.txt:27 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/direct.txt:13 ../E/dist.txt:29 ../E/dist2d.txt:13 ../E/do.txt:27 ../E/drop.txt:28 ../E/eof.txt:13 ../E/errmode.txt:32 ../E/expr.txt:74 ../E/extern.txt:29 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:38 ../E/function.txt:84 ../E/goto.txt:34 ../E/grab.txt:28 ../E/if.txt:39 ../E/int.txt:18 ../E/jet.txt:14 ../E/message.txt:24 ../E/motor.txt:38 ../E/move.txt:21 ../E/nan.txt:14 ../E/new.txt:20 ../E/null.txt:4 ../E/object.txt:68 ../E/open.txt:18 ../E/openfile.txt:10 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/public.txt:49 ../E/radar.txt:58 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:16 ../E/send.txt:17 ../E/shield.txt:18 ../E/sin.txt:11 ../E/sizeof.txt:21 ../E/sniff.txt:16 ../E/space.txt:22 ../E/sqrt.txt:11 ../E/static.txt:20 ../E/strfind.txt:18 ../E/string.txt:32 ../E/strleft.txt:14 ../E/strlen.txt:12 ../E/strlower.txt:10 ../E/strmid.txt:18 ../E/strright.txt:14 ../E/strupper.txt:10 ../E/strval.txt:17 ../E/synchro.txt:23 ../E/tan.txt:11 ../E/term.txt:30 ../E/testinfo.txt:16 ../E/this.txt:52 ../E/thump.txt:12 ../E/topo.txt:13 ../E/true.txt:4 ../E/trunc.txt:12 ../E/turn.txt:32 ../E/type.txt:32 ../E/var.txt:66 ../E/void.txt:10 ../E/wait.txt:21 ../E/while.txt:46 ../E/writeln.txt:19 #, no-wrap msgid "See also" msgstr "См. также" @@ -1154,7 +1154,7 @@ msgid "Position towards which the robot must point." msgstr "Позиция, к которой робот должен повернуться." #. type: \t; header -#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 +#: ../E/acos.txt:8 ../E/asin.txt:8 ../E/atan.txt:8 ../E/atan2.txt:13 ../E/ceil.txt:9 ../E/cos.txt:8 ../E/direct.txt:10 ../E/dist.txt:26 ../E/dist2d.txt:10 ../E/flatgrnd.txt:13 ../E/floor.txt:9 ../E/pow.txt:11 ../E/rand.txt:5 ../E/receive.txt:13 ../E/round.txt:9 ../E/sin.txt:8 ../E/sqrt.txt:8 ../E/tan.txt:8 ../E/topo.txt:10 ../E/trunc.txt:9 #, no-wrap msgid "Return value: float" msgstr "Возвращаемое значение: float" @@ -1228,7 +1228,7 @@ msgid "For specialists" msgstr "Для специалистов" #. type: Plain text -#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 +#: ../E/acos.txt:2 ../E/asin.txt:2 ../E/atan.txt:2 ../E/atan2.txt:2 ../E/build.txt:14 ../E/buildingenabled.txt:13 ../E/canbuild.txt:13 ../E/ceil.txt:2 ../E/cos.txt:2 ../E/dist.txt:18 ../E/dist2d.txt:2 ../E/do.txt:2 ../E/drop.txt:12 ../E/fire.txt:10 ../E/floor.txt:2 ../E/for.txt:2 ../E/goto.txt:12 ../E/grab.txt:12 ../E/if.txt:23 ../E/jet.txt:2 ../E/message.txt:2 ../E/move.txt:8 ../E/pow.txt:2 ../E/radar.txt:14 ../E/rand.txt:2 ../E/receive.txt:2 ../E/recycle.txt:2 ../E/retobj.txt:2 ../E/round.txt:2 ../E/search.txt:2 ../E/shield.txt:2 ../E/sin.txt:2 ../E/sniff.txt:2 ../E/sqrt.txt:2 ../E/tan.txt:2 ../E/thump.txt:2 ../E/topo.txt:2 ../E/trunc.txt:2 ../E/turn.txt:19 ../E/wait.txt:10 #, no-wrap msgid "Syntax:" msgstr "Синтаксис:" @@ -6401,23 +6401,17 @@ msgid "When controlling the robot through programming, the gun can be also turne msgstr "" #. type: \t; header -#: ../E/aim.txt:12 ../E/pow.txt:8 +#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8 #, no-wrap msgid "y: float" msgstr "" #. type: \t; header -#: ../E/aim.txt:15 ../E/pow.txt:5 +#: ../E/atan2.txt:10 ../E/pow.txt:5 #, no-wrap msgid "x: float" msgstr "" -#. type: Plain text -#: ../E/aim.txt:16 -#, no-wrap -msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." -msgstr "" - #. type: Plain text #: ../E/aim.txt:5 #, no-wrap @@ -6443,7 +6437,7 @@ msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)." msgstr "" #. type: Plain text -#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 +#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 #, no-wrap msgid "Programming, types and expressions." msgstr "" @@ -6461,7 +6455,7 @@ msgid "acos ( value );" msgstr "" #. type: \t; header -#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/sqrt.txt:5 +#: ../E/acos.txt:5 ../E/asin.txt:5 ../E/atan.txt:5 ../E/ceil.txt:6 ../E/floor.txt:6 ../E/round.txt:6 ../E/sqrt.txt:5 ../E/trunc.txt:6 #, no-wrap msgid "value: float" msgstr "" @@ -6497,7 +6491,7 @@ msgid "atan ( value );" msgstr "" #. type: Plain text -#: ../E/atan.txt:6 +#: ../E/atan.txt:6 ../E/atan2.txt:8 ../E/atan2.txt:11 ../E/ceil.txt:7 ../E/floor.txt:7 ../E/round.txt:7 ../E/trunc.txt:7 #, no-wrap msgid "Number." msgstr "" @@ -6756,6 +6750,168 @@ msgstr "" msgid "It helps to prevent errors in programs using the build(); instruction. Here is an example:" msgstr "" +#. type: \b; header +#: ../E/atan2.txt:1 +#, no-wrap +msgid "Instruction atan2" +msgstr "" + +#. type: Source code +#: ../E/atan2.txt:3 +#, no-wrap +msgid "atan2 ( y, x );" +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:14 +#, no-wrap +msgid "Arcus tangent (in degrees) of y/x." +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:5 +#, no-wrap +msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument atan(); function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +msgstr "" + +#. type: \b; header +#: ../E/ceil.txt:1 +#, no-wrap +msgid "Instruction ceil" +msgstr "" + +#. type: Source code +#: ../E/ceil.txt:3 +#, no-wrap +msgid "ceil ( value );" +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:4 +#, no-wrap +msgid "Rounds down a number." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:10 +#, no-wrap +msgid "Ceiling of the value, i.e. the smallest integer not less than value. For example, ceil(2.1) is 3.0." +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:13 ../E/floor.txt:13 ../E/trunc.txt:13 +#, no-wrap +msgid "round, programming, types and expressions." +msgstr "" + +#. type: \b; header +#: ../E/floor.txt:1 +#, no-wrap +msgid "Instruction floor" +msgstr "" + +#. type: Source code +#: ../E/floor.txt:3 +#, no-wrap +msgid "floor ( value );" +msgstr "" + +#. type: Plain text +#: ../E/ceil.txt:4 +#, no-wrap +msgid "Rounds up a number." +msgstr "" + +#. type: Plain text +#: ../E/floor.txt:10 +#, no-wrap +msgid "Floor of the value, i.e. the largest integer not greater than value. For example, floor(2.9) is 2.00." +msgstr "" + +#. type: \b; header +#: ../E/round.txt:1 +#, no-wrap +msgid "Instruction round" +msgstr "" + +#. type: Source code +#: ../E/round.txt:3 +#, no-wrap +msgid "round ( value );" +msgstr "" + +#. type: Plain text +#: ../E/round.txt:4 +#, no-wrap +msgid "Rounds a number." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:10 +#, no-wrap +msgid "Rounded value. For example, round(2.5) is 3.0, whereas round(2.4) is 2.0." +msgstr "" + +#. type: \b; header +#: ../E/trunc.txt:1 +#, no-wrap +msgid "Instruction trunc" +msgstr "" + +#. type: Source code +#: ../E/trunc.txt:3 +#, no-wrap +msgid "trunc ( value );" +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:10 +#, no-wrap +msgid "Truncated value. For example, trunc(-2.5) is -2.00." +msgstr "" + +#. type: Plain text +#: ../E/round.txt:13 +#, no-wrap +msgid "trunc, floor, ceil, programming, types and expressions." +msgstr "" + +#. type: Plain text +#: ../E/trunc.txt:4 +#, no-wrap +msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:16 +#, no-wrap +msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters." +msgstr "" + +#. type: \t; header +#: ../E/aim.txt:15 +#, no-wrap +msgid "x: float (default value: 0)" +msgstr "" + +#~ msgid "x: float (default value: 0);" +#~ msgstr "" + +#~ msgid "x: float\\n (default value: 0);" +#~ msgstr "" + +#~ msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters. This parameter is optional: if no value is provided, then x = 0." +#~ msgstr "" + +#~ msgid "Truncation is a method of approximating a decimal number by dropping all decimal places past a certain point without rounding. For positive numbers, it works like the floor(); function, and for negative numbers, it works like the ceil(); function. It can be said that it rounds towards zero." +#~ msgstr "" + +#~ msgid "trunc, floor, ceil, programming, programming, types and expressions." +#~ msgstr "" + +#~ msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument \\latan();\\u cbot\\atan; function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +#~ msgstr "" + #~ msgid "The instruction build(); instructs the bot to build a building of the given category. Currently works for Grabbers, Me and Tech." #~ msgstr "" diff --git a/help/generic/E/cbot.txt b/help/generic/E/cbot.txt index 128a6667..353412c1 100644 --- a/help/generic/E/cbot.txt +++ b/help/generic/E/cbot.txt @@ -94,12 +94,17 @@ Constants like \l;categories\u cbot\category; are displayed with a red backgroun \c;\l;rand\u cbot\rand; \n;Returns a random value \c;\l;pow\u cbot\pow; \n;Returns a power \c;\l;sqrt\u cbot\sqrt; \n;Returns a square root +\c;\l;floor\u cbot\floor; \n;Returns the largest previous integer +\c;\l;ceil\u cbot\ceil; \n;Returns the smallest following integer +\c;\l;round\u cbot\round; \n;Returns a rounded number +\c;\l;trunc\u cbot\trunc; \n;Returns a truncated number \c;\l;sin\u cbot\sin; \n;Returns a sine \c;\l;cos\u cbot\cos; \n;Returns a cosine \c;\l;tan\u cbot\tan; \n;Returns a tangent \c;\l;asin\u cbot\asin; \n;Returns an arcus sine \c;\l;acos\u cbot\acos; \n;Returns an arcus cosine \c;\l;atan\u cbot\atan; \n;Returns an arcus tangent +\c;\l;atan2\u cbot\atan2; \n;Returns an arcus tangent, has two arguments \t;See also \l;Types\u cbot\type; and \l;categories\u cbot\category;. diff --git a/help/generic/po/de.po b/help/generic/po/de.po index a1b4df61..de8c432e 100644 --- a/help/generic/po/de.po +++ b/help/generic/po/de.po @@ -293,13 +293,13 @@ msgstr "" "deletefile Löscht eine Datei" #. type: \t; header -#: ../E/cbot.txt:104 ../E/freehelp.txt:4 +#: ../E/cbot.txt:109 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "Siehe auch" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:110 #, no-wrap msgid "Types and categories." msgstr "Variablentypen und Kategorien." @@ -596,21 +596,6 @@ msgstr "Die Colobot: Gold Edition Entwickler" msgid "Mathematical functions:" msgstr "" -#. type: Plain text -#: ../E/cbot.txt:94 -#, no-wrap -msgid "" -"rand Returns a random value\n" -"pow Returns a power\n" -"sqrt Returns a square root\n" -"sin Returns a sine\n" -"cos Returns a cosine\n" -"tan Returns a tangent\n" -"asin Returns an arcus sine\n" -"acos Returns an arcus cosine\n" -"atan Returns an arcus tangent" -msgstr "" - #. type: Plain text #: ../E/cbot.txt:48 #, no-wrap @@ -628,6 +613,55 @@ msgid "" "buildingenabled Checks if a building can be built in the level" msgstr "" +#. type: Plain text +#: ../E/cbot.txt:94 +#, no-wrap +msgid "" +"rand Returns a random value\n" +"pow Returns a power\n" +"sqrt Returns a square root\n" +"floor Returns the largest previous integer\n" +"ceil Returns the smallest following integer\n" +"round Returns a rounded number\n" +"trunc Returns a truncated number\n" +"sin Returns a sine\n" +"cos Returns a cosine\n" +"tan Returns a tangent\n" +"asin Returns an arcus sine\n" +"acos Returns an arcus cosine\n" +"atan Returns an arcus tangent\n" +"atan2 Returns an arcus tangent, has two arguments" +msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "floor Returns the largest previous integer\n" +#~ "ceil Returns the smallest following integer\n" +#~ "round Returns a rounded number\n" +#~ "trunc Returns a truncated number\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent\n" +#~ "atan2 Returns an arcus tangent, has two arguments" +#~ msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent" +#~ msgstr "" + #~ msgid "" #~ "grab Picks up an object\n" #~ "drop Puts down an object\n" diff --git a/help/generic/po/fr.po b/help/generic/po/fr.po index 5cb6dc18..e984ca80 100644 --- a/help/generic/po/fr.po +++ b/help/generic/po/fr.po @@ -306,13 +306,13 @@ msgstr "" "deletefile Supprime un fichier" #. type: \t; header -#: ../E/cbot.txt:104 ../E/freehelp.txt:4 +#: ../E/cbot.txt:109 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "Voir aussi" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:110 #, no-wrap msgid "Types and categories." msgstr "Types et catégories." @@ -592,21 +592,6 @@ msgstr "" msgid "Mathematical functions:" msgstr "" -#. type: Plain text -#: ../E/cbot.txt:94 -#, no-wrap -msgid "" -"rand Returns a random value\n" -"pow Returns a power\n" -"sqrt Returns a square root\n" -"sin Returns a sine\n" -"cos Returns a cosine\n" -"tan Returns a tangent\n" -"asin Returns an arcus sine\n" -"acos Returns an arcus cosine\n" -"atan Returns an arcus tangent" -msgstr "" - #. type: Plain text #: ../E/cbot.txt:48 #, no-wrap @@ -624,6 +609,55 @@ msgid "" "buildingenabled Checks if a building can be built in the level" msgstr "" +#. type: Plain text +#: ../E/cbot.txt:94 +#, no-wrap +msgid "" +"rand Returns a random value\n" +"pow Returns a power\n" +"sqrt Returns a square root\n" +"floor Returns the largest previous integer\n" +"ceil Returns the smallest following integer\n" +"round Returns a rounded number\n" +"trunc Returns a truncated number\n" +"sin Returns a sine\n" +"cos Returns a cosine\n" +"tan Returns a tangent\n" +"asin Returns an arcus sine\n" +"acos Returns an arcus cosine\n" +"atan Returns an arcus tangent\n" +"atan2 Returns an arcus tangent, has two arguments" +msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "floor Returns the largest previous integer\n" +#~ "ceil Returns the smallest following integer\n" +#~ "round Returns a rounded number\n" +#~ "trunc Returns a truncated number\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent\n" +#~ "atan2 Returns an arcus tangent, has two arguments" +#~ msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent" +#~ msgstr "" + #~ msgid "" #~ "grab Picks up an object\n" #~ "drop Puts down an object\n" diff --git a/help/generic/po/generic.pot b/help/generic/po/generic.pot index 6d73326a..07bce5ac 100644 --- a/help/generic/po/generic.pot +++ b/help/generic/po/generic.pot @@ -239,13 +239,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:104 ../E/freehelp.txt:4 +#: ../E/cbot.txt:109 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:110 #, no-wrap msgid "Types and categories." msgstr "" @@ -504,21 +504,6 @@ msgstr "" msgid "Mathematical functions:" msgstr "" -#. type: Plain text -#: ../E/cbot.txt:94 -#, no-wrap -msgid "" -"rand Returns a random value\n" -"pow Returns a power\n" -"sqrt Returns a square root\n" -"sin Returns a sine\n" -"cos Returns a cosine\n" -"tan Returns a tangent\n" -"asin Returns an arcus sine\n" -"acos Returns an arcus cosine\n" -"atan Returns an arcus tangent" -msgstr "" - #. type: Plain text #: ../E/cbot.txt:48 #, no-wrap @@ -536,6 +521,55 @@ msgid "" "buildingenabled Checks if a building can be built in the level" msgstr "" +#. type: Plain text +#: ../E/cbot.txt:94 +#, no-wrap +msgid "" +"rand Returns a random value\n" +"pow Returns a power\n" +"sqrt Returns a square root\n" +"floor Returns the largest previous integer\n" +"ceil Returns the smallest following integer\n" +"round Returns a rounded number\n" +"trunc Returns a truncated number\n" +"sin Returns a sine\n" +"cos Returns a cosine\n" +"tan Returns a tangent\n" +"asin Returns an arcus sine\n" +"acos Returns an arcus cosine\n" +"atan Returns an arcus tangent\n" +"atan2 Returns an arcus tangent, has two arguments" +msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "floor Returns the largest previous integer\n" +#~ "ceil Returns the smallest following integer\n" +#~ "round Returns a rounded number\n" +#~ "trunc Returns a truncated number\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent\n" +#~ "atan2 Returns an arcus tangent, has two arguments" +#~ msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent" +#~ msgstr "" + #~ msgid "" #~ "grab Picks up an object\n" #~ "drop Puts down an object\n" diff --git a/help/generic/po/pl.po b/help/generic/po/pl.po index 0c7edb42..ff99c855 100644 --- a/help/generic/po/pl.po +++ b/help/generic/po/pl.po @@ -307,13 +307,13 @@ msgstr "" "deletefile Usuwa plik" #. type: \t; header -#: ../E/cbot.txt:104 ../E/freehelp.txt:4 +#: ../E/cbot.txt:109 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "Zobacz również" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:110 #, no-wrap msgid "Types and categories." msgstr "Typy i kategorie." @@ -598,21 +598,6 @@ msgstr "" msgid "Mathematical functions:" msgstr "" -#. type: Plain text -#: ../E/cbot.txt:94 -#, no-wrap -msgid "" -"rand Returns a random value\n" -"pow Returns a power\n" -"sqrt Returns a square root\n" -"sin Returns a sine\n" -"cos Returns a cosine\n" -"tan Returns a tangent\n" -"asin Returns an arcus sine\n" -"acos Returns an arcus cosine\n" -"atan Returns an arcus tangent" -msgstr "" - #. type: Plain text #: ../E/cbot.txt:48 #, no-wrap @@ -630,6 +615,55 @@ msgid "" "buildingenabled Checks if a building can be built in the level" msgstr "" +#. type: Plain text +#: ../E/cbot.txt:94 +#, no-wrap +msgid "" +"rand Returns a random value\n" +"pow Returns a power\n" +"sqrt Returns a square root\n" +"floor Returns the largest previous integer\n" +"ceil Returns the smallest following integer\n" +"round Returns a rounded number\n" +"trunc Returns a truncated number\n" +"sin Returns a sine\n" +"cos Returns a cosine\n" +"tan Returns a tangent\n" +"asin Returns an arcus sine\n" +"acos Returns an arcus cosine\n" +"atan Returns an arcus tangent\n" +"atan2 Returns an arcus tangent, has two arguments" +msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "floor Returns the largest previous integer\n" +#~ "ceil Returns the smallest following integer\n" +#~ "round Returns a rounded number\n" +#~ "trunc Returns a truncated number\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent\n" +#~ "atan2 Returns an arcus tangent, has two arguments" +#~ msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent" +#~ msgstr "" + #~ msgid "" #~ "grab Picks up an object\n" #~ "drop Puts down an object\n" diff --git a/help/generic/po/ru.po b/help/generic/po/ru.po index be810581..16be6ac1 100644 --- a/help/generic/po/ru.po +++ b/help/generic/po/ru.po @@ -251,13 +251,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:104 ../E/freehelp.txt:4 +#: ../E/cbot.txt:109 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "См. также" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:110 #, no-wrap msgid "Types and categories." msgstr "" @@ -542,21 +542,6 @@ msgstr "" msgid "Mathematical functions:" msgstr "" -#. type: Plain text -#: ../E/cbot.txt:94 -#, no-wrap -msgid "" -"rand Returns a random value\n" -"pow Returns a power\n" -"sqrt Returns a square root\n" -"sin Returns a sine\n" -"cos Returns a cosine\n" -"tan Returns a tangent\n" -"asin Returns an arcus sine\n" -"acos Returns an arcus cosine\n" -"atan Returns an arcus tangent" -msgstr "" - #. type: Plain text #: ../E/cbot.txt:48 #, no-wrap @@ -574,6 +559,55 @@ msgid "" "buildingenabled Checks if a building can be built in the level" msgstr "" +#. type: Plain text +#: ../E/cbot.txt:94 +#, no-wrap +msgid "" +"rand Returns a random value\n" +"pow Returns a power\n" +"sqrt Returns a square root\n" +"floor Returns the largest previous integer\n" +"ceil Returns the smallest following integer\n" +"round Returns a rounded number\n" +"trunc Returns a truncated number\n" +"sin Returns a sine\n" +"cos Returns a cosine\n" +"tan Returns a tangent\n" +"asin Returns an arcus sine\n" +"acos Returns an arcus cosine\n" +"atan Returns an arcus tangent\n" +"atan2 Returns an arcus tangent, has two arguments" +msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "floor Returns the largest previous integer\n" +#~ "ceil Returns the smallest following integer\n" +#~ "round Returns a rounded number\n" +#~ "trunc Returns a truncated number\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent\n" +#~ "atan2 Returns an arcus tangent, has two arguments" +#~ msgstr "" + +#~ msgid "" +#~ "rand Returns a random value\n" +#~ "pow Returns a power\n" +#~ "sqrt Returns a square root\n" +#~ "sin Returns a sine\n" +#~ "cos Returns a cosine\n" +#~ "tan Returns a tangent\n" +#~ "asin Returns an arcus sine\n" +#~ "acos Returns an arcus cosine\n" +#~ "atan Returns an arcus tangent" +#~ msgstr "" + #~ msgid "" #~ "grab Picks up an object\n" #~ "drop Puts down an object\n"