# Copyright (C) 2019 Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # ... # B-CE <.>, 2019. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: DATE\n" "PO-Revision-Date: 2019-06-15 18:29+0200\n" "Last-Translator: BCE <.>\n" "Language-Team: French <>\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Lokalize 18.12.3\n" #. type: Title-text #: ../scene.txt:1 #, no-wrap msgid "Flying mover" msgstr "Le déménageur volant" #. type: Resume-text #: ../scene.txt:2 #, no-wrap msgid "Move a titanium cube across obstacles." msgstr "Déplacer un bloc de titane par dessus des obstacles." #. type: ScriptName-text #: ../scene.txt:3 #, no-wrap msgid "Mover" msgstr "Déplace" #. type: \b; header #: ../help/help.E.txt:1 #, no-wrap msgid "Exercise" msgstr "Exercice" #. type: Plain text #: ../help/help.E.txt:2 #, no-wrap msgid "Move the titanium cube on the finishing pad. You do not know the position of the titanium, but we can tell you the position of the finishing pad x=10 and y=-60." msgstr "Déplacez le bloc de titane sur la plate-forme d'arrivée. On ne connaît pas la position du titane. En revanche, on sait que la plate-forme est à la position x=10 et y=-60." #. type: \b; header #: ../help/help.E.txt:4 #, no-wrap msgid "The instruction goto" msgstr "L'instruction goto" #. type: Plain text #: ../help/help.E.txt:5 #, no-wrap msgid "" "The winged bot can get across obstacles. The instruction goto, if performed on a winged bot, will automatically perform a flying move, with a take-off at the beginning, and a landing at the end.\n" "This instruction can actually receive a second parameter, which is not compulsory: the flying altitude. If no second parameter is given, the flying altitude will be set to the default value of 10m." msgstr "" "Le robot volant permet de passer par dessus les obstacles. L'instruction goto élève les robots volants automatiquement, avec un décollage au début du déplacement et un atterrissage à la fin.\n" "En fait, cette instruction peut recevoir un deuxième paramètre optionnel qui est l'altitude de croisière. Mais il n'est même pas obligatoire de le donner, car une altitude de 10 mètres est prise si ce paramètre manque, et bien entendu, si le robot peut voler." #. type: Plain text #: ../help/help.E.txt:8 #, no-wrap msgid "" "Therefore, the instruction:\n" "goto(item.position);" msgstr "" "Donc, l'instruction:\n" "goto(item.position);" #. type: Plain text #: ../help/help.E.txt:11 #, no-wrap msgid "" "Is equivalent to:\n" "goto(item.position, 10);" msgstr "" "Est équivalente à:\n" "goto(item.position, 10);" #. type: \b; header #: ../help/help.E.txt:14 #, no-wrap msgid "The program" msgstr "Solution" #. type: Plain text #: ../help/help.E.txt:15 #, no-wrap msgid "Use the instruction radar(Titanium); in order to find the titanium cube. Then test if a titanium cube has actually been found. In this exercise, this line is not very useful, because we know that there is a titanium cube somewhere. However, it is better to take the habit of testing whatever your radar returns:" msgstr "Pour trouver le titane, utilisez l'instruction radar(Titanium);. La troisième ligne teste si le titane est trouvé. Dans cet exercice, c'est inutile, mais il vaut mieux prendre l'habitude de faire ce genre de test systématiquement:" #. type: Source code #: ../help/help.E.txt:17 #, no-wrap msgid "" "object item;\n" "item = radar(Titanium);\n" "if ( item == null ) return;\n" "goto(item.position);" msgstr "" "object item;\n" "item = radar(Titanium);\n" "if ( item == null ) return;\n" "goto(item.position);" #. type: Plain text #: ../help/help.E.txt:22 #, no-wrap msgid "The variable item is of type object. In order to know the exact location of the object described by the variable, just write item.position." msgstr "La variable item est de type object. Pour connaître la position de l'objet décrit par la variable, il faut donc écrire item.position." #. type: Plain text #: ../help/help.E.txt:24 #, no-wrap msgid "In order to take the titanium cube, use the instruction grab() without any parameter." msgstr "" "Pour prendre le titane, il suffit d'effectuer grab(), sans aucun paramètre.\n" "Pour déposer le titane, il suffit d'effectuer drop(), sans aucun paramètre." #. type: Plain text #: ../help/help.E.txt:26 #, no-wrap msgid "In order to drop the titanium, use the instruction drop() without any parameter." msgstr "" "Les coordonnées de la plate-forme d'arrivée sont connues: x=10 et y=-60. Il faut donc déclarer une variable de type point, puis lui assigner les bonnes coordonnées. Cette variable pourra ensuite être donnée comme argument à l'instruction goto.\n" "Remarque: la coordonnée z peut être ignorée dans le cas d'un robot qui ne vole pas!" #. type: Plain text #: ../help/help.E.txt:28 #, no-wrap msgid "" "We know the coordinates of the finishing pad: x=10 et y=-60. You must declare a variable of the type point, then fill it with the right coordinates. Then you can give this variable as a parameter to the instruction goto.\n" "Remark: You do not have to take care of the z coordinate in the case of a bot that can not fly." msgstr "A vous de terminer le programme ..." #. type: Plain text #: ../help/help.E.txt:31 #, no-wrap msgid "It is now up to you to finish the program..." msgstr " permet de revoir ces instructions en tout temps!" #. type: \t; header #: ../help/help.E.txt:33 #, no-wrap msgid "See also" msgstr "Voir aussi" #. type: Plain text #: ../help/help.E.txt:34 #, no-wrap msgid "Programming, types and categories." msgstr "Exercice précédent, programmation, types et catégories."