|
| 1 | +# SOME DESCRIPTIVE TITLE. |
1 | 2 | # Copyright (C) 2012, OpenTechSchool and contributors |
2 | 3 | # This file is distributed under the same license as the Introduction to Programming with Python package. |
3 | 4 | # |
4 | 5 | # Translators: |
5 | | -# lightyear <ben@opentechschool.org>, 2013 |
6 | 6 | # krother <krother@academis.eu>, 2013 |
7 | 7 | # lehmannro <transifex@robertlehmann.de>, 2013 |
| 8 | +# lightyear <ben@opentechschool.org>, 2013 |
| 9 | +# lehmannro <transifex@robertlehmann.de>, 2014 |
8 | 10 | msgid "" |
9 | 11 | msgstr "" |
10 | | -"Project-Id-Version: Introduction to Programming with Python 0.1\n" |
| 12 | +"Project-Id-Version: Python for beginners\n" |
11 | 13 | "Report-Msgid-Bugs-To: \n" |
12 | | -"POT-Creation-Date: 2013-09-22 17:04\n" |
13 | | -"PO-Revision-Date: 2013-09-03 19:34+0000\n" |
14 | | -"Last-Translator: krother <krother@academis.eu>\n" |
| 14 | +"POT-Creation-Date: 2013-10-25 09:37\n" |
| 15 | +"PO-Revision-Date: 2014-01-30 09:42+0000\n" |
| 16 | +"Last-Translator: lehmannro <transifex@robertlehmann.de>\n" |
15 | 17 | "Language-Team: German (http://www.transifex.com/projects/p/python-for-beginners/language/de/)\n" |
16 | 18 | "MIME-Version: 1.0\n" |
17 | 19 | "Content-Type: text/plain; charset=UTF-8\n" |
18 | 20 | "Content-Transfer-Encoding: 8bit\n" |
19 | 21 | "Language: de\n" |
| 22 | +"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
20 | 23 |
|
| 24 | +# 0ebffb4008364c84b28bbdbc83a58dd0 |
21 | 25 | #: ../../../source/conditional_loops.rst:2 |
22 | 26 | msgid "Conditional Loops" |
23 | 27 | msgstr "Bedingte Schleifen" |
24 | 28 |
|
| 29 | +# c001aa827a0c4efeace6c64237e071b2 |
25 | 30 | #: ../../../source/conditional_loops.rst:4 |
26 | 31 | msgid "Introduction" |
27 | 32 | msgstr "Einführung" |
28 | 33 |
|
29 | | -#: ../../../source/conditional_loops.rst:40 |
30 | | -msgid "Turtle prison" |
31 | | -msgstr "Schildkrötengefängnis" |
32 | | - |
33 | | -#: ../../../source/conditional_loops.rst:43 |
34 | | -#: ../../../source/conditional_loops.rst:87 |
35 | | -msgid "Exercise" |
36 | | -msgstr "Übung" |
37 | | - |
38 | | -#: ../../../source/conditional_loops.rst:53 |
39 | | -msgid "``turtle.distance(0,0)`` - Distance of the turtle from the origin" |
40 | | -msgstr "''turtle.distance(0, 0)'' - Entfernung der Schildkröte vom Ursprung." |
41 | | - |
42 | | -#: ../../../source/conditional_loops.rst:54 |
43 | | -msgid "``turtle.towards(0,0)`` - The angle to get back to origin" |
44 | | -msgstr "" |
45 | | -"''turtle.towards(0, 0)'' - Der Winkel der zurück zum Ursprungspunkt führt." |
46 | | - |
47 | | -#: ../../../source/conditional_loops.rst:66 |
48 | | -#: ../../../source/conditional_loops.rst:104 |
49 | | -msgid "Solution" |
50 | | -msgstr "Lösung" |
51 | | - |
52 | | -#: ../../../source/conditional_loops.rst:80 |
53 | | -msgid "Draw a spiral" |
54 | | -msgstr "Zeichne eine Spirale" |
55 | | - |
56 | | -#: ../../../source/conditional_loops.rst:94 |
57 | | -msgid "" |
58 | | -"To do this you will need the ``turtle.xcor()`` and ``turtle.ycor()`` " |
59 | | -"functions, which return the position of the turtle in X and Y axes " |
60 | | -"respectively." |
61 | | -msgstr "" |
62 | | -"Um das zu tun, brauchst Du die Funktionen ''turtle.xcor()'' und " |
63 | | -"''turtle.ycor()'', welche die Position der Schildkröte auf der X und Y-Achse" |
64 | | -" zurückgeben." |
65 | | - |
66 | | -#: ../../../source/conditional_loops.rst:100 |
67 | | -msgid "" |
68 | | -"To draw a spiral, the turtle has to rotate by a constant value and move " |
69 | | -"forward by an increasing value." |
70 | | -msgstr "" |
71 | | -"Um eine Spirale zu zeichnen, muss die Schildkröte um einen konstanten Winkel" |
72 | | -" gedreht werden und dabei um eine anwachsende Strecke vorwärts bewegt " |
73 | | -"werden." |
74 | | - |
75 | | -#: ../../../source/conditional_loops.rst:120 |
76 | | -msgid "Bonus" |
77 | | -msgstr "Bonus" |
78 | | - |
| 34 | +# 286bdc49c4f54f99a59f5aa3e5f89fa1 |
79 | 35 | #: ../../../source/conditional_loops.rst:6 |
80 | 36 | msgid "" |
81 | 37 | "Conditional loops are way to repeat something while a certain condition is " |
82 | 38 | "satisfied, or **True**. If the condition is always satisfied (never becomes " |
83 | 39 | "**False**), the loop can become infinite. If the condition starts off false," |
84 | 40 | " the code in the loop will never run! In Python conditional loops are " |
85 | 41 | "defined with the ``while`` statement::" |
86 | | -msgstr "" |
| 42 | +msgstr "Bedingte Schleifen sind ein Weg etwas zu wiederholen solange eine bestimmte Bedingung erfüllt, oder **True**, ist. Falls die Bedingung immer erfüllt ist (also nie **False** wird) wird die Schleife endlos. Falls die Bedingung schon anfänglich falsch ist, wird der Code in der Schleife niemals ausgeführt! In Python werden bedingte Schleifen mit der ``while``\\ -Anweisung definiert::" |
87 | 43 |
|
| 44 | +# dca5de2f82e543c4a48463876e388415 |
88 | 45 | #: ../../../source/conditional_loops.rst:23 |
89 | 46 | msgid "We call this part of the code the 'conditional': ``'.' not in word``" |
90 | | -msgstr "" |
| 47 | +msgstr "Wir nennen diesen Teil des Quelltextes die 'Bedingung': ``'.' not in word``" |
91 | 48 |
|
| 49 | +# 9d1aa6649ba94e21908cff558d8e8826 |
92 | 50 | #: ../../../source/conditional_loops.rst:25 |
93 | 51 | msgid "" |
94 | 52 | "Whether the conditional return True or not determines whether the code " |
95 | 53 | "inside the ``while`` loop runs." |
96 | | -msgstr "" |
| 54 | +msgstr "Ob die Bedingung wahr (True) zurückgibt oder nicht entscheidet, ob der Quelltext innerhalb der ``while``\\ -Schleife ausgeführt wird." |
97 | 55 |
|
| 56 | +# 7fc839b4812d49c087116e5c082b0654 |
98 | 57 | #: ../../../source/conditional_loops.rst:28 |
99 | 58 | msgid "" |
100 | 59 | "Read the code above, and see if you can summarise in your head what it what " |
101 | 60 | "it do (what its final output will be)." |
102 | | -msgstr "" |
| 61 | +msgstr "Lies den obigen Quelltext und schau, ob du in deinem Kopf zusammenfassen kannst was er tut (und was seine endgültige Ausgabe sein wird)." |
103 | 62 |
|
| 63 | +# 18c22a5fe65440de8c2100ef541567b0 |
104 | 64 | #: ../../../source/conditional_loops.rst:31 |
105 | 65 | msgid "" |
106 | 66 | "Then copy it into a file, say :file:`sentence.py` and run it - see exactly " |
107 | 67 | "what it does. Does that match up with what you thought?" |
108 | | -msgstr "" |
| 68 | +msgstr "Dann kopier ihn in eine Datei, sagen wir :file:`satz.py`, und führ ihn aus -- schau genau was er tut. Trifft das, was du dir gedacht hast?" |
109 | 69 |
|
| 70 | +# 400050782b514b07b884a224a79f4915 |
110 | 71 | #: ../../../source/conditional_loops.rst:36 |
111 | 72 | msgid "" |
112 | 73 | "If you are using Python 2, you will need to replace ``input`` with " |
113 | 74 | "``raw_input`` to run the program correctly." |
114 | | -msgstr "" |
| 75 | +msgstr "Falls du Python 2 benutzt wirst du ``input``mit ``raw_input`` ersetzen müssen um das Programm korrekt auszuführen." |
115 | 76 |
|
| 77 | +# 893ffd73db564e45bf4edc62de0c4aec |
| 78 | +#: ../../../source/conditional_loops.rst:40 |
| 79 | +msgid "Turtle prison" |
| 80 | +msgstr "Schildkrötengefängnis" |
| 81 | + |
| 82 | +# 45292113e45d41e7b1b92ccf9d813a8b |
| 83 | +# 324bbaf285c5445f846e9ad7f3d79213 |
| 84 | +#: ../../../source/conditional_loops.rst:43 |
| 85 | +#: ../../../source/conditional_loops.rst:87 |
| 86 | +msgid "Exercise" |
| 87 | +msgstr "Übung" |
| 88 | + |
| 89 | +# a2660c48dad44766bde0bf90b2ad0528 |
116 | 90 | #: ../../../source/conditional_loops.rst:45 |
117 | 91 | msgid "" |
118 | 92 | "The turtle has been up to its usual tricks again, robbing liqour stores and " |
119 | 93 | "building up huge gambling debts. It's time for turtle to be put into a cell " |
120 | 94 | "that it can't get out of." |
121 | | -msgstr "" |
| 95 | +msgstr "Die Schildkröte hat wieder ihre üblichen Spielchen abgezogen, Spirituosenläden ausrauben und riesige Spielschulden anhäufen. Es ist Zeit die Schildkröte in ein Gefängnis einzusperren aus dem sie nicht herauskommt." |
122 | 96 |
|
| 97 | +# c903bbaa30ea41c99d255de554d25a44 |
123 | 98 | #: ../../../source/conditional_loops.rst:49 |
124 | 99 | msgid "" |
125 | 100 | "Let's make a new version of ``forward()``. One that will turn the turtle " |
126 | 101 | "around if it tries to go further than 100 from the origin. We'll need a " |
127 | 102 | "``while`` loop, and some new turtle functions:" |
128 | | -msgstr "" |
| 103 | +msgstr "Lass uns eine neue Version von ``forward()`` bauen. Eine die die Schildkröte herumdreht falls sie versucht sich weiter als 100 von ihrem Ursprung zu entfernen. Wir brauchen eine ``while``\\ -Schleife und einige neue turtle-Funktionen:" |
129 | 104 |
|
| 105 | +# 3ce77ae318ca4616805a1fe13f9c94f0 |
| 106 | +#: ../../../source/conditional_loops.rst:53 |
| 107 | +msgid "``turtle.distance(0,0)`` - Distance of the turtle from the origin" |
| 108 | +msgstr "''turtle.distance(0, 0)'' - Entfernung der Schildkröte vom Ursprung." |
| 109 | + |
| 110 | +# 2743f0601d844fd5827dc8ca59a5161b |
| 111 | +#: ../../../source/conditional_loops.rst:54 |
| 112 | +msgid "``turtle.towards(0,0)`` - The angle to get back to origin" |
| 113 | +msgstr "''turtle.towards(0, 0)'' - Der Winkel der zurück zum Ursprungspunkt führt." |
| 114 | + |
| 115 | +# 735068e95dbb4feb83bc42382501dba0 |
130 | 116 | #: ../../../source/conditional_loops.rst:55 |
131 | 117 | msgid "``turtle.setheading(angle)`` - Directly sets the turtle direction" |
132 | | -msgstr "" |
| 118 | +msgstr "``turtle.setheading(Winkel)`` - Setz direkt die Ausrichtung der Schildkröte" |
133 | 119 |
|
| 120 | +# 0122ec4586504984bd958b7f612c62f6 |
134 | 121 | #: ../../../source/conditional_loops.rst:57 |
135 | 122 | msgid "" |
136 | 123 | "You could try playing with a turtle in the interpreter and using these " |
137 | 124 | "functions to check exactly what they do, if you like." |
138 | | -msgstr "" |
| 125 | +msgstr "Du kannst versuchen mit der turtle in einem Interpreter herumzuspielen und die Funktionen zu benutzen um genau zu sehen was sie tun, wenn du magst." |
139 | 126 |
|
| 127 | +# 0e6c0ed6971b4e538b809f9a0cd1f136 |
140 | 128 | #: ../../../source/conditional_loops.rst:60 |
141 | 129 | msgid "" |
142 | 130 | "Now you will need to implement the prison logic using these turtle " |
143 | 131 | "functions, perhaps a ``while`` loop and a bit of conditional logic. It's a " |
144 | 132 | "bit of a stretch but keep at it! Don't be afraid to talk it out with a coach" |
145 | 133 | " or another student." |
146 | | -msgstr "" |
| 134 | +msgstr "Jetzt wirst du die Gefängnislogik implementieren müssen indem du die turtle-Funktionen verwendet, vielleicht eine ``while``\\ -Schleife und ein bisschen bedingte Logik. Es ist ein bisschen haarig aber bleib dran! Scheu nicht zurück deine Idee mit einem Coach oder einem anderen Lernenden durchzusprechen." |
| 135 | + |
| 136 | +# 1b49d73c3a5e4021ac2fe477151ecc2f |
| 137 | +# 14cab36de06d4023b20c5be256604d50 |
| 138 | +#: ../../../source/conditional_loops.rst:66 |
| 139 | +#: ../../../source/conditional_loops.rst:104 |
| 140 | +msgid "Solution" |
| 141 | +msgstr "Lösung" |
147 | 142 |
|
| 143 | +# 352a42136ca6400ab20cf89a1ab398b3 |
| 144 | +#: ../../../source/conditional_loops.rst:80 |
| 145 | +msgid "Draw a spiral" |
| 146 | +msgstr "Zeichne eine Spirale" |
| 147 | + |
| 148 | +# 6aeef203d95c4a34bd5bd692b99ebe55 |
148 | 149 | #: ../../../source/conditional_loops.rst:82 |
149 | 150 | msgid "" |
150 | 151 | "Loops can be interrupted with the ``break`` statement. This is especially " |
151 | 152 | "useful if you write an *infinite loop*, which is a loop where the " |
152 | 153 | "conditional is always **True**." |
153 | | -msgstr "" |
| 154 | +msgstr "Schleifen können mit der ``break``\\ -Anweisung unterbrochen werden. Das ist besonders nützlich wenn du eine *Endlosschleife* schreibst, was eine Schleife ist deren Bedingung immer wahr (**True**) ist." |
154 | 155 |
|
| 156 | +# 217e80c3d8024535a12d1b844ab5475a |
155 | 157 | #: ../../../source/conditional_loops.rst:89 |
156 | 158 | msgid "" |
157 | 159 | "Write a ``while`` loop with a condition that is always **True** to draw a " |
158 | 160 | "spiral. Interrupt the loop when the turtle reaches a certain distance from " |
159 | 161 | "the center. Use the function ``turtle.distance(x, y)`` to get the turtle's " |
160 | 162 | "distance to the point defined by the coordinates ``x`` and ``y``." |
161 | | -msgstr "" |
| 163 | +msgstr "Schreib eine ``while``\\ -Schleife mit einer Bedingung die immer wahr (**True**) ist um eine Spirale zu malen. Unterbrich die Schleife wenn die turtle eine gewissen Distanz zum Mittelpunkt erreicht hat. Benutz die Funktion ``turtle.distance(x, y)`` um die Entfernung der Schildkröte zu dem durch die ``x``\\ - und ``y``\\ -Koordinaten bestimmten Punkt zu errechnen." |
162 | 164 |
|
| 165 | +# bd8e43cfe2964a199f111a74393dff96 |
| 166 | +#: ../../../source/conditional_loops.rst:94 |
| 167 | +msgid "" |
| 168 | +"To do this you will need the ``turtle.xcor()`` and ``turtle.ycor()`` " |
| 169 | +"functions, which return the position of the turtle in X and Y axes " |
| 170 | +"respectively." |
| 171 | +msgstr "Um das zu tun, brauchst Du die Funktionen ''turtle.xcor()'' und ''turtle.ycor()'', welche die Position der Schildkröte auf der X und Y-Achse zurückgeben." |
| 172 | + |
| 173 | +# 88a12b054e8245ca96d6e8180a7d0212 |
| 174 | +#: ../../../source/conditional_loops.rst:100 |
| 175 | +msgid "" |
| 176 | +"To draw a spiral, the turtle has to rotate by a constant value and move " |
| 177 | +"forward by an increasing value." |
| 178 | +msgstr "Um eine Spirale zu zeichnen, muss die Schildkröte um einen konstanten Winkel gedreht werden und dabei um eine anwachsende Strecke vorwärts bewegt werden." |
| 179 | + |
| 180 | +# 8030819ae52e44e3a12fc6b6b071eb14 |
| 181 | +#: ../../../source/conditional_loops.rst:120 |
| 182 | +msgid "Bonus" |
| 183 | +msgstr "Bonus" |
| 184 | + |
| 185 | +# 5d9767087dc74306a1046a3c8d5b7936 |
163 | 186 | #: ../../../source/conditional_loops.rst:122 |
164 | 187 | msgid "" |
165 | 188 | "Can you make a conditional for this loop, so you don't need the infinite " |
166 | 189 | "loop ``while True`` or the ``break``? Which version do you find easier to " |
167 | 190 | "understand?" |
168 | | -msgstr "" |
169 | | - |
170 | | -#~ msgid "" |
171 | | -#~ "Conditional loops are way to repeat something until a certain condition is " |
172 | | -#~ "met. If the condition is never met, the loop can become infinite. In Python " |
173 | | -#~ "conditional loops are defined with the ``while`` statement::" |
174 | | -#~ msgstr "" |
175 | | -#~ "Bedingte Schleifen sind ein Weg Instruktionen zu wiederholen bis eine " |
176 | | -#~ "bestimmte Bedingung eintritt. Falls die Bedingung nie eintritt, werden die " |
177 | | -#~ "Befehle in der Schleife ewig wiederholt. In Python werden bedingte Schleifen" |
178 | | -#~ " mit ``while`` ausgedrückt::" |
179 | | - |
180 | | -#~ msgid "" |
181 | | -#~ "The turtle has been up to its usual tricks again, robbing liqour stores and " |
182 | | -#~ "building up huge gambling debts. It's time for turtle to be put into a box " |
183 | | -#~ "that it can't get out of." |
184 | | -#~ msgstr "" |
185 | | -#~ "Die Schildkröte hat wieder ihre übliche Masche durchgezogen, Schnapsläden " |
186 | | -#~ "ausgeraubt und gewaltige Spielschulden angehäuft. Es wird Zeit die " |
187 | | -#~ "Schildkröte hinter Gitter zu bringen, eine Kiste aus der sie nicht " |
188 | | -#~ "herauskommt. " |
189 | | - |
190 | | -#~ msgid "" |
191 | | -#~ "Let's make a new version of ``forward()``. One that turns the turtle around " |
192 | | -#~ "if it tries to go further than 100 from the origin. We'll need a ``while`` " |
193 | | -#~ "loop, and some new turtle functions:" |
194 | | -#~ msgstr "" |
195 | | -#~ "Lasst uns eine neue Versio von ''forward()'' entwickeln. Eine die die " |
196 | | -#~ "Schildkröte umdreht, sobald sie sich mehr als 100 vom Ursprungspunkt " |
197 | | -#~ "entfernt. Wir werden eine ''while'' Schleife brauchen, sowie einige neue " |
198 | | -#~ "turtle Befehle." |
199 | | - |
200 | | -#~ msgid "``turtle.setheading(angle)`` - Directly set the turtle direction" |
201 | | -#~ msgstr "" |
202 | | -#~ "''turtle.setheading(winkel)'' - Die Richtung der Schildkröte direkt setzen." |
203 | | - |
204 | | -#~ msgid "" |
205 | | -#~ "Now you will need to implement the prison logic using these turtle " |
206 | | -#~ "functions, a ``while`` loop and a bit of conditional logic. It's a bit of a " |
207 | | -#~ "stretch but keep at it! Don't be afraid to talk it out with a coach or " |
208 | | -#~ "another student." |
209 | | -#~ msgstr "" |
210 | | -#~ "Nun musst Du die Logik für das Gefängnis mit diesen turtle Funktionen " |
211 | | -#~ "implementieren, also eine ''while'' Schleife und einige konditionale " |
212 | | -#~ "Ausdrücke. Es gibt einiges zu tun, aber gib nicht auf! Frage ruhig einen der" |
213 | | -#~ " Coaches oder einen anderen Kursteilnehmer." |
214 | | - |
215 | | -#~ msgid "" |
216 | | -#~ "Loops can be interrupted with the ``break`` statement. This is especially " |
217 | | -#~ "useful if you write an *infinite loop*, which is a loop where the " |
218 | | -#~ "conditional is always *True*." |
219 | | -#~ msgstr "" |
220 | | -#~ "Schleifen können mit der Anweisung ''break'' unterbrochen werden. Das ist " |
221 | | -#~ "besonders nützlich wenn Du eine Endlosschleife schreibst, also eine " |
222 | | -#~ "''while'' Schleife in der die Abbruchbedingung immer *True* ist." |
223 | | - |
224 | | -#~ msgid "" |
225 | | -#~ "Write a ``while`` loop with a condition that is always *True* to draw a " |
226 | | -#~ "spiral. Interrupt the loop when the turtle reaches a certain distance from " |
227 | | -#~ "the center. Use the function ``turtle.distance(x, y)`` to get the turtle's " |
228 | | -#~ "distance to the point defined by the coordinates ``x`` and ``y``." |
229 | | -#~ msgstr "" |
230 | | -#~ "Schreibe eine ''while'' Schleife mit einer Bedingung die immer *True* " |
231 | | -#~ "ergibt, um eine Spirale zu zeichnen. Unterbreche die Schleife sobald die " |
232 | | -#~ "Schildkröte eine bestimmte Entfernung vom Mittelpunkt erreicht. Verwende die" |
233 | | -#~ " Funktion ''turtle.distance(x, y)'' um die Entfernung der Schildkröte zum " |
234 | | -#~ "Punkt mit den Koordinaten ''x'' und ''y'' zu erhalten." |
235 | | - |
236 | | -#~ msgid "" |
237 | | -#~ "Can you make a conditional for this loop, so you don't need the infinite " |
238 | | -#~ "loop *while True* or the *break*? Which version do you find easier to " |
239 | | -#~ "understand?" |
240 | | -#~ msgstr "" |
241 | | -#~ "Kannst du eine Bedingung für diese Schleife formulieren, so dass Du keine " |
242 | | -#~ "Endlosschleife *while True* oder die Anweisung *break* benötigst? Welche " |
243 | | -#~ "Variante findest Du einfacher zu verstehen?" |
| 191 | +msgstr "Kannst du eine Bedingung für die Schleife formulieren so das du du keine Endlosschleife ``while True`` oder die ``break``\\ -Anweisung benötigst. Welche Version findest du einfacher zu verstehen?" |
0 commit comments