Skip to content

Commit 915df27

Browse files
committed
Update german translation files
1 parent cf09db7 commit 915df27

7 files changed

Lines changed: 1035 additions & 515 deletions

File tree

‎source/locale/de/LC_MESSAGES/conditional_loops.po‎

Lines changed: 178 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -13,147 +13,231 @@ msgstr ""
1313
"PO-Revision-Date: 2013-09-03 19:34+0000\n"
1414
"Last-Translator: krother <krother@academis.eu>\n"
1515
"Language-Team: German (http://www.transifex.com/projects/p/python-for-beginners/language/de/)\n"
16-
"Language: de\n"
1716
"MIME-Version: 1.0\n"
1817
"Content-Type: text/plain; charset=UTF-8\n"
1918
"Content-Transfer-Encoding: 8bit\n"
19+
"Language: de\n"
2020

2121
#: ../../../source/conditional_loops.rst:2
2222
msgid "Conditional Loops"
2323
msgstr "Bedingte Schleifen"
2424

25-
#: ../../../source/conditional_loops.rst:5
25+
#: ../../../source/conditional_loops.rst:4
2626
msgid "Introduction"
2727
msgstr "Einführung"
2828

29-
#: ../../../source/conditional_loops.rst:7
30-
msgid ""
31-
"Conditional loops are way to repeat something until a certain condition is "
32-
"met. If the condition is never met, the loop can become infinite. In Python "
33-
"conditional loops are defined with the ``while`` statement::"
34-
msgstr ""
35-
"Bedingte Schleifen sind ein Weg Instruktionen zu wiederholen bis eine "
36-
"bestimmte Bedingung eintritt. Falls die Bedingung nie eintritt, werden die "
37-
"Befehle in der Schleife ewig wiederholt. In Python werden bedingte Schleifen "
38-
"mit ``while`` ausgedrückt::"
39-
40-
#: ../../../source/conditional_loops.rst:18
29+
#: ../../../source/conditional_loops.rst:40
4130
msgid "Turtle prison"
4231
msgstr "Schildkrötengefängnis"
4332

44-
#: ../../../source/conditional_loops.rst:21
45-
#: ../../../source/conditional_loops.rst:63
33+
#: ../../../source/conditional_loops.rst:43
34+
#: ../../../source/conditional_loops.rst:87
4635
msgid "Exercise"
4736
msgstr "Übung"
4837

49-
#: ../../../source/conditional_loops.rst:23
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
5057
msgid ""
51-
"The turtle has been up to its usual tricks again, robbing liqour stores and "
52-
"building up huge gambling debts. It's time for turtle to be put into a box "
53-
"that it can't get out of."
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."
5461
msgstr ""
55-
"Die Schildkröte hat wieder ihre übliche Masche durchgezogen, Schnapsläden "
56-
"ausgeraubt und gewaltige Spielschulden angehäuft. Es wird Zeit die "
57-
"Schildkröte hinter Gitter zu bringen, eine Kiste aus der sie nicht "
58-
"herauskommt. "
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."
5965

60-
#: ../../../source/conditional_loops.rst:27
66+
#: ../../../source/conditional_loops.rst:100
6167
msgid ""
62-
"Let's make a new version of ``forward()``. One that turns the turtle around "
63-
"if it tries to go further than 100 from the origin. We'll need a ``while`` "
64-
"loop, and some new turtle functions:"
68+
"To draw a spiral, the turtle has to rotate by a constant value and move "
69+
"forward by an increasing value."
6570
msgstr ""
66-
"Lasst uns eine neue Versio von ''forward()'' entwickeln. Eine die die "
67-
"Schildkröte umdreht, sobald sie sich mehr als 100 vom Ursprungspunkt "
68-
"entfernt. Wir werden eine ''while'' Schleife brauchen, sowie einige neue "
69-
"turtle Befehle."
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."
7074

71-
#: ../../../source/conditional_loops.rst:31
72-
msgid "``turtle.distance(0,0)`` - Distance of the turtle from the origin"
73-
msgstr "''turtle.distance(0, 0)'' - Entfernung der Schildkröte vom Ursprung."
75+
#: ../../../source/conditional_loops.rst:120
76+
msgid "Bonus"
77+
msgstr "Bonus"
7478

