diff --git a/help/cbot/E/private.txt b/help/cbot/E/private.txt index 992d4dd6..c2d56b23 100644 --- a/help/cbot/E/private.txt +++ b/help/cbot/E/private.txt @@ -1,5 +1,7 @@ \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 private by putting \c;private\n; before the type declaration of the member. Private members are not accessible from outside the class definition. +This is an access modifier for \l;class\u cbot\class; members. Private members are not accessible outside of the class definition. + +\t;Example \c; \s;public class MyClass \s;{ @@ -15,5 +17,5 @@ \s;} \n; \t;See also -\c;\l;class\u cbot\class;\n;, \c;\l;public\u cbot\public;\n; +\c;\l;class\u cbot\class;\n;, \c;\l;public\u cbot\public;\n;, \c;\l;protected\u cbot\protected;\n; \l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;. diff --git a/help/cbot/E/protected.txt b/help/cbot/E/protected.txt index e69de29b..24f62522 100644 --- a/help/cbot/E/protected.txt +++ b/help/cbot/E/protected.txt @@ -0,0 +1,28 @@ +\b;Keyword \c;protected\n; +This is an access modifier for \l;class\u cbot\class; members. Protected class members can be accessed in a child class, but they can't be accessed outside of classes definitions being part of the same inheritance tree (see the \c;\l;extends\u cbot\extends;\n; keyword). + +\t;Example +\c; +\s;public class Parent +\s;{ +\s; protected int field = 0; +\s;} +\s; +\s;public class Child extends Parent +\s;{ +\s; void Print() +\s; { +\s; message(field); +\s; } +\s;} +\s; +\s;extern void object::Test() +\s;{ +\s; Child child(); +\s; child.Print(); // 0 +\s; //child.field = 1; // Error! +\s;} +\n; +\t;See also +\c;\l;class\u cbot\class;\n;, \c;\l;public\u cbot\public;\n;, \c;\l;private\u cbot\private;\n;, \c;\l;extends\u cbot\extends;\n; +\l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;. diff --git a/help/cbot/E/public.txt b/help/cbot/E/public.txt index 72b69a84..3e9589b1 100644 --- a/help/cbot/E/public.txt +++ b/help/cbot/E/public.txt @@ -31,7 +31,7 @@ If you have declared a function \c;public\n;, you cannot define a function with If a bot containing a \c;public\n; function is destroyed, the other bots that make use of this function will be stopped with an error. \b;Instruction \c;public\n; for classes -\l;Class\u cbot\class; members can be public (by default) or \l;privat\u cbot\private;. A member can be declared private by putting \c;private\n; before the member type. Private members are not accessible from outside the class definition. +\c;public\n; is also an access modifier for \l;class\u cbot\class; members, which is the default one. Public members can be accessed from outside of the class definition. \c; \s;public class MyClass \s;{ @@ -47,5 +47,5 @@ If a bot containing a \c;public\n; function is destroyed, the other bots that ma \s;} \n; \t;See also -\c;\l;class\u cbot\class;\n;, \c;\l;private\u cbot\private;\n;, \c;\l;functions\u cbot\function;\n; +\c;\l;class\u cbot\class;\n;, \c;\l;private\u cbot\private;\n;, \c;\l;protected\u cbot\protected;\n;, \c;\l;functions\u cbot\function;\n; \l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;. diff --git a/help/cbot/po/cbot.pot b/help/cbot/po/cbot.pot index ebd1fb89..244f20f4 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:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/produce.txt:30 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:19 ../E/produce.txt:30 ../E/protected.txt:26 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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 "" @@ -2566,14 +2566,8 @@ msgstr "" msgid "Instruction private (for specialists)" msgstr "" -#. type: Plain text -#: ../E/private.txt:2 -#, no-wrap -msgid "Class members can be public (by default) or private. A member can be declared private by putting private before the type declaration of the member. Private members are not accessible from outside the class definition." -msgstr "" - #. type: Source code -#: ../E/private.txt:4 +#: ../E/private.txt:6 #, no-wrap msgid "" "public class MyClass\n" @@ -2590,14 +2584,6 @@ msgid "" "}" msgstr "" -#. type: Plain text -#: ../E/private.txt:18 -#, no-wrap -msgid "" -"class, public\n" -"Programming, types and categories." -msgstr "" - #. type: \b; header #: ../E/public.txt:1 #, no-wrap @@ -2689,12 +2675,6 @@ msgstr "" msgid "Instruction public for classes" msgstr "" -#. type: Plain text -#: ../E/public.txt:34 -#, no-wrap -msgid "Class members can be public (by default) or privat. A member can be declared private by putting private before the member type. Private members are not accessible from outside the class definition." -msgstr "" - #. type: Source code #: ../E/public.txt:36 #, no-wrap @@ -2713,14 +2693,6 @@ msgid "" "}" msgstr "" -#. type: Plain text -#: ../E/public.txt:50 -#, no-wrap -msgid "" -"class, private, functions\n" -"Programming, types and categories." -msgstr "" - #. type: \b; header #: ../E/radar.txt:1 #, no-wrap @@ -7167,7 +7139,7 @@ msgid "Firstly, the condition is valued and then the first result is returned if msgstr "" #. type: \t; header -#: ../E/expr.txt:157 +#: ../E/expr.txt:157 ../E/private.txt:4 ../E/protected.txt:4 #, no-wrap msgid "Example" msgstr "" @@ -7688,3 +7660,76 @@ msgid "" "public, private, protected, static, synchronized, new, reference, this, super, extends\n" "Programming, types and categories." msgstr "" + +#. type: \b; header +#: ../E/protected.txt:1 +#, no-wrap +msgid "Keyword protected" +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Protected class members can be accessed in a child class, but they can't be accessed outside of classes definitions being part of the same inheritance tree (see the extends keyword)." +msgstr "" + +#. type: Source code +#: ../E/protected.txt:6 +#, no-wrap +msgid "" +"public class Parent\n" +"{\n" +"\tprotected int field = 0;\n" +"}\n" +"\n" +"public class Child extends Parent\n" +"{\n" +"\tvoid Print()\n" +"\t{\n" +"\t\tmessage(field);\n" +"\t}\n" +"}\n" +"\n" +"extern void object::Test()\n" +"{\n" +"\tChild child();\n" +"\tchild.Print(); // 0\n" +"\t//child.field = 1; // Error!\n" +"}" +msgstr "" + +#. type: Plain text +#: ../E/private.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Private members are not accessible outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/private.txt:20 +#, no-wrap +msgid "" +"class, public, protected\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:34 +#, no-wrap +msgid "public is also an access modifier for class members, which is the default one. Public members can be accessed from outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:50 +#, no-wrap +msgid "" +"class, private, protected, functions\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:27 +#, no-wrap +msgid "" +"class, public, private, extends\n" +"Programming, types and categories." +msgstr "" diff --git a/help/cbot/po/de.po b/help/cbot/po/de.po index c5c86b14..ac8d2165 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:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/produce.txt:30 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:19 ../E/produce.txt:30 ../E/protected.txt:26 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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" @@ -2934,14 +2934,8 @@ msgstr "" msgid "Instruction private (for specialists)" msgstr "Anweisung private (für Spezialisten)" -#. type: Plain text -#: ../E/private.txt:2 -#, no-wrap -msgid "Class members can be public (by default) or private. A member can be declared private by putting private before the type declaration of the member. Private members are not accessible from outside the class definition." -msgstr "Mitglieder einer Klasse können public (= öffentlich, Standardwert) oder privat sein. Um ein Mitglied als privat zu deklarieren, schreiben Sie private vor der Deklaration der Mitglieds. Private Mitglieder sind von außerhalb der Klassendefinition nicht sichtbar." - #. type: Source code -#: ../E/private.txt:4 +#: ../E/private.txt:6 #, no-wrap msgid "" "public class MyClass\n" @@ -2970,16 +2964,6 @@ msgstr "" "\tmessage( item.position ); // dies ist ein Fehler\n" "}" -#. type: Plain text -#: ../E/private.txt:18 -#, no-wrap -msgid "" -"class, public\n" -"Programming, types and categories." -msgstr "" -"Klassen, public.\n" -"Die CBOT-Sprache, Variablentypen und Kategorien." - #. type: \b; header #: ../E/public.txt:1 #, no-wrap @@ -3084,12 +3068,6 @@ msgstr "Wenn ein Roboter mit einer als public deklarierten Funktion msgid "Instruction public for classes" msgstr "Anweisung public für Variablen" -#. type: Plain text -#: ../E/public.txt:34 -#, no-wrap -msgid "Class members can be public (by default) or privat. A member can be declared private by putting private before the member type. Private members are not accessible from outside the class definition." -msgstr "Glieder von Klassen können als public (Standard) oder privat deklariert werden. Private Glieder sind von außerhalb der Klassendefinition nicht sichtbar." - #. type: Source code #: ../E/public.txt:36 #, no-wrap @@ -3120,16 +3098,6 @@ msgstr "" "\tmessage( item.position ); // dies ist ein Fehler\n" "}" -#. type: Plain text -#: ../E/public.txt:50 -#, no-wrap -msgid "" -"class, private, functions\n" -"Programming, types and categories." -msgstr "" -"Klassen, private, Funktionen\n" -"Die CBOT-Sprache, Variablentypen und Kategorien." - #. type: \b; header #: ../E/radar.txt:1 #, no-wrap @@ -7876,7 +7844,7 @@ msgid "Firstly, the condition is valued and then the first result is returned if msgstr "" #. type: \t; header -#: ../E/expr.txt:157 +#: ../E/expr.txt:157 ../E/private.txt:4 ../E/protected.txt:4 #, no-wrap msgid "Example" msgstr "" @@ -8397,3 +8365,76 @@ msgid "" "public, private, protected, static, synchronized, new, reference, this, super, extends\n" "Programming, types and categories." msgstr "" + +#. type: \b; header +#: ../E/protected.txt:1 +#, no-wrap +msgid "Keyword protected" +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Protected class members can be accessed in a child class, but they can't be accessed outside of classes definitions being part of the same inheritance tree (see the extends keyword)." +msgstr "" + +#. type: Source code +#: ../E/protected.txt:6 +#, no-wrap +msgid "" +"public class Parent\n" +"{\n" +"\tprotected int field = 0;\n" +"}\n" +"\n" +"public class Child extends Parent\n" +"{\n" +"\tvoid Print()\n" +"\t{\n" +"\t\tmessage(field);\n" +"\t}\n" +"}\n" +"\n" +"extern void object::Test()\n" +"{\n" +"\tChild child();\n" +"\tchild.Print(); // 0\n" +"\t//child.field = 1; // Error!\n" +"}" +msgstr "" + +#. type: Plain text +#: ../E/private.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Private members are not accessible outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/private.txt:20 +#, no-wrap +msgid "" +"class, public, protected\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:34 +#, no-wrap +msgid "public is also an access modifier for class members, which is the default one. Public members can be accessed from outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:50 +#, no-wrap +msgid "" +"class, private, protected, functions\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:27 +#, no-wrap +msgid "" +"class, public, private, extends\n" +"Programming, types and categories." +msgstr "" diff --git a/help/cbot/po/fr.po b/help/cbot/po/fr.po index c0f7990a..3e8ac675 100644 --- a/help/cbot/po/fr.po +++ b/help/cbot/po/fr.po @@ -52,7 +52,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:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/produce.txt:30 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:19 ../E/produce.txt:30 ../E/protected.txt:26 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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" @@ -2974,14 +2974,8 @@ msgstr "Programmation, types et ca msgid "Instruction private (for specialists)" msgstr "Instruction private (pour spécialistes)" -#. type: Plain text -#: ../E/private.txt:2 -#, no-wrap -msgid "Class members can be public (by default) or private. A member can be declared private by putting private 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 classe peuvent être publics (par défaut) ou privés. Un élément est privé en plaçant private 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 -#: ../E/private.txt:4 +#: ../E/private.txt:6 #, no-wrap msgid "" "public class MyClass\n" @@ -3010,16 +3004,6 @@ msgstr "" "\tmessage( item.position ); // erreur élément non accessible\n" "}" -#. type: Plain text -#: ../E/private.txt:18 -#, no-wrap -msgid "" -"class, public\n" -"Programming, types and categories." -msgstr "" -"class, public\n" -"Programmation, types et catégories." - #. type: \b; header #: ../E/public.txt:1 #, no-wrap @@ -3124,12 +3108,6 @@ msgstr "Si le robot qui contenait la fonction déclarée public est msgid "Instruction public for classes" msgstr "Instruction public pour les classes" -#. type: Plain text -#: ../E/public.txt:34 -#, no-wrap -msgid "Class members can be public (by default) or privat. A member can be declared private by putting private before the member type. Private members are not accessible from outside the class definition." -msgstr "Les éléments déclarés dans une classe peuvent être publics (par défaut) ou privés. Un élément est privé en plaçant private 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 #: ../E/public.txt:36 #, no-wrap @@ -3160,16 +3138,6 @@ msgstr "" "\tmessage( item.position ); // erreur\n" "}" -#. type: Plain text -#: ../E/public.txt:50 -#, no-wrap -msgid "" -"class, private, functions\n" -"Programming, types and categories." -msgstr "" -"class, private\n" -"Programmation, types et catégories." - #. type: \b; header #: ../E/radar.txt:1 #, no-wrap @@ -7868,7 +7836,7 @@ msgid "Firstly, the condition is valued and then the first result is returned if msgstr "" #. type: \t; header -#: ../E/expr.txt:157 +#: ../E/expr.txt:157 ../E/private.txt:4 ../E/protected.txt:4 #, no-wrap msgid "Example" msgstr "" @@ -8396,3 +8364,76 @@ msgid "" "public, private, protected, static, synchronized, new, reference, this, super, extends\n" "Programming, types and categories." msgstr "" + +#. type: \b; header +#: ../E/protected.txt:1 +#, no-wrap +msgid "Keyword protected" +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Protected class members can be accessed in a child class, but they can't be accessed outside of classes definitions being part of the same inheritance tree (see the extends keyword)." +msgstr "" + +#. type: Source code +#: ../E/protected.txt:6 +#, no-wrap +msgid "" +"public class Parent\n" +"{\n" +"\tprotected int field = 0;\n" +"}\n" +"\n" +"public class Child extends Parent\n" +"{\n" +"\tvoid Print()\n" +"\t{\n" +"\t\tmessage(field);\n" +"\t}\n" +"}\n" +"\n" +"extern void object::Test()\n" +"{\n" +"\tChild child();\n" +"\tchild.Print(); // 0\n" +"\t//child.field = 1; // Error!\n" +"}" +msgstr "" + +#. type: Plain text +#: ../E/private.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Private members are not accessible outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/private.txt:20 +#, no-wrap +msgid "" +"class, public, protected\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:34 +#, no-wrap +msgid "public is also an access modifier for class members, which is the default one. Public members can be accessed from outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:50 +#, no-wrap +msgid "" +"class, private, protected, functions\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:27 +#, no-wrap +msgid "" +"class, public, private, extends\n" +"Programming, types and categories." +msgstr "" diff --git a/help/cbot/po/pl.po b/help/cbot/po/pl.po index b19de07c..e60820d2 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:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/produce.txt:30 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:19 ../E/produce.txt:30 ../E/protected.txt:26 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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ż" @@ -2980,14 +2980,8 @@ msgstr "" msgid "Instruction private (for specialists)" msgstr "Instrukcja private (dla specjalistów)" -#. type: Plain text -#: ../E/private.txt:2 -#, no-wrap -msgid "Class members can be public (by default) or private. A member can be declared private by putting private before the type declaration of the member. Private members are not accessible from outside the class definition." -msgstr "Elementy klasy mogą być publiczne (domyślnie) lub prywatne. Aby zadeklarować element jako prywatny, należy umieścić instrukcję private przed deklaracją jego typu. Elementy prywatne nie są widoczne poza definicją klasy." - #. type: Source code -#: ../E/private.txt:4 +#: ../E/private.txt:6 #, no-wrap msgid "" "public class MyClass\n" @@ -3016,16 +3010,6 @@ msgstr "" "\tmessage( item.position ); // powoduje błąd\n" "}" -#. type: Plain text -#: ../E/private.txt:18 -#, no-wrap -msgid "" -"class, public\n" -"Programming, types and categories." -msgstr "" -"class, public\n" -"Programowanie, typy i kategorie." - #. type: \b; header #: ../E/public.txt:1 #, no-wrap @@ -3130,12 +3114,6 @@ msgstr "Jeśli robot zawierający funkcję zadeklarowaną jako publicpublic for classes" msgstr "Instrukcja public dla klas" -#. type: Plain text -#: ../E/public.txt:34 -#, no-wrap -msgid "Class members can be public (by default) or privat. A member can be declared private by putting private before the member type. Private members are not accessible from outside the class definition." -msgstr "Elementy klasy mogą być publiczne (domyślnie) lub prywatne. Aby zadeklarować element jako prywatny, należy umieścić instrukcję private przed deklaracją jego typu. Elementy prywatne nie są dostępne poza definicją klasy." - #. type: Source code #: ../E/public.txt:36 #, no-wrap @@ -3166,16 +3144,6 @@ msgstr "" "\tmessage( item.position ); // powoduje błąd\n" "}" -#. type: Plain text -#: ../E/public.txt:50 -#, no-wrap -msgid "" -"class, private, functions\n" -"Programming, types and categories." -msgstr "" -"class, private, funkcje\n" -"Programowanie, typy i kategorie." - #. type: \b; header #: ../E/radar.txt:1 #, no-wrap @@ -8042,7 +8010,7 @@ msgid "Firstly, the condition is valued and then the first result is returned if msgstr "" #. type: \t; header -#: ../E/expr.txt:157 +#: ../E/expr.txt:157 ../E/private.txt:4 ../E/protected.txt:4 #, no-wrap msgid "Example" msgstr "" @@ -8563,3 +8531,76 @@ msgid "" "public, private, protected, static, synchronized, new, reference, this, super, extends\n" "Programming, types and categories." msgstr "" + +#. type: \b; header +#: ../E/protected.txt:1 +#, no-wrap +msgid "Keyword protected" +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Protected class members can be accessed in a child class, but they can't be accessed outside of classes definitions being part of the same inheritance tree (see the extends keyword)." +msgstr "" + +#. type: Source code +#: ../E/protected.txt:6 +#, no-wrap +msgid "" +"public class Parent\n" +"{\n" +"\tprotected int field = 0;\n" +"}\n" +"\n" +"public class Child extends Parent\n" +"{\n" +"\tvoid Print()\n" +"\t{\n" +"\t\tmessage(field);\n" +"\t}\n" +"}\n" +"\n" +"extern void object::Test()\n" +"{\n" +"\tChild child();\n" +"\tchild.Print(); // 0\n" +"\t//child.field = 1; // Error!\n" +"}" +msgstr "" + +#. type: Plain text +#: ../E/private.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Private members are not accessible outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/private.txt:20 +#, no-wrap +msgid "" +"class, public, protected\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:34 +#, no-wrap +msgid "public is also an access modifier for class members, which is the default one. Public members can be accessed from outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:50 +#, no-wrap +msgid "" +"class, private, protected, functions\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:27 +#, no-wrap +msgid "" +"class, public, private, extends\n" +"Programming, types and categories." +msgstr "" diff --git a/help/cbot/po/ru.po b/help/cbot/po/ru.po index 9fa387c6..e714373c 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:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:17 ../E/produce.txt:30 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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 +#: ../E/abstime.txt:10 ../E/acos.txt:11 ../E/aim.txt:23 ../E/array.txt:41 ../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/busy.txt:14 ../E/canbuild.txt:22 ../E/canresearch.txt:14 ../E/category.txt:109 ../E/ceil.txt:12 ../E/class.txt:120 ../E/close.txt:6 ../E/cond.txt:4 ../E/continue.txt:24 ../E/cos.txt:11 ../E/deletef.txt:9 ../E/delinfo.txt:13 ../E/destroy.txt:15 ../E/detect.txt:27 ../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:197 ../E/extern.txt:29 ../E/factory.txt:21 ../E/false.txt:4 ../E/file.txt:16 ../E/fire.txt:30 ../E/flatgrnd.txt:16 ../E/flatspace.txt:25 ../E/float.txt:24 ../E/floor.txt:12 ../E/for.txt:51 ../E/function.txt:129 ../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:79 ../E/open.txt:18 ../E/openfile.txt:10 ../E/pencolor.txt:14 ../E/pendown.txt:17 ../E/penup.txt:11 ../E/penwidth.txt:14 ../E/point.txt:35 ../E/pointer.txt:51 ../E/pow.txt:14 ../E/private.txt:19 ../E/produce.txt:30 ../E/protected.txt:26 ../E/public.txt:49 ../E/radar.txt:80 ../E/radarall.txt:19 ../E/rand.txt:8 ../E/readln.txt:18 ../E/receive.txt:16 ../E/recycle.txt:12 ../E/research.txt:18 ../E/researched.txt:14 ../E/researches.txt:27 ../E/retobj.txt:13 ../E/return.txt:29 ../E/round.txt:12 ../E/search.txt:25 ../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/switch.txt:70 ../E/synchro.txt:23 ../E/takeoff.txt:15 ../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 "См. также" @@ -2967,14 +2967,8 @@ msgstr "" msgid "Instruction private (for specialists)" msgstr "Инструкция private (for specialists)" -#. type: Plain text -#: ../E/private.txt:2 -#, no-wrap -msgid "Class members can be public (by default) or private. A member can be declared private by putting private before the type declaration of the member. Private members are not accessible from outside the class definition." -msgstr "Члены класса могут быть общедоступны (по-умолчанию) или личными. Член может быть объявлен частным, если поставить private до объявления элемента. Личные(локальные) члены не доступны извне для других классов." - #. type: Source code -#: ../E/private.txt:4 +#: ../E/private.txt:6 #, no-wrap msgid "" "public class MyClass\n" @@ -3003,16 +2997,6 @@ msgstr "" "\tmessage( item.position ); // это ошибка\n" "}" -#. type: Plain text -#: ../E/private.txt:18 -#, no-wrap -msgid "" -"class, public\n" -"Programming, types and categories." -msgstr "" -"class, public\n" -"Программирование, типы и категории." - #. type: \b; header #: ../E/public.txt:1 #, no-wrap @@ -3117,12 +3101,6 @@ msgstr "Если бот, содержащий общедоступнуюpublic for classes" msgstr "Инструкция public для классов" -#. type: Plain text -#: ../E/public.txt:34 -#, no-wrap -msgid "Class members can be public (by default) or privat. A member can be declared private by putting private before the member type. Private members are not accessible from outside the class definition." -msgstr "Член класса может быть общедоступен (по-умолчанию) или быть личным. Член может быть объявлен локальным с помощью private, написав это перед самим членом. Закрытые члены будут недоступны извне для других классов." - #. type: Source code #: ../E/public.txt:36 #, no-wrap @@ -3153,16 +3131,6 @@ msgstr "" "\tmessage( item.position ); // это ошибка\n" "}" -#. type: Plain text -#: ../E/public.txt:50 -#, no-wrap -msgid "" -"class, private, functions\n" -"Programming, types and categories." -msgstr "" -"class, private, functions\n" -"Программирование, типы и категории." - #. type: \b; header #: ../E/radar.txt:1 #, no-wrap @@ -7855,7 +7823,7 @@ msgid "Firstly, the condition is valued and then the first result is returned if msgstr "" #. type: \t; header -#: ../E/expr.txt:157 +#: ../E/expr.txt:157 ../E/private.txt:4 ../E/protected.txt:4 #, no-wrap msgid "Example" msgstr "" @@ -8376,3 +8344,76 @@ msgid "" "public, private, protected, static, synchronized, new, reference, this, super, extends\n" "Programming, types and categories." msgstr "" + +#. type: \b; header +#: ../E/protected.txt:1 +#, no-wrap +msgid "Keyword protected" +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Protected class members can be accessed in a child class, but they can't be accessed outside of classes definitions being part of the same inheritance tree (see the extends keyword)." +msgstr "" + +#. type: Source code +#: ../E/protected.txt:6 +#, no-wrap +msgid "" +"public class Parent\n" +"{\n" +"\tprotected int field = 0;\n" +"}\n" +"\n" +"public class Child extends Parent\n" +"{\n" +"\tvoid Print()\n" +"\t{\n" +"\t\tmessage(field);\n" +"\t}\n" +"}\n" +"\n" +"extern void object::Test()\n" +"{\n" +"\tChild child();\n" +"\tchild.Print(); // 0\n" +"\t//child.field = 1; // Error!\n" +"}" +msgstr "" + +#. type: Plain text +#: ../E/private.txt:2 +#, no-wrap +msgid "This is an access modifier for class members. Private members are not accessible outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/private.txt:20 +#, no-wrap +msgid "" +"class, public, protected\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:34 +#, no-wrap +msgid "public is also an access modifier for class members, which is the default one. Public members can be accessed from outside of the class definition." +msgstr "" + +#. type: Plain text +#: ../E/public.txt:50 +#, no-wrap +msgid "" +"class, private, protected, functions\n" +"Programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/protected.txt:27 +#, no-wrap +msgid "" +"class, public, private, extends\n" +"Programming, types and categories." +msgstr "" diff --git a/help/generic/E/cbot.txt b/help/generic/E/cbot.txt index 509dcba6..43862a9c 100644 --- a/help/generic/E/cbot.txt +++ b/help/generic/E/cbot.txt @@ -84,8 +84,9 @@ Constants like \l;categories\u cbot\category; are displayed like that: \const;co \t;Specific instructions for classes: \c;\l;class\u cbot\class; \n;Class declararion -\c;\l;public\u cbot\public; \n;Declares a public function +\c;\l;public\u cbot\public; \n;Declares a public class member \c;\l;private\u cbot\private; \n;Declares a private class member +\c;\l;protected\u cbot\protected; \n;Declares a protected class member \c;\l;static\u cbot\static; \n;Declares a static class member \c;\l;synchronized\u cbot\synchro; \n;Prevents simultaneous execution \c;\l;new\u cbot\new; \n;Creates a new instance diff --git a/help/generic/po/de.po b/help/generic/po/de.po index 27ebced9..430fae28 100644 --- a/help/generic/po/de.po +++ b/help/generic/po/de.po @@ -124,34 +124,14 @@ msgstr "" msgid "Specific instructions for classes:" msgstr "Befehle für die Verwaltung von Klassen:" -#. type: Plain text -#: ../E/cbot.txt:86 -#, no-wrap -msgid "" -"class Class declararion\n" -"public Declares a public function\n" -"private Declares a private class member\n" -"static Declares a static class member\n" -"synchronized Prevents simultaneous execution\n" -"new Creates a new instance\n" -"this Reference to the current instance" -msgstr "" -"class Deklaration einer Klasse\n" -"public Deklaration einer öffentliche Funktion\n" -"private Deklaration eines privaten Gliedes\n" -"static Deklaration eines statischen Gliedes\n" -"synchronized Verhindert gleichzeitige Ausführung\n" -"new Erstellt eine neue Instanz\n" -"this Bezieht sich auf die laufende Instanz" - #. type: \t; header -#: ../E/cbot.txt:94 +#: ../E/cbot.txt:95 #, no-wrap msgid "Specific instructions for strings:" msgstr "Befehle für die Verarbeitung von Strings (Zeichenketten):" #. type: Plain text -#: ../E/cbot.txt:95 +#: ../E/cbot.txt:96 #, no-wrap msgid "" "strlen Gets string length\n" @@ -173,13 +153,13 @@ msgstr "" "strlower Umwandlung in Kleinbuchstaben" #. type: \t; header -#: ../E/cbot.txt:104 +#: ../E/cbot.txt:105 #, no-wrap msgid "Specific instructions for files:" msgstr "Befehle für die Dateiverwaltung:" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:106 #, no-wrap msgid "" "open Opens a file\n" @@ -197,13 +177,13 @@ msgstr "" "deletefile Löscht eine Datei" #. type: \t; header -#: ../E/battles.txt:53 ../E/cbot.txt:128 ../E/freehelp.txt:4 +#: ../E/battles.txt:53 ../E/cbot.txt:129 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "Siehe auch" #. type: Plain text -#: ../E/cbot.txt:129 +#: ../E/cbot.txt:130 #, no-wrap msgid "Types and categories." msgstr "Variablentypen und Kategorien." @@ -680,13 +660,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:112 +#: ../E/cbot.txt:113 #, no-wrap msgid "Mathematical functions:" msgstr "" #. type: Plain text -#: ../E/cbot.txt:113 +#: ../E/cbot.txt:114 #, no-wrap msgid "" "rand Returns a random value\n" @@ -1094,3 +1074,17 @@ msgid "" "canresearch Checks if a technology can be researched\n" "researched Checks if a technology is researched" msgstr "" + +#. type: Plain text +#: ../E/cbot.txt:86 +#, no-wrap +msgid "" +"class Class declararion\n" +"public Declares a public class member\n" +"private Declares a private class member\n" +"protected Declares a protected class member\n" +"static Declares a static class member\n" +"synchronized Prevents simultaneous execution\n" +"new Creates a new instance\n" +"this Reference to the current instance" +msgstr "" diff --git a/help/generic/po/fr.po b/help/generic/po/fr.po index f3878a1a..b51e6a7a 100644 --- a/help/generic/po/fr.po +++ b/help/generic/po/fr.po @@ -135,34 +135,14 @@ msgstr "" msgid "Specific instructions for classes:" msgstr "Instructions pour les classes:" -#. type: Plain text -#: ../E/cbot.txt:86 -#, no-wrap -msgid "" -"class Class declararion\n" -"public Declares a public function\n" -"private Declares a private class member\n" -"static Declares a static class member\n" -"synchronized Prevents simultaneous execution\n" -"new Creates a new instance\n" -"this Reference to the current instance" -msgstr "" -"class Déclaration d'une classe\n" -"public Indique une fonction publique\n" -"private Indique un champ privée dans une classe\n" -"static Indique un champ statique dans une classe\n" -"synchronized Empêche l'exécution simultanée\n" -"new Crée une nouvelle instance\n" -"this Référence l'instance courante" - #. type: \t; header -#: ../E/cbot.txt:94 +#: ../E/cbot.txt:95 #, no-wrap msgid "Specific instructions for strings:" msgstr "Instructions pour les chaînes de caractères:" #. type: Plain text -#: ../E/cbot.txt:95 +#: ../E/cbot.txt:96 #, no-wrap msgid "" "strlen Gets string length\n" @@ -184,13 +164,13 @@ msgstr "" "strlower Convertit en minuscules." #. type: \t; header -#: ../E/cbot.txt:104 +#: ../E/cbot.txt:105 #, no-wrap msgid "Specific instructions for files:" msgstr "Instructions pour les fichiers:" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:106 #, no-wrap msgid "" "open Opens a file\n" @@ -208,13 +188,13 @@ msgstr "" "deletefile Supprime un fichier" #. type: \t; header -#: ../E/battles.txt:53 ../E/cbot.txt:128 ../E/freehelp.txt:4 +#: ../E/battles.txt:53 ../E/cbot.txt:129 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "Voir aussi" #. type: Plain text -#: ../E/cbot.txt:129 +#: ../E/cbot.txt:130 #, no-wrap msgid "Types and categories." msgstr "Types et catégories." @@ -692,13 +672,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:112 +#: ../E/cbot.txt:113 #, no-wrap msgid "Mathematical functions:" msgstr "Fonctions mathématiques:" #. type: Plain text -#: ../E/cbot.txt:113 +#: ../E/cbot.txt:114 #, no-wrap msgid "" "rand Returns a random value\n" @@ -1108,3 +1088,17 @@ msgid "" "canresearch Checks if a technology can be researched\n" "researched Checks if a technology is researched" msgstr "" + +#. type: Plain text +#: ../E/cbot.txt:86 +#, no-wrap +msgid "" +"class Class declararion\n" +"public Declares a public class member\n" +"private Declares a private class member\n" +"protected Declares a protected class member\n" +"static Declares a static class member\n" +"synchronized Prevents simultaneous execution\n" +"new Creates a new instance\n" +"this Reference to the current instance" +msgstr "" diff --git a/help/generic/po/generic.pot b/help/generic/po/generic.pot index 92a6f6d3..042b9574 100644 --- a/help/generic/po/generic.pot +++ b/help/generic/po/generic.pot @@ -118,27 +118,14 @@ msgstr "" msgid "Specific instructions for classes:" msgstr "" -#. type: Plain text -#: ../E/cbot.txt:86 -#, no-wrap -msgid "" -"class Class declararion\n" -"public Declares a public function\n" -"private Declares a private class member\n" -"static Declares a static class member\n" -"synchronized Prevents simultaneous execution\n" -"new Creates a new instance\n" -"this Reference to the current instance" -msgstr "" - #. type: \t; header -#: ../E/cbot.txt:94 +#: ../E/cbot.txt:95 #, no-wrap msgid "Specific instructions for strings:" msgstr "" #. type: Plain text -#: ../E/cbot.txt:95 +#: ../E/cbot.txt:96 #, no-wrap msgid "" "strlen Gets string length\n" @@ -152,13 +139,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:104 +#: ../E/cbot.txt:105 #, no-wrap msgid "Specific instructions for files:" msgstr "" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:106 #, no-wrap msgid "" "open Opens a file\n" @@ -170,13 +157,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/battles.txt:53 ../E/cbot.txt:128 ../E/freehelp.txt:4 +#: ../E/battles.txt:53 ../E/cbot.txt:129 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "" #. type: Plain text -#: ../E/cbot.txt:129 +#: ../E/cbot.txt:130 #, no-wrap msgid "Types and categories." msgstr "" @@ -615,13 +602,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:112 +#: ../E/cbot.txt:113 #, no-wrap msgid "Mathematical functions:" msgstr "" #. type: Plain text -#: ../E/cbot.txt:113 +#: ../E/cbot.txt:114 #, no-wrap msgid "" "rand Returns a random value\n" @@ -1029,3 +1016,17 @@ msgid "" "canresearch Checks if a technology can be researched\n" "researched Checks if a technology is researched" msgstr "" + +#. type: Plain text +#: ../E/cbot.txt:86 +#, no-wrap +msgid "" +"class Class declararion\n" +"public Declares a public class member\n" +"private Declares a private class member\n" +"protected Declares a protected class member\n" +"static Declares a static class member\n" +"synchronized Prevents simultaneous execution\n" +"new Creates a new instance\n" +"this Reference to the current instance" +msgstr "" diff --git a/help/generic/po/pl.po b/help/generic/po/pl.po index ccc0395c..25c49dd8 100644 --- a/help/generic/po/pl.po +++ b/help/generic/po/pl.po @@ -138,34 +138,14 @@ msgstr "" msgid "Specific instructions for classes:" msgstr "Instrukcje specyficzne dla klas:" -#. type: Plain text -#: ../E/cbot.txt:86 -#, no-wrap -msgid "" -"class Class declararion\n" -"public Declares a public function\n" -"private Declares a private class member\n" -"static Declares a static class member\n" -"synchronized Prevents simultaneous execution\n" -"new Creates a new instance\n" -"this Reference to the current instance" -msgstr "" -"class Deklaracja klasy\n" -"public Deklaracja funkcji publicznej\n" -"private Deklaracja prywatnego elementu klasy\n" -"static Deklaracja statycznego elementu klasy\n" -"synchronized Zapobiega jednoczesnemu wykonywaniu\n" -"new Tworzy nową instancję\n" -"this Odwołanie do bieżącej instancji" - #. type: \t; header -#: ../E/cbot.txt:94 +#: ../E/cbot.txt:95 #, no-wrap msgid "Specific instructions for strings:" msgstr "Instrukcje specyficzne dla łańcuchów:" #. type: Plain text -#: ../E/cbot.txt:95 +#: ../E/cbot.txt:96 #, no-wrap msgid "" "strlen Gets string length\n" @@ -187,13 +167,13 @@ msgstr "" "strlower Zamienia litery na małe" #. type: \t; header -#: ../E/cbot.txt:104 +#: ../E/cbot.txt:105 #, no-wrap msgid "Specific instructions for files:" msgstr "Instrukcje specyficzne dla plików:" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:106 #, no-wrap msgid "" "open Opens a file\n" @@ -211,13 +191,13 @@ msgstr "" "deletefile Usuwa plik" #. type: \t; header -#: ../E/battles.txt:53 ../E/cbot.txt:128 ../E/freehelp.txt:4 +#: ../E/battles.txt:53 ../E/cbot.txt:129 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "Zobacz również" #. type: Plain text -#: ../E/cbot.txt:129 +#: ../E/cbot.txt:130 #, no-wrap msgid "Types and categories." msgstr "Typy i kategorie." @@ -729,13 +709,13 @@ msgstr "" "busy Sprawdza czy obiekt jest zajęty" #. type: \t; header -#: ../E/cbot.txt:112 +#: ../E/cbot.txt:113 #, no-wrap msgid "Mathematical functions:" msgstr "Funkcje matematyczne:" #. type: Plain text -#: ../E/cbot.txt:113 +#: ../E/cbot.txt:114 #, no-wrap msgid "" "rand Returns a random value\n" @@ -1187,3 +1167,17 @@ msgstr "" "penwidth Zmiana grubości pióra\n" "canresearch Sprawdza czy można przeprowadzić badanie\n" "researched Sprawdza czy przeprowadzono badanie" + +#. type: Plain text +#: ../E/cbot.txt:86 +#, no-wrap +msgid "" +"class Class declararion\n" +"public Declares a public class member\n" +"private Declares a private class member\n" +"protected Declares a protected class member\n" +"static Declares a static class member\n" +"synchronized Prevents simultaneous execution\n" +"new Creates a new instance\n" +"this Reference to the current instance" +msgstr "" diff --git a/help/generic/po/ru.po b/help/generic/po/ru.po index c7956385..7676246a 100644 --- a/help/generic/po/ru.po +++ b/help/generic/po/ru.po @@ -130,27 +130,14 @@ msgstr "" msgid "Specific instructions for classes:" msgstr "" -#. type: Plain text -#: ../E/cbot.txt:86 -#, no-wrap -msgid "" -"class Class declararion\n" -"public Declares a public function\n" -"private Declares a private class member\n" -"static Declares a static class member\n" -"synchronized Prevents simultaneous execution\n" -"new Creates a new instance\n" -"this Reference to the current instance" -msgstr "" - #. type: \t; header -#: ../E/cbot.txt:94 +#: ../E/cbot.txt:95 #, no-wrap msgid "Specific instructions for strings:" msgstr "" #. type: Plain text -#: ../E/cbot.txt:95 +#: ../E/cbot.txt:96 #, no-wrap msgid "" "strlen Gets string length\n" @@ -164,13 +151,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:104 +#: ../E/cbot.txt:105 #, no-wrap msgid "Specific instructions for files:" msgstr "" #. type: Plain text -#: ../E/cbot.txt:105 +#: ../E/cbot.txt:106 #, no-wrap msgid "" "open Opens a file\n" @@ -182,13 +169,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/battles.txt:53 ../E/cbot.txt:128 ../E/freehelp.txt:4 +#: ../E/battles.txt:53 ../E/cbot.txt:129 ../E/freehelp.txt:4 #, no-wrap msgid "See also" msgstr "См. также" #. type: Plain text -#: ../E/cbot.txt:129 +#: ../E/cbot.txt:130 #, no-wrap msgid "Types and categories." msgstr "" @@ -653,13 +640,13 @@ msgid "" msgstr "" #. type: \t; header -#: ../E/cbot.txt:112 +#: ../E/cbot.txt:113 #, no-wrap msgid "Mathematical functions:" msgstr "" #. type: Plain text -#: ../E/cbot.txt:113 +#: ../E/cbot.txt:114 #, no-wrap msgid "" "rand Returns a random value\n" @@ -1067,3 +1054,17 @@ msgid "" "canresearch Checks if a technology can be researched\n" "researched Checks if a technology is researched" msgstr "" + +#. type: Plain text +#: ../E/cbot.txt:86 +#, no-wrap +msgid "" +"class Class declararion\n" +"public Declares a public class member\n" +"private Declares a private class member\n" +"protected Declares a protected class member\n" +"static Declares a static class member\n" +"synchronized Prevents simultaneous execution\n" +"new Creates a new instance\n" +"this Reference to the current instance" +msgstr ""