-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
lesson-4-drawing-a-rectangle.pot
220 lines (195 loc) · 7.09 KB
/
lesson-4-drawing-a-rectangle.pot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
# Translations template for Learn GDScript From Zero.
# Copyright (C) 2024 GDQuest
# This file is distributed under the same license as the Learn GDScript From
# Zero project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Learn GDScript From Zero \n"
"Report-Msgid-Bugs-To: https://github.com/GDQuest/learn-gdscript\n"
"POT-Creation-Date: 2024-12-12 14:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.1\n"
#: course/lesson-4-drawing-a-rectangle/lesson.tres:14
msgid ""
"We'll use code created by others like we did in the previous lesson. This"
" time, we'll solve a more complicated problem: drawing shapes."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:22
msgid "Meet the turtle"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:24
msgid ""
"We present you: the turtle! We created the turtle to teach you how to "
"call functions."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:44
msgid ""
"The turtle is a little machine that moves forward, turns, and draws lines"
" along its path.\n"
"\n"
"To make it draw, you give it a list of instructions: on each code line, "
"you call one specific function.\n"
"\n"
"We prepared several functions for you:\n"
"\n"
"- [code]move_forward(pixels)[/code] makes the turtle move forward over a "
"given distance in [i]pixels[/i]. \n"
"- [code]turn_right(degrees)[/code] makes the turtle turn clockwise by a "
"precise amount of [i]degrees[/i].\n"
"- [code]turn_left(degrees)[/code] works the same as "
"[code]turn_right(degrees)[/code], except the turtle turns counter-"
"clockwise.\n"
"\n"
"You'll use these functions the same way you used [code]rotate()[/code] "
"before.\n"
"\n"
"The turtle draws a white line as it moves. We'll use this line to draw "
"shapes.\n"
"\n"
"For example, to move the turtle 200 pixels, you would write "
"[code]move_forward(200)[/code]."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:76
msgid "Turning left and right"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:78
msgid ""
"The functions [code]turn_left()[/code] and [code]turn_right()[/code] work"
" the same.\n"
"\n"
"To turn 45 degrees to the right, you would write "
"[code]turn_right(45)[/code].\n"
"\n"
"If we call [code]turn_right(45)[/code], the turtle turns 45 degrees to "
"the right before moving on to the next instruction."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:102
msgid ""
"Using these instructions, we can make any two-dimensional shape we like!\n"
"\n"
"Try to understand the example below. \n"
"\n"
"In the next practice, you'll use the functions we saw above to first draw"
" a corner, then a rectangle like this one."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:124
msgid "In the function call below, which part is the argument?"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:125
msgid "[code]move_forward(30)[/code]"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:127
msgid ""
"A function's arguments are all the values inside the parentheses. In this"
" case, there's only one, but there can be multiple separated by commas.\n"
"\n"
"In this case, [code]move_forward[/code] is the function's name and "
"[code]30[/code] is the argument.\n"
"\n"
"This function call will make the turtle move forward by [code]30[/code] "
"pixels."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:132
msgid "move_forward"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:132
#: course/lesson-4-drawing-a-rectangle/lesson.tres:133
msgid "30"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:140
msgid "The turtle uses code made specifically for this app!"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:142
msgid ""
"The turtle is a little learning tool custom-made for this course, based "
"on a proven code learning methodology. It's designed to teach you how to "
"use and create functions.\n"
"\n"
"So please don't be surprised if writing code like "
"[code]turn_left()[/code] inside of the Godot editor doesn't work! And "
"don't worry, once you've learned the foundations, you'll see they make it"
" faster and easier to learn Godot functions."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:154
msgid ""
"Let's move on to practice! You'll get to play with the turtle functions "
"to draw shapes."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:162
msgid "Drawing a Corner"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:163
msgid ""
"In this practice, we'll tell the turtle to draw a corner.\n"
"\n"
"The corner is made up of two lines that are [code]200[/code] pixels long."
" The lines are connected at each end by [code]90[/code] degrees, or "
"right-angle.\n"
"\n"
"The [code]move_forward()[/code] and [code]turn_right()[/code] functions "
"to the right draw a corner, but they're missing some arguments.\n"
"\n"
"Add the missing arguments so the turtle moves forward [code]200[/code] "
"pixels, turns right [code]90[/code] degrees, then moves forward again "
"[code]200[/code] pixels.\n"
"\n"
"We added the first argument for you so the turtle moves forward "
"[code]200[/code] pixels.\n"
"\n"
"In the following practices, we'll draw multiple corners to create "
"rectangles.\n"
"\n"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:187
msgid ""
"Use the turtle to draw a square's corner. You'll then build upon it to "
"draw a rectangle."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:192
#: course/lesson-4-drawing-a-rectangle/lesson.tres:240
msgid "Drawing a Rectangle"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:193
msgid ""
"Add the correct arguments to the functions [code]move_forward()[/code] "
"and [code]turn_right()[/code] to draw a rectangle with a width of "
"[code]200[/code] pixels, and a height of [code]120[/code] pixels.\n"
"\n"
"We wrote the first argument for you.\n"
"\n"
"In the next practice, you'll use the same functions to draw a bigger "
"rectangle."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:213
msgid "Based on your rectangle corner, you now need to draw a complete rectangle."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:218
msgid "Drawing a Bigger Rectangle"
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:219
msgid ""
"Write out calls to the functions [code]move_forward()[/code] and "
"[code]turn_right()[/code] to draw a rectangle with a width of 220 pixels,"
" and a height of 260 pixels.\n"
"\n"
"We wrote the first two lines for you.\n"
"\n"
"Be sure to write each instruction on a separate line.\n"
"\n"
"Every line should start with one [code]Tab[/code] character so the "
"computer understands it's part of the [code]draw_rectangle()[/code] "
"function."
msgstr ""
#: course/lesson-4-drawing-a-rectangle/lesson.tres:236
msgid ""
"At this point, you're ready to code entirely on your own. Call functions "
"by yourself to draw a complete rectangle."
msgstr ""