75-
#: ../../../source/conditional_loops.rst:32
76-
msgid "``turtle.towards(0,0)`` - The angle to get back to origin"
79+
#: ../../../source/conditional_loops.rst:6
80+
msgid ""
81+
"Conditional loops are way to repeat something while a certain condition is "
82+
"satisfied, or **True**. If the condition is always satisfied (never becomes "
83+
"**False**), the loop can become infinite. If the condition starts off false,"
84+
" the code in the loop will never run! In Python conditional loops are "
85+
"defined with the ``while`` statement::"
7786
msgstr ""
78-
"''turtle.towards(0, 0)'' - Der Winkel der zurück zum Ursprungspunkt führt."
7987

80-
#: ../../../source/conditional_loops.rst:33
81-
msgid "``turtle.setheading(angle)`` - Directly set the turtle direction"
88+
#: ../../../source/conditional_loops.rst:23
89+
msgid "We call this part of the code the 'conditional': ``'.' not in word``"
8290
msgstr ""
83-
"''turtle.setheading(winkel)'' - Die Richtung der Schildkröte direkt setzen."
8491

85-
#: ../../../source/conditional_loops.rst:35
92+
#: ../../../source/conditional_loops.rst:25
8693
msgid ""
87-
"Now you will need to implement the prison logic using these turtle "
88-
"functions, a ``while`` loop and a bit of conditional logic. It's a bit of a "
89-
"stretch but keep at it! Don't be afraid to talk it out with a coach or "
90-
"another student."
94+
"Whether the conditional return True or not determines whether the code "
95+
"inside the ``while`` loop runs."
9196
msgstr ""
92-
"Nun musst Du die Logik für das Gefängnis mit diesen turtle Funktionen "
93-
"implementieren, also eine ''while'' Schleife und einige konditionale "
94-
"Ausdrücke. Es gibt einiges zu tun, aber gib nicht auf! Frage ruhig einen der "
95-
"Coaches oder einen anderen Kursteilnehmer."
9697

97-
#: ../../../source/conditional_loops.rst:42
98-
#: ../../../source/conditional_loops.rst:80
99-
msgid "Solution"
100-
msgstr "Lösung"
98+
#: ../../../source/conditional_loops.rst:28
99+
msgid ""
100+
"Read the code above, and see if you can summarise in your head what it what "
101+
"it do (what its final output will be)."
102+
msgstr ""
101103

102-
#: ../../../source/conditional_loops.rst:56
103-
msgid "Draw a spiral"
104-
msgstr "Zeichne eine Spirale"
104+
#: ../../../source/conditional_loops.rst:31
105+
msgid ""
106+
"Then copy it into a file, say :file:`sentence.py` and run it - see exactly "
107+
"what it does. Does that match up with what you thought?"
108+
msgstr ""
105109

106-
#: ../../../source/conditional_loops.rst:58
110+
#: ../../../source/conditional_loops.rst:36
107111
msgid ""
108-
"Loops can be interrupted with the ``break`` statement. This is especially "
109-
"useful if you write an *infinite loop*, which is a loop where the "
110-
"conditional is always *True*."
112+
"If you are using Python 2, you will need to replace ``input`` with "
113+
"``raw_input`` to run the program correctly."
111114
msgstr ""
112-
"Schleifen können mit der Anweisung ''break'' unterbrochen werden. Das ist "
113-
"besonders nützlich wenn Du eine Endlosschleife schreibst, also eine "
114-
"''while'' Schleife in der die Abbruchbedingung immer *True* ist."
115115

