111 lines
3.3 KiB
Plaintext
111 lines
3.3 KiB
Plaintext
# Copyright (C) 2016 Free Software Foundation, Inc.
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
# José Robson Mariano Alves <jose.alves@ifto.edu.br>, 2018.
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: colobot-data 0.1.7\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: DATE\n"
|
|
"PO-Revision-Date: 2018-03-11 16:57+0100\n"
|
|
"Last-Translator: José Robson Mariano Alves <jose.alves@ifto.edu.br>\n"
|
|
"Language: pt_BR\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 2.0\n"
|
|
|
|
#. type: Title-text
|
|
#: ../scene.txt:1
|
|
#, no-wrap
|
|
msgid "Function"
|
|
msgstr "Une fonction"
|
|
|
|
#. type: Resume-text
|
|
#: ../scene.txt:2
|
|
#, no-wrap
|
|
msgid "Create a function to move a bot."
|
|
msgstr "Créer une fonction pour déplacer un robot."
|
|
|
|
#. type: ScriptName-text
|
|
#: ../scene.txt:3
|
|
#, no-wrap
|
|
msgid "Move"
|
|
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 "The <a object|bottr>bot</a> must pass over all the <a object|waypoint>blue crosses</a> on the ground. The way that must be covered is made of two squares. The first one measures 15 meters, the second 25 meters."
|
|
msgstr "Programmez le <a object|bottr>robot</a> pour qu'il trouve toutes les <a object|waypoint>croix bleues</a> posées au sol. Le trajet à effectuer est composé de deux carrés. Le premier mesure 15 mètres de côté, et le deuxième 25 mètres."
|
|
|
|
#. type: Image filename
|
|
#: ../help/help.E.txt:4
|
|
#, no-wrap
|
|
msgid "tproc1a"
|
|
msgstr "tproc1a"
|
|
|
|
#. type: \b; header
|
|
#: ../help/help.E.txt:5
|
|
#, no-wrap
|
|
msgid "General principle"
|
|
msgstr "Fonction"
|
|
|
|
#. type: Plain text
|
|
#: ../help/help.E.txt:6
|
|
#, no-wrap
|
|
msgid "In order to solve this problem, the most efficient solution consists in creating a <a cbot|function>function</a> that instructs the bot to move on a square shape of a certain size. The main program becomes then very simple:<c/>"
|
|
msgstr "Pour résoudre ce problème, il est intéressant de créer une <a cbot|function>fonction</a> qui déplace le robot le long d'un carré. La fonction principale devient alors très simple:"
|
|
|
|
#. type: Source code
|
|
#: ../help/help.E.txt:8
|
|
#, no-wrap
|
|
msgid ""
|
|
"\textern void object::Function3( )\n"
|
|
"\t{\n"
|
|
"\t\tSquare(15);\n"
|
|
"\t\tSquare(25);\n"
|
|
"\t}"
|
|
msgstr ""
|
|
"\textern void object::Déplacer( )\n"
|
|
"\t{\n"
|
|
"\t\tCarré(15);\n"
|
|
"\t\tCarré(25);\n"
|
|
"\t}"
|
|
|
|
#. type: \b; header
|
|
#: ../help/help.E.txt:14
|
|
#, no-wrap
|
|
msgid "Useful instructions"
|
|
msgstr "Instructions utiles"
|
|
|
|
#. type: Plain text
|
|
#: ../help/help.E.txt:15
|
|
#, no-wrap
|
|
msgid ""
|
|
"<code><a cbot|for>for</a></code> loop to repeat some instructions\n"
|
|
"<code><a cbot|move>move</a></code> to move the bot\n"
|
|
"<code><a cbot|turn>turn</a></code> to turn the bot"
|
|
msgstr ""
|
|
"<code><a cbot|for>for</a></code> boucle pour répéter des instructions\n"
|
|
"<code><a cbot|move>move</a></code> pour avancer le robot\n"
|
|
"<code><a cbot|turn>turn</a></code> pour tourner le robot"
|
|
|
|
#. type: \t; header
|
|
#: ../help/help.E.txt:19
|
|
#, no-wrap
|
|
msgid "See also"
|
|
msgstr "Voir aussi"
|
|
|
|
#. type: Plain text
|
|
#: ../help/help.E.txt:20
|
|
#, no-wrap
|
|
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
|
|
msgstr "<a cbot>Programmation</a>."
|