-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathlesson-21-strings.pot
156 lines (136 loc) · 4.66 KB
/
lesson-21-strings.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
# 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-21-strings/lesson.tres:14
msgid ""
"Throughout this course, we've mostly stored numbers in variables. But "
"what if we wanted to store a player's name?\n"
"\n"
"This is where strings help us.\n"
"\n"
"Strings are instrumental in games and applications. We use them to "
"display information such as the description of a spell or the name of a "
"character."
msgstr ""
#: course/lesson-21-strings/lesson.tres:36
msgid "What are strings"
msgstr ""
#: course/lesson-21-strings/lesson.tres:38
msgid ""
"A [code]String[/code] is a value type which holds text. To create a "
"[code]String[/code], you write text wrapped in quotation marks "
"([code]\"\"[/code]). For example: [code]\"This is a text string.\"[/code]"
"\n"
"\n"
"The quotation marks differentiate strings from other value types and "
"function names.\n"
"\n"
"You may remember we've used strings before in previous lessons."
msgstr ""
#: course/lesson-21-strings/lesson.tres:62
msgid ""
"Under the hood, strings are arrays of characters. In fact, we can use a "
"[code]for[/code] loop to loop through the characters of a "
"[code]String[/code] as we would with any other array."
msgstr ""
#: course/lesson-21-strings/lesson.tres:80
msgid "Which of these are strings?"
msgstr ""
#: course/lesson-21-strings/lesson.tres:83
msgid ""
"[code]\"1\"[/code] and [code]\"name\"[/code] are strings.\n"
"\n"
"[code]\"1\"[/code] only contains a character and [i]doesn't[/i] represent"
" the number [code]1[/code].\n"
"\n"
"[code]\"name\"[/code] is made up of four different characters."
msgstr ""
#: course/lesson-21-strings/lesson.tres:88
msgid "1"
msgstr ""
#: course/lesson-21-strings/lesson.tres:88
#: course/lesson-21-strings/lesson.tres:89
msgid "\"1\""
msgstr ""
#: course/lesson-21-strings/lesson.tres:88
#: course/lesson-21-strings/lesson.tres:89
msgid "\"name\""
msgstr ""
#: course/lesson-21-strings/lesson.tres:96
msgid "Why we use strings"
msgstr ""
#: course/lesson-21-strings/lesson.tres:118
msgid ""
"Every piece of text you see in this app is a string that Godot is "
"displaying for us.\n"
"\n"
"Much like how [code]Vector2[/code] variables make calculations easier, "
"[code]string[/code] variables come with many helper functions and tricks "
"we can use.\n"
"\n"
"We can use arrays to store strings too. This is useful for chaining "
"animations. In this example, the [code]play_animation()[/code] plays a "
"specific animation."
msgstr ""
#: course/lesson-21-strings/lesson.tres:142
msgid ""
"In the next few practices, we'll use strings in combination with "
"different concepts from earlier lessons."
msgstr ""
#: course/lesson-21-strings/lesson.tres:150
msgid "Creating string variables"
msgstr ""
#: course/lesson-21-strings/lesson.tres:151
msgid ""
"Currently, the robot has a number stored in the [code]robot_name[/code] "
"variable. \n"
"\n"
"Change the [code]robot_name[/code] variable so that it's a string "
"instead. You can give it any name you'd like."
msgstr ""
#: course/lesson-21-strings/lesson.tres:163
msgid "Give the robot a readable name using a string stored in a variable."
msgstr ""
#: course/lesson-21-strings/lesson.tres:168
msgid "Using an array of strings to play a combo"
msgstr ""
#: course/lesson-21-strings/lesson.tres:169
msgid ""
"In this practice, we'll chain together animations using an array of "
"strings. You might find such combinations in fighting games.\n"
"\n"
"The robot has the following animation names:\n"
"\n"
"- [code]jab[/code] (makes the robot perform a quick punch)\n"
"- [code]uppercut[/code] (the robot uses a powerful jumping punch)\n"
"\n"
"Populate the combo array with animation names as strings.\n"
"\n"
"Then, for each action in the array, call the "
"[code]play_animation()[/code] function to play them.\n"
"\n"
"The array should contain three values, so the robot makes these three "
"attacks: two jabs followed by one uppercut."
msgstr ""
#: course/lesson-21-strings/lesson.tres:190
msgid "Define an array of strings to unleash a powerful combo."
msgstr ""
#: course/lesson-21-strings/lesson.tres:194
msgid "Strings"
msgstr ""