116-
#: ../../../source/conditional_loops.rst:65
116+
#: ../../../source/conditional_loops.rst:45
117117
msgid ""
118-
"Write a ``while`` loop with a condition that is always *True* to draw a "
119-
"spiral. Interrupt the loop when the turtle reaches a certain distance from "
120-
"the center. Use the function ``turtle.distance(x, y)`` to get the turtle's "
121-
"distance to the point defined by the coordinates ``x`` and ``y``."
118+
"The turtle has been up to its usual tricks again, robbing liqour stores and "
119+
"building up huge gambling debts. It's time for turtle to be put into a cell "
120+
"that it can't get out of."
122121
msgstr ""
123-
"Schreibe eine ''while'' Schleife mit einer Bedingung die immer *True* "
124-
"ergibt, um eine Spirale zu zeichnen. Unterbreche die Schleife sobald die "
125-
"Schildkröte eine bestimmte Entfernung vom Mittelpunkt erreicht. Verwende die "
126-
"Funktion ''turtle.distance(x, y)'' um die Entfernung der Schildkröte zum "
127-
"Punkt mit den Koordinaten ''x'' und ''y'' zu erhalten."
128122

129-
#: ../../../source/conditional_loops.rst:70
123+
#: ../../../source/conditional_loops.rst:49
130124
msgid ""
131-
"To do this you will need the ``turtle.xcor()`` and ``turtle.ycor()`` "
132-
"functions, which return the position of the turtle in X and Y axes "
133-
"respectively."
125+
"Let's make a new version of ``forward()``. One that will turn the turtle "
126+
"around if it tries to go further than 100 from the origin. We'll need a "
127+
"``while`` loop, and some new turtle functions:"
128+
msgstr ""
129+
130+
#: ../../../source/conditional_loops.rst:55
131+
msgid "``turtle.setheading(angle)`` - Directly sets the turtle direction"
134132
msgstr ""
135-
"Um das zu tun, brauchst Du die Funktionen ''turtle.xcor()'' und ''turtle."
136-
"ycor()'', welche die Position der Schildkröte auf der X und Y-Achse "
137-
"zurückgeben."
138133

139-
#: ../../../source/conditional_loops.rst:76
134+
#: ../../../source/conditional_loops.rst:57
140135
msgid ""
141-
"To draw a spiral, the turtle has to rotate by a constant value and move "
142-
"forward by an increasing value."
136+
"You could try playing with a turtle in the interpreter and using these "
137+
"functions to check exactly what they do, if you like."
143138
msgstr ""
144-
"Um eine Spirale zu zeichnen, muss die Schildkröte um einen konstanten Winkel "
145-
"gedreht werden und dabei um eine anwachsende Strecke vorwärts bewegt werden."
146139

147-
#: ../../../source/conditional_loops.rst:96
148-
msgid "Bonus"
149-
msgstr "Bonus"
140+
#: ../../../source/conditional_loops.rst:60
141+
msgid ""
142+
"Now you will need to implement the prison logic using these turtle "
143+
"functions, perhaps a ``while`` loop and a bit of conditional logic. It's a "
144+
"bit of a stretch but keep at it! Don't be afraid to talk it out with a coach"
145+
" or another student."
146+
msgstr ""
150147

151-
#: ../../../source/conditional_loops.rst:98
148+
#: ../../../source/conditional_loops.rst:82
149+
msgid ""
150+
"Loops can be interrupted with the ``break`` statement. This is especially "
151+
"useful if you write an *infinite loop*, which is a loop where the "
152+
"conditional is always **True**."
153+
msgstr ""
154+
155+
#: ../../../source/conditional_loops.rst:89
156+
msgid ""
157+
"Write a ``while`` loop with a condition that is always **True** to draw a "
158+
"spiral. Interrupt the loop when the turtle reaches a certain distance from "
159+
"the center. Use the function ``turtle.distance(x, y)`` to get the turtle's "
160+
"distance to the point defined by the coordinates ``x`` and ``y``."
161+
msgstr ""
162+
163+
#: ../../../source/conditional_loops.rst:122
152164
msgid ""
153165
"Can you make a conditional for this loop, so you don't need the infinite "
154-
"loop *while True* or the *break*? Which version do you find easier to "
166+
"loop ``while True`` or the ``break``? Which version do you find easier to "
155167
"understand?"
156168
msgstr ""
157-
"Kannst du eine Bedingung für diese Schleife formulieren, so dass Du keine "
158-
"Endlosschleife *while True* oder die Anweisung *break* benötigst? Welche "
159-
"Variante findest Du einfacher zu verstehen?"
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?"

0 commit comments

Comments
 (0)