Fix some English version typos
parent
d098b629f4
commit
5c0d12bfed
|
@ -13,7 +13,7 @@ Actually when the CBOT interpreter encounters an array declaration, it just crea
|
||||||
As soon as you put values into the array, the elements are created and the reference is initialized:
|
As soon as you put values into the array, the elements are created and the reference is initialized:
|
||||||
\c;
|
\c;
|
||||||
\s;a[2] = 213; // a points to
|
\s;a[2] = 213; // a points to
|
||||||
\s; // 3 élements [0], [1] et [2]
|
\s; // 3 elements [0], [1] et [2]
|
||||||
\n;
|
\n;
|
||||||
After this operation, \c;a\n; contains a reference to the elements of the array. Elements \c;[0]\n; and \c;[1]\n; are created but not initialized because an array cannot contain empty elements. The \c;\l;sizeof\u cbot\sizeof;\n; instruction allows you to obtain the number of elements contained in an array.
|
After this operation, \c;a\n; contains a reference to the elements of the array. Elements \c;[0]\n; and \c;[1]\n; are created but not initialized because an array cannot contain empty elements. The \c;\l;sizeof\u cbot\sizeof;\n; instruction allows you to obtain the number of elements contained in an array.
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ For example :
|
||||||
\c;12 >= 10 \n;returns true
|
\c;12 >= 10 \n;returns true
|
||||||
\c;12 >= 12 \n;returns true
|
\c;12 >= 12 \n;returns true
|
||||||
|
|
||||||
\t;Remarque
|
\t;Remark
|
||||||
Be careful not to confuse the equality comparison \c;==\n; with the assignment of a \l;variable\u cbot\var; \c;=\n;.
|
Be careful not to confuse the equality comparison \c;==\n; with the assignment of a \l;variable\u cbot\var; \c;=\n;.
|
||||||
|
|
||||||
\c;a == b\n; is an expression that compares \c;a\n; with \c;b\n;.
|
\c;a == b\n; is an expression that compares \c;a\n; with \c;b\n;.
|
||||||
|
|
|
@ -12,14 +12,14 @@ Error treatment mode.
|
||||||
\c;0\n; -> continues program execution and returns a non zero value
|
\c;0\n; -> continues program execution and returns a non zero value
|
||||||
\c;1\n; -> stops the program (default behavior)
|
\c;1\n; -> stops the program (default behavior)
|
||||||
|
|
||||||
Exemple 1¦:
|
Example 1¦:
|
||||||
\s;\c;errmode(0);
|
\s;\c;errmode(0);
|
||||||
\s;while ( goto(pos) != 0 )
|
\s;while ( goto(pos) != 0 )
|
||||||
\s;{
|
\s;{
|
||||||
\s; wait(2);
|
\s; wait(2);
|
||||||
\s;}
|
\s;}
|
||||||
\n;
|
\n;
|
||||||
Exemple 2¦:
|
Example 2¦:
|
||||||
\s;\c;errmode(0);
|
\s;\c;errmode(0);
|
||||||
\s;int err;
|
\s;int err;
|
||||||
\s;err = goto(pos);
|
\s;err = goto(pos);
|
||||||
|
|
|
@ -33,7 +33,7 @@ A function can have paramteters¦:
|
||||||
\c;
|
\c;
|
||||||
\s;void Example( int a, float x, string s )
|
\s;void Example( int a, float x, string s )
|
||||||
\n;
|
\n;
|
||||||
The \c;Exemple\n; function will reveive un integer \c;a\n;, a floating point number \c;x\n; and a string \c;s\n;. Parameters are "passed by value", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an \c;int\n; to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function.
|
The \c;Example\n; function will reveive un integer \c;a\n;, a floating point number \c;x\n; and a string \c;s\n;. Parameters are "passed by value", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an \c;int\n; to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function.
|
||||||
|
|
||||||
If you pass a \l;class\u cbot\class; instance or an \l;array\u cbot\array; as parameter to a function, the function only receives a \l;reference\u cbot\pointer; to the instance or the array. That means if you modify the instance or the array in the function, the instance or the array that has been specified by the caller will be actuallay modified.
|
If you pass a \l;class\u cbot\class; instance or an \l;array\u cbot\array; as parameter to a function, the function only receives a \l;reference\u cbot\pointer; to the instance or the array. That means if you modify the instance or the array in the function, the instance or the array that has been specified by the caller will be actuallay modified.
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ Some other examples¦:
|
||||||
\s;string Sign( float a )
|
\s;string Sign( float a )
|
||||||
\s;{
|
\s;{
|
||||||
\s; if ( a > 0 ) return "positive";
|
\s; if ( a > 0 ) return "positive";
|
||||||
\s; if ( a < 0 ) return "négative";
|
\s; if ( a < 0 ) return "negative";
|
||||||
\s; return "null";
|
\s; return "null";
|
||||||
\s;}
|
\s;}
|
||||||
\n;
|
\n;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
\b;Instruction \c;private\n; (for specialists)
|
\b;Instruction \c;private\n; (for specialists)
|
||||||
\l;Class\u cbot\class; members can be \l;public\u cbot\public; (by default) or private. A member can be declared privat by putting \c;private\n; before the type declaration of the member. Private members are not accessible from outside the class definition.
|
\l;Class\u cbot\class; members can be \l;public\u cbot\public; (by default) or private. A member can be declared private by putting \c;private\n; before the type declaration of the member. Private members are not accessible from outside the class definition.
|
||||||
\c;
|
\c;
|
||||||
\s;public class MyClass
|
\s;public class MyClass
|
||||||
\s;{
|
\s;{
|
||||||
\s; int b; // public by défault
|
\s; int b; // public by default
|
||||||
\s; public int a; // als public
|
\s; public int a; // also public
|
||||||
\s; private point position; // privat
|
\s; private point position; // private
|
||||||
\s;}
|
\s;}
|
||||||
\s;void Test()
|
\s;void Test()
|
||||||
\s;{
|
\s;{
|
||||||
|
|
|
@ -22,7 +22,7 @@ If the \l;function\u cbot\function; has a return type, the \c;return\n; instruct
|
||||||
\s;string Sign (float a)
|
\s;string Sign (float a)
|
||||||
\s;{
|
\s;{
|
||||||
\s; if ( a > 0 ) return "positive";
|
\s; if ( a > 0 ) return "positive";
|
||||||
\s; if ( a < 0 ) return "négative";
|
\s; if ( a < 0 ) return "negative";
|
||||||
\s; return "null";
|
\s; return "null";
|
||||||
\s;}
|
\s;}
|
||||||
\n;
|
\n;
|
||||||
|
|
|
@ -51,4 +51,4 @@ However if a field name is hidden by a parameter declaration or a variable decla
|
||||||
\n;
|
\n;
|
||||||
\t;See also
|
\t;See also
|
||||||
\c;\l;class\u cbot\class;\n;
|
\c;\l;class\u cbot\class;\n;
|
||||||
\l;Programming\u cbot;, \l;types\u cbot\type; et \l;catégories\u cbot\category;.
|
\l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.
|
||||||
|
|
|
@ -178,7 +178,7 @@ msgstr ""
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"a[2] = 213; // a points to\n"
|
"a[2] = 213; // a points to\n"
|
||||||
" // 3 élements [0], [1] et [2]"
|
" // 3 elements [0], [1] et [2]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
|
@ -777,12 +777,6 @@ msgid ""
|
||||||
"<code>12 >= 12 </code>returns true "
|
"<code>12 >= 12 </code>returns true "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: \t; header
|
|
||||||
#: ../E/cond.txt:21
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Remarque"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/cond.txt:22
|
#: ../E/cond.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -1289,7 +1283,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:15
|
#: ../E/errmode.txt:15
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 1¦:"
|
msgid "Example 1¦:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -1306,7 +1300,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:22
|
#: ../E/errmode.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 2¦:"
|
msgid "Example 2¦:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -1981,7 +1975,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:36
|
#: ../E/function.txt:36
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "The <code>Exemple</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
msgid "The <code>Example</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
|
@ -2031,7 +2025,7 @@ msgid ""
|
||||||
"string Sign( float a )\n"
|
"string Sign( float a )\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3191,7 +3185,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/private.txt:2
|
#: ../E/private.txt:2
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared privat by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared private by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -3200,9 +3194,9 @@ msgstr ""
|
||||||
msgid ""
|
msgid ""
|
||||||
"public class MyClass\n"
|
"public class MyClass\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tint b; // public by défault\n"
|
"\tint b; // public by default\n"
|
||||||
"\tpublic int a; // als public \n"
|
"\tpublic int a; // also public \n"
|
||||||
"\tprivate point position; // privat\n"
|
"\tprivate point position; // private\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"void Test()\n"
|
"void Test()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
@ -3485,7 +3479,7 @@ msgid "Returns the first object found that corresponds to the specified category
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/radar.txt:46
|
#: ../E/cond.txt:21 ../E/radar.txt:46
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Remark"
|
msgid "Remark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3730,7 +3724,7 @@ msgid ""
|
||||||
"string Sign (float a)\n"
|
"string Sign (float a)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -4793,7 +4787,7 @@ msgstr ""
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"<code><a cbot|class>class</a></code>\n"
|
"<code><a cbot|class>class</a></code>\n"
|
||||||
"<a cbot>Programming</a>, <a cbot|type>types</a> et <a cbot|category>catégories</a>."
|
"<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: \b; header
|
#. type: \b; header
|
||||||
|
|
|
@ -191,7 +191,7 @@ msgstr "Sobald Sie einer Variable des Arrays einen Wert zuweisen, werden die Ele
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"a[2] = 213; // a points to\n"
|
"a[2] = 213; // a points to\n"
|
||||||
" // 3 élements [0], [1] et [2]"
|
" // 3 elements [0], [1] et [2]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"a[2] = 213; // a zeigt auf die\n"
|
"a[2] = 213; // a zeigt auf die\n"
|
||||||
" // 3 Elemente [0], [1] und [2]"
|
" // 3 Elemente [0], [1] und [2]"
|
||||||
|
@ -934,12 +934,6 @@ msgstr ""
|
||||||
"<code>12 >= 10 </code>ergibt wahr\n"
|
"<code>12 >= 10 </code>ergibt wahr\n"
|
||||||
"<code>12 >= 12 </code>ergibt wahr "
|
"<code>12 >= 12 </code>ergibt wahr "
|
||||||
|
|
||||||
#. type: \t; header
|
|
||||||
#: ../E/cond.txt:21
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Remarque"
|
|
||||||
msgstr "Bemerkung"
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/cond.txt:22
|
#: ../E/cond.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -1501,7 +1495,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:15
|
#: ../E/errmode.txt:15
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 1¦:"
|
msgid "Example 1¦:"
|
||||||
msgstr "Im ersten Beispiel wird der Befehl <code>goto(pos)</code> nach einer kurzen Pause solange erneut ausgeführt, bis er fehlerfrei ausgeführt werden kann:"
|
msgstr "Im ersten Beispiel wird der Befehl <code>goto(pos)</code> nach einer kurzen Pause solange erneut ausgeführt, bis er fehlerfrei ausgeführt werden kann:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -1523,7 +1517,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:22
|
#: ../E/errmode.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 2¦:"
|
msgid "Example 2¦:"
|
||||||
msgstr "Im zweiten Beispiel wird mit einem einfachen \\c;\\l;if\\u cbot\\if;\\n; getestet, ob ein Fehler auftrat. Wenn ja, kann ein alternatives Verhalten vorgesehen werden:"
|
msgstr "Im zweiten Beispiel wird mit einem einfachen \\c;\\l;if\\u cbot\\if;\\n; getestet, ob ein Fehler auftrat. Wenn ja, kann ein alternatives Verhalten vorgesehen werden:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -2331,7 +2325,7 @@ msgstr "void Beispiel( int a, float x, string s )"
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:36
|
#: ../E/function.txt:36
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "The <code>Exemple</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
msgid "The <code>Example</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
||||||
msgstr "Die Funktion <code>Beispiel</code> erhält folgende Parameter: einen Wert vom Typ <code>int</code> (ganze Zahl), der in die Variable<code>a</code> kommt; einen Wert vom Typ <code>float</code> (Fließkommazahl), der in die Variable <code>x</code> kommt, und einen Wert vom Typ <code>string</code> (Zeichenkette), der in die Variable <code>s</code> kommt."
|
msgstr "Die Funktion <code>Beispiel</code> erhält folgende Parameter: einen Wert vom Typ <code>int</code> (ganze Zahl), der in die Variable<code>a</code> kommt; einen Wert vom Typ <code>float</code> (Fließkommazahl), der in die Variable <code>x</code> kommt, und einen Wert vom Typ <code>string</code> (Zeichenkette), der in die Variable <code>s</code> kommt."
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
|
@ -2392,7 +2386,7 @@ msgid ""
|
||||||
"string Sign( float a )\n"
|
"string Sign( float a )\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3754,7 +3748,7 @@ msgstr "Anweisung <code>private</code> (für Spezialisten)"
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/private.txt:2
|
#: ../E/private.txt:2
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared privat by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared private by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
||||||
msgstr "Mitglieder einer <a cbot|class>Klasse</a> können <a cbot|public>public</a> (= öffentlich, Standardwert) oder privat sein. Um ein Mitglied als privat zu deklarieren, schreiben Sie <code>private</code> vor der Deklaration der Mitglieds. Private Mitglieder sind von außerhalb der Klassendefinition nicht sichtbar."
|
msgstr "Mitglieder einer <a cbot|class>Klasse</a> können <a cbot|public>public</a> (= öffentlich, Standardwert) oder privat sein. Um ein Mitglied als privat zu deklarieren, schreiben Sie <code>private</code> vor der Deklaration der Mitglieds. Private Mitglieder sind von außerhalb der Klassendefinition nicht sichtbar."
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -3763,9 +3757,9 @@ msgstr "Mitglieder einer <a cbot|class>Klasse</a> können <a cbot|public>public<
|
||||||
msgid ""
|
msgid ""
|
||||||
"public class MyClass\n"
|
"public class MyClass\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tint b; // public by défault\n"
|
"\tint b; // public by default\n"
|
||||||
"\tpublic int a; // als public \n"
|
"\tpublic int a; // also public \n"
|
||||||
"\tprivate point position; // privat\n"
|
"\tprivate point position; // private\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"void Test()\n"
|
"void Test()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
@ -4366,7 +4360,7 @@ msgid ""
|
||||||
"string Sign (float a)\n"
|
"string Sign (float a)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -5580,7 +5574,7 @@ msgstr ""
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"<code><a cbot|class>class</a></code>\n"
|
"<code><a cbot|class>class</a></code>\n"
|
||||||
"<a cbot>Programming</a>, <a cbot|type>types</a> et <a cbot|category>catégories</a>."
|
"<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<code><a cbot|class>Klassen</a></code>\n"
|
"<code><a cbot|class>Klassen</a></code>\n"
|
||||||
"Die <a cbot>CBOT-Sprache</a>, <a cbot|type>Variablentypen</a> und <a cbot|category>Kategorien</a>."
|
"Die <a cbot>CBOT-Sprache</a>, <a cbot|type>Variablentypen</a> und <a cbot|category>Kategorien</a>."
|
||||||
|
@ -6409,7 +6403,7 @@ msgstr ""
|
||||||
"\t<n/>Anweisung 3<c/>;"
|
"\t<n/>Anweisung 3<c/>;"
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/radar.txt:46
|
#: ../E/cond.txt:21 ../E/radar.txt:46
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Remark"
|
msgid "Remark"
|
||||||
msgstr "Bemerkung"
|
msgstr "Bemerkung"
|
||||||
|
|
|
@ -191,7 +191,7 @@ msgstr "Dès que l'on met une valeur dans le tableau, CBOT crée les éléments
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"a[2] = 213; // a points to\n"
|
"a[2] = 213; // a points to\n"
|
||||||
" // 3 élements [0], [1] et [2]"
|
" // 3 elements [0], [1] et [2]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"a[2] = 213; // a est une référence sur\n"
|
"a[2] = 213; // a est une référence sur\n"
|
||||||
" // 3 éléments [0], [1] et [2]"
|
" // 3 éléments [0], [1] et [2]"
|
||||||
|
@ -975,12 +975,6 @@ msgstr ""
|
||||||
"<code>12 >= 10 </code>retourne vrai\n"
|
"<code>12 >= 10 </code>retourne vrai\n"
|
||||||
"<code>12 >= 12 </code>retourne vrai"
|
"<code>12 >= 12 </code>retourne vrai"
|
||||||
|
|
||||||
#. type: \t; header
|
|
||||||
#: ../E/cond.txt:21
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Remarque"
|
|
||||||
msgstr "Remarque"
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/cond.txt:22
|
#: ../E/cond.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -1469,7 +1463,7 @@ msgstr "\tif ( handle.eof() )"
|
||||||
#: ../E/eof.txt:6 ../E/readln.txt:11
|
#: ../E/eof.txt:6 ../E/readln.txt:11
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Example¦:"
|
msgid "Example¦:"
|
||||||
msgstr "Exemple:"
|
msgstr "Example:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
#: ../E/eof.txt:8
|
#: ../E/eof.txt:8
|
||||||
|
@ -1540,8 +1534,8 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:15
|
#: ../E/errmode.txt:15
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 1¦:"
|
msgid "Example 1¦:"
|
||||||
msgstr "Exemple 1:"
|
msgstr "Example 1:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
#: ../E/errmode.txt:16
|
#: ../E/errmode.txt:16
|
||||||
|
@ -1562,8 +1556,8 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:22
|
#: ../E/errmode.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 2¦:"
|
msgid "Example 2¦:"
|
||||||
msgstr "Exemple 2:"
|
msgstr "Example 2:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
#: ../E/errmode.txt:23
|
#: ../E/errmode.txt:23
|
||||||
|
@ -2350,13 +2344,13 @@ msgstr "Une fonction peut recevoir des données en entrée. Il faut en donner la
|
||||||
#: ../E/function.txt:34
|
#: ../E/function.txt:34
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "void Example( int a, float x, string s )"
|
msgid "void Example( int a, float x, string s )"
|
||||||
msgstr "void Exemple( int a, float x, string s )"
|
msgstr "void Example( int a, float x, string s )"
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:36
|
#: ../E/function.txt:36
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "The <code>Exemple</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
msgid "The <code>Example</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
||||||
msgstr "La fonction <code>Exemple</code> va recevoir un nombre entier <code>a</code>, un nombre réel <code>x</code> et une chaîne <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
msgstr "La fonction <code>Example</code> va recevoir un nombre entier <code>a</code>, un nombre réel <code>x</code> et une chaîne <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:38
|
#: ../E/function.txt:38
|
||||||
|
@ -2415,7 +2409,7 @@ msgid ""
|
||||||
"string Sign( float a )\n"
|
"string Sign( float a )\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -2427,7 +2421,7 @@ msgstr ""
|
||||||
"string Signe( float a )\n"
|
"string Signe( float a )\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positif\";\n"
|
"\tif ( a > 0 ) return \"positif\";\n"
|
||||||
"\tif ( a < 0 ) return \"négatif\";\n"
|
"\tif ( a < 0 ) return \"negatif\";\n"
|
||||||
"\treturn \"nul\";\n"
|
"\treturn \"nul\";\n"
|
||||||
"}"
|
"}"
|
||||||
|
|
||||||
|
@ -2975,7 +2969,7 @@ msgid ""
|
||||||
"<c/>motor(-0.5, -0.5);<n/> moves backward with half speed.\n"
|
"<c/>motor(-0.5, -0.5);<n/> moves backward with half speed.\n"
|
||||||
"<c/>motor(1, -1);<n/> turns right as fast as possible. "
|
"<c/>motor(1, -1);<n/> turns right as fast as possible. "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Exemples:\n"
|
"Examples:\n"
|
||||||
"<c/>motor(1, 1);<n/> pour avancer tout droit à la vitesse maximale.\n"
|
"<c/>motor(1, 1);<n/> pour avancer tout droit à la vitesse maximale.\n"
|
||||||
"<c/>motor(0.5, 0.6);<n/> pour avancer à mi-vitesse en tournant légèrement à gauche.\n"
|
"<c/>motor(0.5, 0.6);<n/> pour avancer à mi-vitesse en tournant légèrement à gauche.\n"
|
||||||
"<c/>motor(-0.5, -0.5);<n/> pour reculer à mi-vitesse.\n"
|
"<c/>motor(-0.5, -0.5);<n/> pour reculer à mi-vitesse.\n"
|
||||||
|
@ -3373,7 +3367,7 @@ msgstr "Cette information est spéciale, comme la précédente. Elle contient le
|
||||||
#: ../E/object.txt:56
|
#: ../E/object.txt:56
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Examples"
|
msgid "Examples"
|
||||||
msgstr "Exemples"
|
msgstr "Examples"
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/object.txt:57
|
#: ../E/object.txt:57
|
||||||
|
@ -3608,7 +3602,7 @@ msgid ""
|
||||||
"Example:\n"
|
"Example:\n"
|
||||||
"<c/><s/>{"
|
"<c/><s/>{"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Exemples:\n"
|
"Examples:\n"
|
||||||
"<c/><s/>{"
|
"<c/><s/>{"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -3759,7 +3753,7 @@ msgstr "Instruction <code>private</code> (pour spécialistes)"
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/private.txt:2
|
#: ../E/private.txt:2
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared privat by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared private by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
||||||
msgstr "Les éléments déclarés dans une <a cbot|class>classe</a> peuvent être <a cbot|public>publics</a> (par défaut) ou privés. Un élément est privé en plaçant <code>private</code> devant le type de l'élément. Dès lors, ces éléments ne seront plus accessibles depuis l'extérieur de la définition de la classe elle-même."
|
msgstr "Les éléments déclarés dans une <a cbot|class>classe</a> peuvent être <a cbot|public>publics</a> (par défaut) ou privés. Un élément est privé en plaçant <code>private</code> devant le type de l'élément. Dès lors, ces éléments ne seront plus accessibles depuis l'extérieur de la définition de la classe elle-même."
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -3768,9 +3762,9 @@ msgstr "Les éléments déclarés dans une <a cbot|class>classe</a> peuvent êtr
|
||||||
msgid ""
|
msgid ""
|
||||||
"public class MyClass\n"
|
"public class MyClass\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tint b; // public by défault\n"
|
"\tint b; // public by default\n"
|
||||||
"\tpublic int a; // als public \n"
|
"\tpublic int a; // also public \n"
|
||||||
"\tprivate point position; // privat\n"
|
"\tprivate point position; // private\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"void Test()\n"
|
"void Test()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
@ -4103,7 +4097,7 @@ msgid "Returns the first object found that corresponds to the specified category
|
||||||
msgstr "Objet trouvé le plus proche. La valeur <code><a cbot|null>null</a></code> indique que rien n'a été trouvé."
|
msgstr "Objet trouvé le plus proche. La valeur <code><a cbot|null>null</a></code> indique que rien n'a été trouvé."
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/radar.txt:46
|
#: ../E/cond.txt:21 ../E/radar.txt:46
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Remark"
|
msgid "Remark"
|
||||||
msgstr "Remarque"
|
msgstr "Remarque"
|
||||||
|
@ -4377,7 +4371,7 @@ msgid ""
|
||||||
"string Sign (float a)\n"
|
"string Sign (float a)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -4818,7 +4812,7 @@ msgstr "Sous-chaîne recherchée."
|
||||||
#: ../E/strfind.txt:13 ../E/strleft.txt:10 ../E/strlen.txt:7 ../E/strlower.txt:7 ../E/strmid.txt:13 ../E/strright.txt:10 ../E/strupper.txt:7 ../E/strval.txt:4 ../E/strval.txt:11 ../E/writeln.txt:11
|
#: ../E/strfind.txt:13 ../E/strleft.txt:10 ../E/strlen.txt:7 ../E/strlower.txt:7 ../E/strmid.txt:13 ../E/strright.txt:10 ../E/strupper.txt:7 ../E/strval.txt:4 ../E/strval.txt:11 ../E/writeln.txt:11
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Examples¦:"
|
msgid "Examples¦:"
|
||||||
msgstr "Exemples:"
|
msgstr "Examples:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
#: ../E/strfind.txt:14
|
#: ../E/strfind.txt:14
|
||||||
|
@ -5600,7 +5594,7 @@ msgstr ""
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"<code><a cbot|class>class</a></code>\n"
|
"<code><a cbot|class>class</a></code>\n"
|
||||||
"<a cbot>Programming</a>, <a cbot|type>types</a> et <a cbot|category>catégories</a>."
|
"<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
|
||||||
msgstr "<a cbot>Programmation</a>, <a cbot|type>types</a> et <a cbot|category>catégories</a>."
|
msgstr "<a cbot>Programmation</a>, <a cbot|type>types</a> et <a cbot|category>catégories</a>."
|
||||||
|
|
||||||
#. type: \b; header
|
#. type: \b; header
|
||||||
|
@ -6146,7 +6140,7 @@ msgid ""
|
||||||
"Example:\n"
|
"Example:\n"
|
||||||
"<c/><s/>void MyFunction(int a)"
|
"<c/><s/>void MyFunction(int a)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Exemples:\n"
|
"Examples:\n"
|
||||||
"<c/><s/>void MyFunction(int a)"
|
"<c/><s/>void MyFunction(int a)"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
|
|
@ -191,7 +191,7 @@ msgstr "Z chwilą wstawienia wartości do tablicy, tworzone są elementy i inicj
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"a[2] = 213; // a points to\n"
|
"a[2] = 213; // a points to\n"
|
||||||
" // 3 élements [0], [1] et [2]"
|
" // 3 elements [0], [1] et [2]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"a[2] = 213; // tablica a wskazuje na\n"
|
"a[2] = 213; // tablica a wskazuje na\n"
|
||||||
" // 3 elementy: [0], [1] i [2]"
|
" // 3 elementy: [0], [1] i [2]"
|
||||||
|
@ -986,12 +986,6 @@ msgstr ""
|
||||||
"<code>12 >= 10 </code>daje w wyniku true \n"
|
"<code>12 >= 10 </code>daje w wyniku true \n"
|
||||||
"<code>12 >= 12 </code>daje w wyniku true "
|
"<code>12 >= 12 </code>daje w wyniku true "
|
||||||
|
|
||||||
#. type: \t; header
|
|
||||||
#: ../E/cond.txt:21
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Remarque"
|
|
||||||
msgstr "Uwaga"
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/cond.txt:22
|
#: ../E/cond.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -1551,7 +1545,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:15
|
#: ../E/errmode.txt:15
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 1¦:"
|
msgid "Example 1¦:"
|
||||||
msgstr "Przykład 1¦:"
|
msgstr "Przykład 1¦:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -1573,7 +1567,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:22
|
#: ../E/errmode.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 2¦:"
|
msgid "Example 2¦:"
|
||||||
msgstr "Przykład 2¦:"
|
msgstr "Przykład 2¦:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -2383,7 +2377,7 @@ msgstr "void Przykład( int a, float x, string s )"
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:36
|
#: ../E/function.txt:36
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "The <code>Exemple</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
msgid "The <code>Example</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
||||||
msgstr "Funkcja <code>Przykład</code> dostaje jako parametry liczbę całkowitą <code>a</code>, liczbę zmiennoprzecinkową <code>x</code> oraz łańcuch <code>s</code>. Parametry są \"przekazywane przez wartość\", czyli są kopią wartości określonych jako zmienne podczas wywołania. Przy przekazaniu zmiennej <code>int</code> funkcji, jej parametr jest kopią wartości przekazanej jako argument, wobec czego funkcja może zmieniać wartość parametru bez zmiany wartości w miejscu, z którego była wywołana funkcja."
|
msgstr "Funkcja <code>Przykład</code> dostaje jako parametry liczbę całkowitą <code>a</code>, liczbę zmiennoprzecinkową <code>x</code> oraz łańcuch <code>s</code>. Parametry są \"przekazywane przez wartość\", czyli są kopią wartości określonych jako zmienne podczas wywołania. Przy przekazaniu zmiennej <code>int</code> funkcji, jej parametr jest kopią wartości przekazanej jako argument, wobec czego funkcja może zmieniać wartość parametru bez zmiany wartości w miejscu, z którego była wywołana funkcja."
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
|
@ -2444,7 +2438,7 @@ msgid ""
|
||||||
"string Sign( float a )\n"
|
"string Sign( float a )\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3807,7 +3801,7 @@ msgstr "Instrukcja <code>private</code> (dla specjalistów)"
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/private.txt:2
|
#: ../E/private.txt:2
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared privat by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared private by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
||||||
msgstr "Elementy <a cbot|class>klasy</a> mogą być <a cbot|public>publiczne</a> (domyślnie) lub prywatne. Aby zadeklarować element jako prywatny, należy umieścić instrukcję <code>private</code> przed deklaracją jego typu. Elementy prywatne nie są widoczne poza definicją klasy."
|
msgstr "Elementy <a cbot|class>klasy</a> mogą być <a cbot|public>publiczne</a> (domyślnie) lub prywatne. Aby zadeklarować element jako prywatny, należy umieścić instrukcję <code>private</code> przed deklaracją jego typu. Elementy prywatne nie są widoczne poza definicją klasy."
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -3816,9 +3810,9 @@ msgstr "Elementy <a cbot|class>klasy</a> mogą być <a cbot|public>publiczne</a>
|
||||||
msgid ""
|
msgid ""
|
||||||
"public class MyClass\n"
|
"public class MyClass\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tint b; // public by défault\n"
|
"\tint b; // public by default\n"
|
||||||
"\tpublic int a; // als public \n"
|
"\tpublic int a; // also public \n"
|
||||||
"\tprivate point position; // privat\n"
|
"\tprivate point position; // private\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"void Test()\n"
|
"void Test()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
@ -4151,7 +4145,7 @@ msgid "Returns the first object found that corresponds to the specified category
|
||||||
msgstr "Zwraca pierwszy znaleziony obiekt odpowiadający podanej kategorii w podanej strefie. Jeśli nie znaleziono obiektu, zwracana jest wartość <code><a cbot|null>null</a></code>."
|
msgstr "Zwraca pierwszy znaleziony obiekt odpowiadający podanej kategorii w podanej strefie. Jeśli nie znaleziono obiektu, zwracana jest wartość <code><a cbot|null>null</a></code>."
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/radar.txt:46
|
#: ../E/cond.txt:21 ../E/radar.txt:46
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Remark"
|
msgid "Remark"
|
||||||
msgstr "Uwaga"
|
msgstr "Uwaga"
|
||||||
|
@ -4425,7 +4419,7 @@ msgid ""
|
||||||
"string Sign (float a)\n"
|
"string Sign (float a)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -5647,7 +5641,7 @@ msgstr ""
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"<code><a cbot|class>class</a></code>\n"
|
"<code><a cbot|class>class</a></code>\n"
|
||||||
"<a cbot>Programming</a>, <a cbot|type>types</a> et <a cbot|category>catégories</a>."
|
"<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<code><a cbot|class>class</a></code>\n"
|
"<code><a cbot|class>class</a></code>\n"
|
||||||
"<a cbot>Programowanie</a>, <a cbot|type>typy</a> i <a cbot|category>kategorie</a>."
|
"<a cbot>Programowanie</a>, <a cbot|type>typy</a> i <a cbot|category>kategorie</a>."
|
||||||
|
|
|
@ -191,7 +191,7 @@ msgstr "Как только вы поместите значения в масс
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"a[2] = 213; // a points to\n"
|
"a[2] = 213; // a points to\n"
|
||||||
" // 3 élements [0], [1] et [2]"
|
" // 3 elements [0], [1] et [2]"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"a[2] = 213; // указывает на\n"
|
"a[2] = 213; // указывает на\n"
|
||||||
" // три элемента [0], [1] и [2]"
|
" // три элемента [0], [1] и [2]"
|
||||||
|
@ -985,12 +985,6 @@ msgstr ""
|
||||||
"<code>12 >= 10 </code>возвращает да\n"
|
"<code>12 >= 10 </code>возвращает да\n"
|
||||||
"<code>12 >= 12 </code>возвращает да"
|
"<code>12 >= 12 </code>возвращает да"
|
||||||
|
|
||||||
#. type: \t; header
|
|
||||||
#: ../E/cond.txt:21
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Remarque"
|
|
||||||
msgstr "Примечание"
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/cond.txt:22
|
#: ../E/cond.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -1550,7 +1544,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:15
|
#: ../E/errmode.txt:15
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 1¦:"
|
msgid "Example 1¦:"
|
||||||
msgstr "Пример 1¦:"
|
msgstr "Пример 1¦:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -1572,7 +1566,7 @@ msgstr ""
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/errmode.txt:22
|
#: ../E/errmode.txt:22
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Exemple 2¦:"
|
msgid "Example 2¦:"
|
||||||
msgstr "Пример 2¦:"
|
msgstr "Пример 2¦:"
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -2354,8 +2348,8 @@ msgstr "void Example( int a, float x, string s )"
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:36
|
#: ../E/function.txt:36
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "The <code>Exemple</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
msgid "The <code>Example</code> function will reveive un integer <code>a</code>, a floating point number <code>x</code> and a string <code>s</code>. Parameters are \"passed by value\", that is the values of parameter variables in a function are copies of the values the caller specified as variables. If you pass an <code>int</code> to a function, its parameter is a copy of whatever value was being passed as argument, and the function can change its parameter value without affecting values in the code that invoked the function."
|
||||||
msgstr "Функция <code>Exemple</code> функция получит целое <code>a</code>, число с плавающей точкой <code>x</code> и строку <code>s</code>. Параметры - это ничто иное, как просто копии значений в переменных. Если вы передадите <code>int</code> функции, то ее параметр станет копией этого значения, т.е. функция сможет изменять эту копию незатрагивая оригинал."
|
msgstr "Функция <code>Example</code> функция получит целое <code>a</code>, число с плавающей точкой <code>x</code> и строку <code>s</code>. Параметры - это ничто иное, как просто копии значений в переменных. Если вы передадите <code>int</code> функции, то ее параметр станет копией этого значения, т.е. функция сможет изменять эту копию незатрагивая оригинал."
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:38
|
#: ../E/function.txt:38
|
||||||
|
@ -2415,7 +2409,7 @@ msgid ""
|
||||||
"string Sign( float a )\n"
|
"string Sign( float a )\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -3776,7 +3770,7 @@ msgstr "Инструкция <code>private</code> (for specialists)"
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/private.txt:2
|
#: ../E/private.txt:2
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared privat by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
msgid "<a cbot|class>Class</a> members can be <a cbot|public>public</a> (by default) or private. A member can be declared private by putting <code>private</code> before the type declaration of the member. Private members are not accessible from outside the class definition."
|
||||||
msgstr "Члены <a cbot|class>класса</a> могут быть <a cbot|public>общедоступны</a> (по-умолчанию) или личными. Член может быть объявлен частным, если поставить <code>private</code> до объявления элемента. Личные(локальные) члены не доступны извне для других классов."
|
msgstr "Члены <a cbot|class>класса</a> могут быть <a cbot|public>общедоступны</a> (по-умолчанию) или личными. Член может быть объявлен частным, если поставить <code>private</code> до объявления элемента. Личные(локальные) члены не доступны извне для других классов."
|
||||||
|
|
||||||
#. type: Source code
|
#. type: Source code
|
||||||
|
@ -3785,9 +3779,9 @@ msgstr "Члены <a cbot|class>класса</a> могут быть <a cbot|pu
|
||||||
msgid ""
|
msgid ""
|
||||||
"public class MyClass\n"
|
"public class MyClass\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tint b; // public by défault\n"
|
"\tint b; // public by default\n"
|
||||||
"\tpublic int a; // als public \n"
|
"\tpublic int a; // also public \n"
|
||||||
"\tprivate point position; // privat\n"
|
"\tprivate point position; // private\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"void Test()\n"
|
"void Test()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
@ -4120,7 +4114,7 @@ msgid "Returns the first object found that corresponds to the specified category
|
||||||
msgstr "Возвращает первый найденный объект, который соответствует указанной категории в указанной зоне. Если объект найден не был, то возвращается значение <code><a cbot|null>null</a></code>."
|
msgstr "Возвращает первый найденный объект, который соответствует указанной категории в указанной зоне. Если объект найден не был, то возвращается значение <code><a cbot|null>null</a></code>."
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/radar.txt:46
|
#: ../E/cond.txt:21 ../E/radar.txt:46
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid "Remark"
|
msgid "Remark"
|
||||||
msgstr "Замечание"
|
msgstr "Замечание"
|
||||||
|
@ -4392,14 +4386,14 @@ msgid ""
|
||||||
"string Sign (float a)\n"
|
"string Sign (float a)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"string Sign (float a)\n"
|
"string Sign (float a)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tif ( a > 0 ) return \"positive\";\n"
|
"\tif ( a > 0 ) return \"positive\";\n"
|
||||||
"\tif ( a < 0 ) return \"négative\";\n"
|
"\tif ( a < 0 ) return \"negative\";\n"
|
||||||
"\treturn \"null\";\n"
|
"\treturn \"null\";\n"
|
||||||
"}"
|
"}"
|
||||||
|
|
||||||
|
@ -5614,7 +5608,7 @@ msgstr ""
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
msgid ""
|
msgid ""
|
||||||
"<code><a cbot|class>class</a></code>\n"
|
"<code><a cbot|class>class</a></code>\n"
|
||||||
"<a cbot>Programming</a>, <a cbot|type>types</a> et <a cbot|category>catégories</a>."
|
"<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<code><a cbot|class>class</a></code>\n"
|
"<code><a cbot|class>class</a></code>\n"
|
||||||
"<a cbot>Программирование</a>, |l:типы\\u cbot<type/> и <a cbot\\category>категории</a>."
|
"<a cbot>Программирование</a>, |l:типы\\u cbot<type/> и <a cbot\\category>категории</a>."
|
||||||
|
|
Loading…
Reference in New Issue