-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathglossary_database.pot
479 lines (418 loc) · 12.7 KB
/
glossary_database.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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
# 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"
#. Reference: member function
#: ./course/glossary.csv:6
msgid "member function"
msgstr ""
#. Reference: member function
#: ./course/glossary.csv:6
msgid "member functions"
msgstr ""
#. Reference: member function
#: ./course/glossary.csv:6
msgid ""
"Member functions are functions attached to a specific value type, like "
"arrays, strings, or dictionaries. We also call them methods.\n"
"\n"
"For example, arrays have member functions like "
"[code]array.append()[/code].\n"
"\n"
"You can only call the function on an array, using the access operator "
"([code].[/code]) to access it, as shown above."
msgstr ""
#. Reference: member variable
#: ./course/glossary.csv:9
msgid "member variable"
msgstr ""
#. Reference: member variable
#: ./course/glossary.csv:9
msgid "member variables"
msgstr ""
#. Reference: member variable
#: ./course/glossary.csv:9
msgid ""
"Member variables are variables attached to a specific value type, like a "
"vector's [code]x[/code] and [code]y[/code] sub-variables. We also call "
"them [i]properties[/i] or [i]fields[/i] of the vector.\n"
"\n"
"To access a member variable, you must first write the value's name "
"followed by the access operator ([code].[/code]). For example, "
"[code]position.x[/code]."
msgstr ""
#. Reference: parameter
#: ./course/glossary.csv:12
msgid "parameter"
msgstr ""
#. Reference: parameter
#: ./course/glossary.csv:12
msgid "parameters"
msgstr ""
#. Reference: parameter
#: ./course/glossary.csv:12
msgid ""
"A parameter is a variable you create as part of a function definition.\n"
"\n"
"It allows you to reuse the function more by having values that vary in "
"the function's body."
msgstr ""
#. Reference: radian
#: ./course/glossary.csv:17
msgid "radian"
msgstr ""
#. Reference: radian
#: ./course/glossary.csv:17
msgid "radians"
msgstr ""
#. Reference: radian
#: ./course/glossary.csv:17
msgid ""
"A radian is a unit of measurement of angles based on the circle's "
"circumference.\n"
"\n"
"We tend to use degrees more in our daily lives, but in computer "
"programming, and especially in games, radians are common.\n"
"\n"
"An angle of [code]2 * PI[/code] radians corresponds to 360 degrees. And "
"an angle of [code]PI[/code] radians corresponds to 180 degrees."
msgstr ""
#. Reference: type
#: ./course/glossary.csv:20
msgid "type"
msgstr ""
#. Reference: type
#: ./course/glossary.csv:20
msgid "types"
msgstr ""
#. Reference: type
#: ./course/glossary.csv:20
msgid ""
"In computer programming, a type is the class of a value. For example, "
"whole numbers like [code]3[/code], [code]11[/code], and "
"[code]255462[/code] are all of type [code]int[/code] (short for integer)."
"\n"
"\n"
"The computer uses types to determine which operations are valid between "
"two values and when they're undefined."
msgstr ""
#. Reference: iteration
#: ./course/glossary.csv:23
msgid "iteration"
msgstr ""
#. Reference: iteration
#: ./course/glossary.csv:23
msgid "iterations"
msgstr ""
#. Reference: iteration
#: ./course/glossary.csv:23
msgid ""
"In computer code, an iteration is one repetition of some process or code."
" We typically use the term with loops, where one iteration is one run of "
"the loop's code.\n"
"\n"
"When talking of algorithms, an iteration can mean a full pass of the "
"algorithm on a data set."
msgstr ""
#. Reference: vector
#: ./course/glossary.csv:28
msgid "vector"
msgstr ""
#. Reference: vector
#: ./course/glossary.csv:28
msgid "vectors"
msgstr ""
#. Reference: vector
#: ./course/glossary.csv:28
msgid ""
"In math, a vector is a list of numbers. In games, we often use 2D and 3D "
"vectors: respectively, lists of two and three numbers.\n"
"\n"
"We use that to represent a direction and magnitude or intensity in space."
" For example, you can use a vector to represent the direction and speed "
"at which a character or a vehicle moves.\n"
"\n"
"Vectors can seem daunting at first because they are pretty abstract, but "
"as you will see, they'll simplify code tremendously."
msgstr ""
#. Reference: argument
#: ./course/glossary.csv:37
msgid "argument"
msgstr ""
#. Reference: argument
#: ./course/glossary.csv:37
msgid "arguments"
msgstr ""
#. Reference: argument
#: ./course/glossary.csv:37
msgid ""
"An argument is a value that you pass to a function when calling the "
"function. For example, in the call [code]rotate(0.5)[/code], the value "
"[code]0.5[/code] in the parentheses is an argument.\n"
"\n"
"A function can receive no arguments, one argument, or multiple arguments."
" Arguments can be mandatory or optional.\n"
"\n"
"When a function takes multiple arguments, you separate the values with "
"commas, like in this function call: [code]jump(50, 100)[/code]\n"
"\n"
"When [i]calling[/i] a function, we name the values passed in parentheses "
"[i]arguments[/i].\n"
"\n"
"When writing a function definition, however, we talk about function "
"[i]parameters[/i]. In the following example, the names [code]x[/code] and"
" [code]y[/code] are [i]parameters[/i]."
msgstr ""
#. Reference: array
#: ./course/glossary.csv:44
msgid "array"
msgstr ""
#. Reference: array
#: ./course/glossary.csv:44
msgid "arrays"
msgstr ""
#. Reference: array
#: ./course/glossary.csv:44
msgid ""
"An array is a list of values. In GDScript, arrays can contain [i]any[/i] "
"types of value.\n"
"\n"
"To create an array, you write comma-separated values in square brackets: "
"[code]var three_numbers = [1, 2, 3][/code]\n"
"\n"
"In games, we use arrays all the time to store lists of characters in a "
"party, lists of items in inventory, lists of spells the player unlocked, "
"and so on. They're everywhere.\n"
"\n"
"Arrays are a fundamental value type in computer programming. You'll find "
"arrays in pretty much any programming language."
msgstr ""
#. Reference: assign
#: ./course/glossary.csv:45
msgid "assign"
msgstr ""
#. Reference: assign
#: ./course/glossary.csv:45
msgid ""
"Assigning a value to a variable means that you store a value inside the "
"variable. You do this with the equal sign ([code]=[/code])."
msgstr ""
#. Reference: dictionary
#: ./course/glossary.csv:52
msgid "dictionary"
msgstr ""
#. Reference: dictionary
#: ./course/glossary.csv:52
msgid "dictionaries"
msgstr ""
#. Reference: dictionary
#: ./course/glossary.csv:52
msgid ""
"A dictionary is a data structure that maps values with key-value pairs. "
"When you give the dictionary a key, it finds and gives you back the "
"corresponding value.\n"
"\n"
"In GDScript, keys can be many things. We often use text strings or "
"numbers, but you're not limited to that. A [code]Vector2[/code] can also "
"be a valid key, which is handy to map a grid cell to a unit or an item in"
" a grid-based game.\n"
"\n"
"You will often use dictionaries to associate bits of data in your games. "
"For example, we could use them to associate an equipment's name with its "
"weapon stats in a database.\n"
"\n"
"Like arrays, they are a fundamental data type that you will see in many "
"programming languages and use a lot."
msgstr ""
#. Reference: for loop
#: ./course/glossary.csv:59
msgid "for loop"
msgstr ""
#. Reference: for loop
#: ./course/glossary.csv:59
msgid "for loops"
msgstr ""
#. Reference: for loop
#: ./course/glossary.csv:59
msgid ""
"A for loop instructs the computer to repeat a set of instructions once "
"for each value in an array.\n"
"\n"
"In each loop iteration, the compiler extracts one value from the array "
"and gives you access to it in the loop's body.\n"
"\n"
"For loops run code a limited amount of times: one per value in the array."
" It is different from while loops that keep repeating code until a "
"condition is met.\n"
"\n"
"We recommend favoring for loops when you can. They're safer and easier to"
" use than while loops."
msgstr ""
#. Reference: function
#: ./course/glossary.csv:64
msgid "function"
msgstr ""
#. Reference: function
#: ./course/glossary.csv:64
msgid "functions"
msgstr ""
#. Reference: function
#: ./course/glossary.csv:64
msgid ""
"A function is a group of code instructions you give a name. When you "
"define a function, you can call it any time to run all the instructions "
"it contains.\n"
"\n"
"You can modify a function's behavior with parameters. Parameters are "
"variable names that you write in the function definition. You can then "
"use them in the function's body to make your code adapt to different "
"cases.\n"
"\n"
"Also, functions can optionally return a value to the code calling it."
msgstr ""
#. Reference: increment
#: ./course/glossary.csv:65
msgid "increment"
msgstr ""
#. Reference: increment
#: ./course/glossary.csv:65
msgid "increments"
msgstr ""
#. Reference: increment
#: ./course/glossary.csv:65
msgid "An increment is the amount by which a value changes in your code."
msgstr ""
#. Reference: instruction
#: ./course/glossary.csv:68
msgid "instruction"
msgstr ""
#. Reference: instruction
#: ./course/glossary.csv:68
msgid "instructions"
msgstr ""
#. Reference: instruction
#: ./course/glossary.csv:68
msgid ""
"In computer programming, instructions are a single operation the computer"
" recognizes and can execute.\n"
"\n"
"For example, a function call, an addition, or assigning a value to a "
"variable."
msgstr ""
#. Reference: variable
#: ./course/glossary.csv:77
msgid "variable"
msgstr ""
#. Reference: variable
#: ./course/glossary.csv:77
msgid "variables"
msgstr ""
#. Reference: variable
#: ./course/glossary.csv:77
msgid ""
"Variables are a tool to give a name to values you want to store in your "
"code and change over time.\n"
"\n"
"For example, a character's health: when the character takes a hit, you "
"want it to go down. When healing, you want the health to go back up.\n"
"\n"
"You can create a variable named [code]health[/code] to represent the "
"health.\n"
"\n"
"Then, every time you write the keyword [code]health[/code] in your code, "
"the computer will fetch the corresponding value in its memory for you.\n"
"\n"
"Variables work a bit like product labels in a supermarket. They are names"
" that you attach to some value. Any time, you can take the label and "
"stick it onto a new product or, in that case, a new value."
msgstr ""
#. Reference: while loop
#: ./course/glossary.csv:84
msgid "while loop"
msgstr ""
#. Reference: while loop
#: ./course/glossary.csv:84
msgid "while loops"
msgstr ""
#. Reference: while loop
#: ./course/glossary.csv:84
msgid ""
"A while loop instructs the computer to keep running code based on a "
"condition. While the condition is true, the loop keeps running.\n"
"\n"
"When coding while loops, you must be careful: they will keep running "
"infinitely and freeze your game if you get the condition wrong.\n"
"\n"
"That's why we recommend using the safer for loop whenever you can.\n"
"\n"
"However, there are still essential cases in which we use while loops, "
"like processing files, processing computer code, or for powerful "
"algorithms."
msgstr ""
#. Reference: body
#: ./course/glossary.csv:85
msgid "body"
msgstr ""
#. Reference: body
#: ./course/glossary.csv:85
msgid ""
"We talk about a loop or a function's body to refer to the lines of code "
"that are part of the loop or function."
msgstr ""
#. Reference: return
#: ./course/glossary.csv:88
msgid "return"
msgstr ""
#. Reference: return
#: ./course/glossary.csv:88
msgid ""
"Returning a value is the process of sending a value to the place where "
"you call a function.\n"
"\n"
"It happens when a function uses the [code]return[/code] keyword followed "
"by a value, for example: [code]return -1[/code]."
msgstr ""
#. Reference: library
#: ./course/glossary.csv:89
msgid "library"
msgstr ""
#. Reference: library
#: ./course/glossary.csv:89
msgid "libraries"
msgstr ""
#. Reference: library
#: ./course/glossary.csv:89
msgid ""
"A collection of valuable and reusable code bundled together by other "
"programmers to save you time. All programmers use code libraries."
msgstr ""
#. Reference: sprite
#: ./course/glossary.csv:90
msgid "sprite"
msgstr ""
#. Reference: sprite
#: ./course/glossary.csv:90
msgid "sprites"
msgstr ""
#. Reference: sprite
#: ./course/glossary.csv:90
msgid ""
"In computer graphics, a sprite is an image you display on the screen. We "
"generally use this word to talk about moving images, like a character, a "
"monster, or an item falling on the ground."
msgstr ""