From e2a11a47031f0b8b8c5bc6aa71dca3ab283b143b Mon Sep 17 00:00:00 2001 From: krzys-h Date: Thu, 13 Aug 2015 11:51:29 +0200 Subject: [PATCH] Recovered all lost translations --- help/cbot/po/cbot.pot | 2482 +++++++++++++++++----------------- help/cbot/po/de.po | 2497 +++++++++++++++++----------------- help/cbot/po/fr.po | 2497 +++++++++++++++++----------------- help/cbot/po/pl.po | 2499 ++++++++++++++++++----------------- help/cbot/po/ru.po | 2497 +++++++++++++++++----------------- help/generic/po/de.po | 218 +-- help/generic/po/fr.po | 218 +-- help/generic/po/generic.pot | 218 +-- help/generic/po/pl.po | 218 +-- help/generic/po/ru.po | 218 +-- 10 files changed, 6808 insertions(+), 6754 deletions(-) diff --git a/help/cbot/po/cbot.pot b/help/cbot/po/cbot.pot index 9eae49f9..73fa2c63 100644 --- a/help/cbot/po/cbot.pot +++ b/help/cbot/po/cbot.pot @@ -3053,24 +3053,141 @@ msgid "" "Programming, types and categories." msgstr "" +#. type: \b; header +#: ../E/radar.txt:1 +#, no-wrap +msgid "Instruction radar" +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:2 +#, no-wrap +msgid "With the instruction radar(), you can look for objects like enemies, bots, buildings or raw materials." +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:5 +#, no-wrap +msgid "Write in brackets the name of the object that you look for. Put the result in a variable of the type object. Here is an example that looks for the closest ant:" +msgstr "" + +#. type: Source code +#: ../E/radar.txt:7 +#, no-wrap +msgid "" +"// At the beginning of the program:\n" +"object item; // variable declaration\n" +"\n" +"// Look for the closest ant\n" +"item = radar(AlienAnt);" +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:17 +#, no-wrap +msgid "Detects an object according to several parameters. " +msgstr "" + +#. type: Image filename +#: ../E/radar.txt:19 +#, no-wrap +msgid "radar1" +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:20 +#, no-wrap +msgid "Seen from above, the purple zone corresponds to the zone where objects will be detected. " +msgstr "" + #. type: \t; header #: ../E/search.txt:7 #, no-wrap msgid "category: int" msgstr "" +#. type: Plain text +#: ../E/radar.txt:34 +#, no-wrap +msgid "" +"Direction that the radar is facing, in degrees. \n" +" 0 -> radar is facing straight ahead\n" +"-90 -> radar is facing a quarter turn right\n" +" 90 -> radar is facing a quarter turn left" +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:40 +#, no-wrap +msgid "Opening angle of the radar, in degrees. " +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:43 +#, no-wrap +msgid "Minimum detection distance, in meters. Objects that are closer than the minimum distance will not be detected. " +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:46 +#, no-wrap +msgid "Maximum detection distance, in meters. Objects that are farther away than the maximum distance will not be detected. " +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:49 +#, no-wrap +msgid "Determines which way the objects are detected. With value 1, returns the closest object found in the specified zone. With value -1, the farthest object in the zone will be returned. " +msgstr "" + #. type: \t; header #: ../E/radar.txt:65 ../E/retobj.txt:10 ../E/search.txt:22 #, no-wrap msgid "Return value: object" msgstr "" +#. type: Plain text +#: ../E/radar.txt:66 +#, no-wrap +msgid "Returns the first object found that corresponds to the specified category in the specified zone. If no object was found, returns the value null." +msgstr "" + #. type: \t; header #: ../E/cond.txt:21 ../E/radar.txt:68 #, no-wrap msgid "Remark" msgstr "" +#. type: Plain text +#: ../E/radar.txt:69 +#, no-wrap +msgid "You do not have to give all the parameters. Here are two examples of instructions that are equivalent: " +msgstr "" + +#. type: Source code +#: ../E/radar.txt:71 +#, no-wrap +msgid "" +"\tradar(Titanium, 0, 360, 0, 1000);\n" +"\tradar(Titanium); // equivalent" +msgstr "" + +#. type: Source code +#: ../E/radar.txt:74 +#, no-wrap +msgid "" +"\tradar(Titanium, 0, 90, 0, 1000);\n" +"\tradar(Titanium, 0, 90); // equivalent" +msgstr "" + +#. type: Plain text +#: ../E/radar.txt:77 +#, no-wrap +msgid "" +"When one or more parameters are not specified, the default values indicated above are used instead; only the first parameter is compulsory.\n" +"Generally, only the first parameter is specified: f. ex. radar (AlienAnt) detects the closest ant, wherever it may be. " +msgstr "" + #. type: \b; header #: ../E/readln.txt:1 #, no-wrap @@ -5055,122 +5172,6 @@ msgstr "" msgid "The most frequent use of while consists in repeating a set of instructions again and again. In order to achieve this, write while (true) {} and put the instructions to be repeated in braces {}. As an example, here is a program that repeats again and again the following actions:" msgstr "" -#. type: Plain text -#: ../E/for.txt:19 -#, no-wrap -msgid "" -"Example: count from 1 to 4\n" -"for ( i = 1 ; i <= 4 ; i++ )" -msgstr "" - -#. type: Source code -#: ../E/build.txt:15 -#, no-wrap -msgid "build ( cat );" -msgstr "" - -#. type: Plain text -#: ../E/build.txt:17 -#, no-wrap -msgid "Tells the robot to build a building using a titanium cube placed on a flat ground nearby." -msgstr "" - -#. type: \t; header -#: ../E/build.txt:19 ../E/buildingenabled.txt:16 ../E/canbuild.txt:16 ../E/detect.txt:11 ../E/factory.txt:10 ../E/radar.txt:22 -#, no-wrap -msgid "cat: int" -msgstr "" - -#. type: \b; header -#: ../E/build.txt:1 -#, no-wrap -msgid "Instruction build" -msgstr "" - -#. type: Plain text -#: ../E/build.txt:23 -#, no-wrap -msgid "" -"Normally an error stops the program. You can prevent the program from stopping on errors by using the errmode(0) instruction. A value different from zero if an error occurred is then returned by build().\n" -"== 0 Successfully built\n" -"!= 0 Impossible to build (for example, the nearest titanium cube is too far away or the specified building is not available in the mission)" -msgstr "" - -#. type: Plain text -#: ../E/build.txt:7 -#, no-wrap -msgid "Here is an example of a program that looks for the nearest titanium cube, goes to the position and builds a bot factory." -msgstr "" - -#. type: Source code -#: ../E/build.txt:9 -#, no-wrap -msgid "" -" object item = radar(Titanium);\n" -" goto(item.position);\n" -" build(BotFactory);" -msgstr "" - -#. type: Plain text -#: ../E/build.txt:5 -#, no-wrap -msgid "This command is mostly useful in an attempt to build a fully automatised base, where an astronaut does not need to do anything except starting a program and watching bots working. What is more, it makes beating the game by using only programming a possible task (however, it is a challenge rather for experienced gamers, who beat the whole game at least once)." -msgstr "" - -#. type: Source code -#: ../E/aim.txt:3 -#, no-wrap -msgid "aim ( y, x );" -msgstr "" - -#. type: Plain text -#: ../E/aim.txt:10 -#, no-wrap -msgid "When controlling the robot through programming, the gun can be also turned left or right by turning the whole robot with the instruction turn." -msgstr "" - -#. type: \t; header -#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8 -#, no-wrap -msgid "y: float" -msgstr "" - -#. type: \t; header -#: ../E/atan2.txt:10 ../E/pow.txt:5 -#, no-wrap -msgid "x: float" -msgstr "" - -#. type: Plain text -#: ../E/aim.txt:5 -#, no-wrap -msgid "This instruction sets the vertical and the horizontal angle of the cannon. The following robots are equipped with a cannon: " -msgstr "" - -#. type: \b; header -#: ../E/rand.txt:1 -#, no-wrap -msgid "Instruction rand" -msgstr "" - -#. type: Source code -#: ../E/rand.txt:3 -#, no-wrap -msgid "rand ( );" -msgstr "" - -#. type: Plain text -#: ../E/rand.txt:6 -#, no-wrap -msgid "Pseudorandom number between 0 and 1 (including 0, but excluding 1)." -msgstr "" - -#. type: Plain text -#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 -#, no-wrap -msgid "Programming, types and expressions." -msgstr "" - #. type: \b; header #: ../E/acos.txt:1 #, no-wrap @@ -5195,6 +5196,54 @@ msgstr "" msgid "Number between -1 and 1 (including both)." msgstr "" +#. type: Plain text +#: ../E/acos.txt:9 +#, no-wrap +msgid "Arcus cosine (in degrees) of the value." +msgstr "" + +#. type: Plain text +#: ../E/acos.txt:12 ../E/asin.txt:12 ../E/atan.txt:12 ../E/atan2.txt:17 ../E/cos.txt:12 ../E/pow.txt:15 ../E/rand.txt:9 ../E/sin.txt:12 ../E/sqrt.txt:12 ../E/tan.txt:12 +#, no-wrap +msgid "Programming, types and expressions." +msgstr "" + +#. type: Source code +#: ../E/aim.txt:3 +#, no-wrap +msgid "aim ( y, x );" +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:5 +#, no-wrap +msgid "This instruction sets the vertical and the horizontal angle of the cannon. The following robots are equipped with a cannon: " +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:10 +#, no-wrap +msgid "When controlling the robot through programming, the gun can be also turned left or right by turning the whole robot with the instruction turn." +msgstr "" + +#. type: \t; header +#: ../E/aim.txt:12 ../E/atan2.txt:7 ../E/pow.txt:8 +#, no-wrap +msgid "y: float" +msgstr "" + +#. type: \t; header +#: ../E/aim.txt:15 +#, no-wrap +msgid "x: float (default value: 0)" +msgstr "" + +#. type: Plain text +#: ../E/aim.txt:16 +#, no-wrap +msgid "Angle in degrees of the gun relative to the robot. A positive value orients the gun to the right. The angle must range from -40 to +40 degrees for all shooters." +msgstr "" + #. type: \b; header #: ../E/asin.txt:1 #, no-wrap @@ -5207,6 +5256,12 @@ msgstr "" msgid "asin ( value );" msgstr "" +#. type: Plain text +#: ../E/asin.txt:9 +#, no-wrap +msgid "Arcus sine (in degrees) of the value." +msgstr "" + #. type: \b; header #: ../E/atan.txt:1 #, no-wrap @@ -5225,6 +5280,451 @@ msgstr "" msgid "Number." msgstr "" +#. type: Plain text +#: ../E/atan.txt:9 +#, no-wrap +msgid "Arcus tangent (in degrees) of the value." +msgstr "" + +#. type: \b; header +#: ../E/atan2.txt:1 +#, no-wrap +msgid "Instruction atan2" +msgstr "" + +#. type: Source code +#: ../E/atan2.txt:3 +#, no-wrap +msgid "atan2 ( y, x );" +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:5 +#, no-wrap +msgid "The purpose of using two arguments instead of one is to gather information on the signs of the inputs in order to return the appropriate quadrant of the computed angle, which is not possible for the single-argument atan(); function. For example, consider a point (-1, -1): atan(-1/-1); is 45.00 degrees, whereas atan2(-1, -1); is -135.00 degrees, which is obviously more correct in this case." +msgstr "" + +#. type: \t; header +#: ../E/atan2.txt:10 ../E/pow.txt:5 +#, no-wrap +msgid "x: float" +msgstr "" + +#. type: Plain text +#: ../E/atan2.txt:14 +#, no-wrap +msgid "Arcus tangent (in degrees) of y/x." +msgstr "" + +#. type: \b; header +#: ../E/build.txt:1 +#, no-wrap +msgid "Instruction build" +msgstr "" + +#. type: Plain text +#: ../E/build.txt:2 +#, no-wrap +msgid "The instruction build(); instructs the bot to build a building of the given category. Currently works for Grabbers, Me and Tech." +msgstr "" + +#. type: Plain text +#: ../E/build.txt:5 +#, no-wrap +msgid "This command is mostly useful in an attempt to build a fully automatised base, where an astronaut does not need to do anything except starting a program and watching bots working. What is more, it makes beating the game by using only programming a possible task (however, it is a challenge rather for experienced gamers, who beat the whole game at least once)." +msgstr "" + +#. type: Plain text +#: ../E/build.txt:7 +#, no-wrap +msgid "Here is an example of a program that looks for the nearest titanium cube, goes to the position and builds a bot factory." +msgstr "" + +#. type: Source code +#: ../E/build.txt:9 +#, no-wrap +msgid "" +" object item = radar(Titanium);\n" +" goto(item.position);\n" +" build(BotFactory);" +msgstr "" + +#. type: Source code +#: ../E/build.txt:15 +#, no-wrap +msgid "build ( cat );" +msgstr "" + +#. type: Plain text +#: ../E/build.txt:17 +#, no-wrap +msgid "Tells the robot to build a building using a titanium cube placed on a flat ground nearby." +msgstr "" + +#. type: \t; header +#: ../E/build.txt:19 ../E/buildingenabled.txt:16 ../E/canbuild.txt:16 ../E/detect.txt:11 ../E/factory.txt:10 ../E/radar.txt:22 +#, no-wrap +msgid "cat: int" +msgstr "" + +#. type: Plain text +#: ../E/build.txt:20 ../E/buildingenabled.txt:17 ../E/canbuild.txt:17 +#, no-wrap +msgid "Category of a building." +msgstr "" + +#. type: Plain text +#: ../E/build.txt:23 +#, no-wrap +msgid "" +"Normally an error stops the program. You can prevent the program from stopping on errors by using the errmode(0) instruction. A value different from zero if an error occurred is then returned by build().\n" +"== 0 Successfully built\n" +"!= 0 Impossible to build (for example, the nearest titanium cube is too far away or the specified building is not available in the mission)" +msgstr "" + +#. type: Plain text +#: ../E/build.txt:28 +#, no-wrap +msgid "canbuild, buildingenabled, programming, types and categories." +msgstr "" + +#. type: \b; header +#: ../E/buildingenabled.txt:1 +#, no-wrap +msgid "Instruction buildingenabled" +msgstr "" + +#. type: Plain text +#: ../E/buildingenabled.txt:2 +#, no-wrap +msgid "The instruction buildingenabled(); lets you know if a building of the given category can be built in the level." +msgstr "" + +#. type: Plain text +#: ../E/buildingenabled.txt:5 +#, no-wrap +msgid "It is similar to the canbuild(); instruction. However, it does not check if a required research has been done." +msgstr "" + +#. type: Source code +#: ../E/buildingenabled.txt:7 +#, no-wrap +msgid "" +" if (buildingenabled(BotFactory))\n" +" {\n" +" \tbuild(BotFactory);\n" +" }" +msgstr "" + +#. type: Source code +#: ../E/buildingenabled.txt:14 +#, no-wrap +msgid "buildingenabled ( cat );" +msgstr "" + +#. type: \t; header +#: ../E/buildingenabled.txt:19 ../E/busy.txt:10 ../E/canbuild.txt:19 ../E/canresearch.txt:10 ../E/detect.txt:23 ../E/researched.txt:10 +#, no-wrap +msgid "Return value: bool" +msgstr "" + +#. type: Plain text +#: ../E/buildingenabled.txt:20 +#, no-wrap +msgid "true if the building can be built in the level even if required research has not been done, false otherwise." +msgstr "" + +#. type: Plain text +#: ../E/buildingenabled.txt:23 +#, no-wrap +msgid "build, canbuild, ResearchCenter, programming, types and categories." +msgstr "" + +#. type: \b; header +#: ../E/busy.txt:1 +#, no-wrap +msgid "Instruction busy" +msgstr "" + +#. type: Source code +#: ../E/busy.txt:3 +#, no-wrap +msgid "object.busy ( );" +msgstr "" + +#. type: Plain text +#: ../E/busy.txt:5 +#, no-wrap +msgid "Checks if the object is busy." +msgstr "" + +#. type: \t; header +#: ../E/busy.txt:7 ../E/destroy.txt:7 ../E/factory.txt:7 ../E/research.txt:7 ../E/takeoff.txt:7 +#, no-wrap +msgid "object" +msgstr "" + +#. type: Plain text +#: ../E/busy.txt:8 +#, no-wrap +msgid "Any building which can take some action (e.g. Converter)." +msgstr "" + +#. type: Plain text +#: ../E/busy.txt:11 +#, no-wrap +msgid "" +"true if the object is doing something (e.g. converting)\n" +"false if the object is not doing anything" +msgstr "" + +#. type: \b; header +#: ../E/canbuild.txt:1 +#, no-wrap +msgid "Instruction canbuild" +msgstr "" + +#. type: Plain text +#: ../E/canbuild.txt:2 +#, no-wrap +msgid "The instruction canbuild(); lets you know if Grabbers, Me or Tech can build a building of the given category. " +msgstr "" + +#. type: Plain text +#: ../E/canbuild.txt:5 +#, no-wrap +msgid "It helps to prevent errors in programs using the build(); instruction. Here is an example:" +msgstr "" + +#. type: Source code +#: ../E/canbuild.txt:7 +#, no-wrap +msgid "" +" if (canbuild(BotFactory))\n" +" {\n" +" \tbuild(BotFactory);\n" +" }" +msgstr "" + +#. type: Source code +#: ../E/canbuild.txt:14 +#, no-wrap +msgid "canbuild ( cat );" +msgstr "" + +#. type: Plain text +#: ../E/canbuild.txt:20 +#, no-wrap +msgid "true if the building can be built, false otherwise." +msgstr "" + +#. type: Plain text +#: ../E/canbuild.txt:23 +#, no-wrap +msgid "build, buildingenabled, programming, types and categories." +msgstr "" + +#. type: \b; header +#: ../E/canresearch.txt:1 +#, no-wrap +msgid "Instruction canresearch" +msgstr "" + +#. type: Source code +#: ../E/canresearch.txt:3 +#, no-wrap +msgid "canresearch ( research );" +msgstr "" + +#. type: Plain text +#: ../E/canresearch.txt:5 +#, no-wrap +msgid "Checks if the research can be done in the level." +msgstr "" + +#. type: \t; header +#: ../E/canresearch.txt:7 ../E/researched.txt:7 +#, no-wrap +msgid "research: int" +msgstr "" + +#. type: Plain text +#: ../E/canresearch.txt:8 ../E/research.txt:11 ../E/researched.txt:8 +#, no-wrap +msgid "Research name." +msgstr "" + +#. type: Plain text +#: ../E/canresearch.txt:11 +#, no-wrap +msgid "" +"true if the research can be done (even if it is already done, to check that, use the researched instruction)\n" +"false if the research cannot be done" +msgstr "" + +#. type: Plain text +#: ../E/canresearch.txt:15 +#, no-wrap +msgid "Research names, research, researched, programming, types and categories." +msgstr "" + +#. type: Plain text +#: ../E/category.txt:6 +#, no-wrap +msgid "Below are the different categories available:" +msgstr "" + +#. type: \t; header +#: ../E/category.txt:8 +#, no-wrap +msgid "Buildings:" +msgstr "" + +#. type: Plain text +#: ../E/category.txt:10 +#, no-wrap +msgid "" +"