2013-11-11 09:11:54 +00:00
|
|
|
# SOME DESCRIPTIVE TITLE
|
|
|
|
# Copyright (C) YEAR Free Software Foundation, Inc.
|
|
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
|
|
msgid ""
|
|
|
|
msgstr ""
|
|
|
|
"Project-Id-Version: PACKAGE VERSION\n"
|
2014-07-10 15:16:30 +00:00
|
|
|
"Report-Msgid-Bugs-To: \n"
|
2014-07-02 10:48:36 +00:00
|
|
|
"POT-Creation-Date: 2014-07-02 12:51+0200\n"
|
2013-11-11 09:11:54 +00:00
|
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
2014-07-10 15:16:30 +00:00
|
|
|
"Language: ru\n"
|
2013-11-11 09:11:54 +00:00
|
|
|
"MIME-Version: 1.0\n"
|
|
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
2014-07-10 15:16:30 +00:00
|
|
|
"X-Generator: Translate Toolkit 1.11.0\n"
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: One-char language identifier
|
|
|
|
#: train303.languagecode:1
|
|
|
|
#, no-wrap
|
|
|
|
msgid "E"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Title-text
|
|
|
|
#: train303/scene.txt:1
|
|
|
|
#, no-wrap
|
|
|
|
msgid "train303:Massacre"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Resume-text
|
|
|
|
#: train303/scene.txt:2
|
|
|
|
#, no-wrap
|
|
|
|
msgid "train303:Use a loop in order to destroy six targets."
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: ScriptName-text
|
|
|
|
#: train303/scene.txt:3
|
|
|
|
#, no-wrap
|
|
|
|
msgid "train303:Go"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: \b; header
|
|
|
|
#: train303-help/tfor.txt:1
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "Exercise"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:3
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
|
|
|
msgid ""
|
|
|
|
"Destroy the six <a object|bottarg>targets</a> with a program using a "
|
|
|
|
"loop. The bot must move 5m forward to get from one target to the next."
|
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: \b; header
|
|
|
|
#: train303-help/tfor.txt:4
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "General principle"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:7
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid ""
|
|
|
|
"The program must execute the following scheme:\n"
|
|
|
|
"Repeat 6 times :\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#. type: Bullet: 'o'
|
|
|
|
#: train303-help/tfor.txt:7
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "move 5m forward"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: 'o'
|
|
|
|
#: train303-help/tfor.txt:8
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "turn 90 degrees left"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: 'o'
|
|
|
|
#: train303-help/tfor.txt:9
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "shoot"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: 'o'
|
|
|
|
#: train303-help/tfor.txt:10
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "turn 90 degrees right"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Image filename
|
|
|
|
#: train303-help/tfor.txt:12
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "tfor1"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: \b; header
|
|
|
|
#: train303-help/tfor.txt:13
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "Instruction <code>for ( )</code>"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:15
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "The instruction <code><a cbot|for>for</a></code> asks for 3 expressions:\n"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: '1)'
|
|
|
|
#: train303-help/tfor.txt:15
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "Initialize the counting variable."
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: '2)'
|
|
|
|
#: train303-help/tfor.txt:16
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "The end <a cbot|cond>condition</a>."
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: '3)'
|
|
|
|
#: train303-help/tfor.txt:17
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "The counting <a cbot|expr>expression</a>."
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:20
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "Here is the loop once it is integrated into the program frame:"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: \s; block (usually verbatim code)
|
|
|
|
#: train303-help/tfor.txt:27
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid ""
|
|
|
|
"<c/>extern void object::Massacre( )\n"
|
|
|
|
"{\n"
|
|
|
|
"\tfor ( int i=0 ; i<6 ; i=i+1 )\n"
|
|
|
|
"\t{\n"
|
|
|
|
"\t\t<n/>instructions repeated 6 times ...<c/>\n"
|
|
|
|
"\t}\n"
|
|
|
|
"}"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:29
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
|
|
|
msgid ""
|
|
|
|
"ATTENTION: The line <code>for ( )</code> must not be followed by a <a "
|
|
|
|
"cbot|term>semicolon</a> !"
|
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: \b; header
|
|
|
|
#: train303-help/tfor.txt:30
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "Explanation of the instruction <code>for ( )</code>"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: '1)'
|
|
|
|
#: train303-help/tfor.txt:31
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "<code>int i=0</code>"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:33
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
|
|
|
msgid ""
|
|
|
|
" The <a cbot|var>variable</a> i is set to zero before the beginning of "
|
|
|
|
"the loop."
|
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: '2)'
|
|
|
|
#: train303-help/tfor.txt:34
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "<code>i<6</code>"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:36
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid " The loop will be executed as long as i is smaller than 6."
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Bullet: '3)'
|
|
|
|
#: train303-help/tfor.txt:37
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "<code>i=i+1</code>"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:39
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid " At the end of every loop, add 1 to the variable i."
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: \b; header
|
|
|
|
#: train303-help/tfor.txt:40
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "Blocks"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:42
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
|
|
|
msgid ""
|
|
|
|
"Use braces <code>{ }</code> in order to create a <a cbot|bloc>block</a>. All "
|
|
|
|
"the instructions that must be executed in the <code>for</code> loop are held "
|
|
|
|
"together by a block. The whole program itself is made up of a block:"
|
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: \s; block (usually verbatim code)
|
|
|
|
#: train303-help/tfor.txt:47
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid ""
|
|
|
|
"extern void object::massacre( )\n"
|
|
|
|
"{\n"
|
|
|
|
"\t<n/>fill in here ...<c/>\n"
|
|
|
|
"}"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:50
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid ""
|
2014-07-10 15:16:30 +00:00
|
|
|
"Never change these characters. Just add the instructions of the program "
|
|
|
|
"between the braces.\n"
|
|
|
|
"You can fit several blocks one into the other. For example the "
|
|
|
|
"<code>for</code> block is fitted into the block of the whole program. In "
|
|
|
|
"order to improve readability, the editor lines up the braces belonging to "
|
|
|
|
"the different blocks."
|
2013-11-11 09:11:54 +00:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#. type: \b; header
|
|
|
|
#: train303-help/tfor.txt:51
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "Remember"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:55
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid ""
|
|
|
|
"The instruction used to move forward is <c/><a cbot|move>move</a>();<n/>.\n"
|
2014-07-10 15:16:30 +00:00
|
|
|
"The instruction used to turn the bot is <c/><a cbot|turn>turn</a>();<n/>. A "
|
|
|
|
"positive angle turns left.\n"
|
|
|
|
"The instruction used to fire the cannon is <c/><a "
|
|
|
|
"cbot|fire>fire</a>(1);<n/>. A one-second burst allows to destroy all six <a "
|
|
|
|
"object|bottarg>targets</a>."
|
2013-11-11 09:11:54 +00:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#. type: \t; header
|
|
|
|
#: train303-help/tfor.txt:56
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
2013-11-11 09:11:54 +00:00
|
|
|
msgid "See also"
|
2014-08-08 02:32:42 +00:00
|
|
|
msgstr ""
|
2013-11-11 09:11:54 +00:00
|
|
|
|
|
|
|
#. type: Plain text
|
|
|
|
#: train303-help/tfor.txt:57
|
2014-07-10 15:16:30 +00:00
|
|
|
#, no-wrap
|
|
|
|
msgid ""
|
|
|
|
"<a cbot>Programming</a>, <a cbot|type>types</a> and <a "
|
|
|
|
"cbot|category>categories</a>."
|
|
|
|
msgstr ""
|