-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpl.po
More file actions
1879 lines (1776 loc) · 53.8 KB
/
Copy pathpl.po
File metadata and controls
1879 lines (1776 loc) · 53.8 KB
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
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Polish translations for turtle-translations.
# Copyright (C) 2026 ORGANIZATION
# This file is distributed under the same license as the turtle-translations project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: turtle-translations 3.16.0a0\n"
"Report-Msgid-Bugs-To: https://github.com/python/turtle-translations/issues\n"
"POT-Creation-Date: 2026-09-12 10:34+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: pl\n"
"Language-Team: pl <[email protected]>\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.18.0\n"
#. turtle.RawTurtle
msgid ""
"Animation part of the RawTurtle.\n"
"Puts RawTurtle upon a TurtleScreen and provides tools for\n"
"its animation.\n"
msgstr ""
#. turtle.Screen
msgid ""
"Return the singleton screen object.\n"
"If none exists at the moment, create a new one and return it,\n"
"else return the existing one."
msgstr ""
#. turtle.ScrolledCanvas
msgid ""
"Modeled after the scrolled canvas class from Grayons's Tkinter book.\n"
"\n"
"Used as the default canvas, which pops up automatically when\n"
"using turtle graphics functions or the Turtle class.\n"
msgstr ""
#. turtle.Shape
msgid ""
"Data structure modeling shapes.\n"
"\n"
"attribute _type is one of \"polygon\", \"image\", \"compound\"\n"
"attribute _data is - depending on _type a poygon-tuple,\n"
"an image or a list constructed using the addcomponent method.\n"
msgstr ""
#. turtle.Terminator
msgid ""
"Will be raised in TurtleScreen.update, if _RUNNING becomes False.\n"
"\n"
"This stops execution of a turtle graphics script.\n"
"Main purpose: use in the Demo-Viewer turtle.Demo.py.\n"
msgstr ""
#. turtle.Turtle
msgid ""
"RawTurtle auto-creating (scrolled) canvas.\n"
"\n"
"When a Turtle object is created or a function derived from some\n"
"Turtle method is called a TurtleScreen object is automatically created.\n"
msgstr ""
#. turtle.Turtle.back
msgid ""
"Move the turtle backward by distance.\n"
"\n"
"Aliases: back | backward | bk\n"
"\n"
"Argument:\n"
"distance -- a number\n"
"\n"
"Move the turtle backward by distance, opposite to the direction the\n"
"turtle is headed. Do not change the turtle's heading.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.backward(30)\n"
">>> turtle.position()\n"
"(-30.00,0.00)\n"
msgstr ""
#. turtle.Turtle.begin_fill
msgid ""
"Called just before drawing a shape to be filled.\n"
"\n"
"No argument.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.color(\"black\", \"red\")\n"
">>> turtle.begin_fill()\n"
">>> turtle.circle(60)\n"
">>> turtle.end_fill()\n"
msgstr ""
#. turtle.Turtle.begin_poly
msgid ""
"Start recording the vertices of a polygon.\n"
"\n"
"No argument.\n"
"\n"
"Start recording the vertices of a polygon. Current turtle position\n"
"is first point of polygon.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.begin_poly()\n"
msgstr ""
#. turtle.Turtle.circle
msgid ""
"Draw a circle with given radius.\n"
"\n"
"Arguments:\n"
"radius -- a number\n"
"extent (optional) -- a number\n"
"steps (optional) -- an integer\n"
"\n"
"Draw a circle with given radius. The center is radius units left\n"
"of the turtle; extent - an angle - determines which part of the\n"
"circle is drawn. If extent is not given, draw the entire circle.\n"
"If extent is not a full circle, one endpoint of the arc is the\n"
"current pen position. Draw the arc in counterclockwise direction\n"
"if radius is positive, otherwise in clockwise direction. Finally\n"
"the direction of the turtle is changed by the amount of extent.\n"
"\n"
"As the circle is approximated by an inscribed regular polygon,\n"
"steps determines the number of steps to use. If not given,\n"
"it will be calculated automatically. Maybe used to draw regular\n"
"polygons.\n"
"\n"
"call: circle(radius) # full circle\n"
"--or: circle(radius, extent) # arc\n"
"--or: circle(radius, extent, steps)\n"
"--or: circle(radius, steps=6) # 6-sided polygon\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.circle(50)\n"
">>> turtle.circle(120, 180) # semicircle\n"
msgstr ""
#. turtle.Turtle.clear
msgid ""
"Delete the turtle's drawings from the screen. Do not move turtle.\n"
"\n"
"No arguments.\n"
"\n"
"Delete the turtle's drawings from the screen. Do not move turtle.\n"
"State and position of the turtle as well as drawings of other\n"
"turtles are not affected.\n"
"\n"
"Examples (for a Turtle instance named turtle):\n"
">>> turtle.clear()\n"
msgstr ""
#. turtle.Turtle.clearstamp
msgid ""
"Delete stamp with given stampid\n"
"\n"
"Argument:\n"
"stampid - an integer, must be return value of previous stamp() call.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.color(\"blue\")\n"
">>> astamp = turtle.stamp()\n"
">>> turtle.fd(50)\n"
">>> turtle.clearstamp(astamp)\n"
msgstr ""
#. turtle.Turtle.clearstamps
msgid ""
"Delete all or first/last n of turtle's stamps.\n"
"\n"
"Optional argument:\n"
"n -- an integer\n"
"\n"
"If n is None, delete all of pen's stamps,\n"
"else if n > 0 delete first n stamps\n"
"else if n < 0 delete last n stamps.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> for i in range(8):\n"
"... turtle.stamp(); turtle.fd(30)\n"
"...\n"
">>> turtle.clearstamps(2)\n"
">>> turtle.clearstamps(-2)\n"
">>> turtle.clearstamps()\n"
msgstr ""
#. turtle.Turtle.clone
msgid ""
"Create and return a clone of the turtle.\n"
"\n"
"No argument.\n"
"\n"
"Create and return a clone of the turtle with same position, heading\n"
"and turtle properties.\n"
"\n"
"Example (for a Turtle instance named mick):\n"
"mick = Turtle()\n"
"joe = mick.clone()\n"
msgstr ""
#. turtle.Turtle.color
msgid ""
"Return or set the pencolor and fillcolor.\n"
"\n"
"Arguments:\n"
"Several input formats are allowed.\n"
"They use 0 to 3 arguments as follows:\n"
" - color()\n"
" Return the current pencolor and the current fillcolor as\n"
" a pair of color specification strings or tuples as returned\n"
" by pencolor() and fillcolor().\n"
" - color(colorstring), color((r,g,b)), color(r,g,b)\n"
" Inputs as in pencolor(), set both, fillcolor and pencolor,\n"
" to the given value.\n"
" - color(colorstring1, colorstring2), color((r1,g1,b1), (r2,g2,b2))\n"
" Equivalent to pencolor(colorstring1) and fillcolor(colorstring2)\n"
" and analogously if the other input format is used.\n"
"\n"
"If turtleshape is a polygon, outline and interior of that polygon\n"
"is drawn with the newly set colors.\n"
"For more info see: pencolor, fillcolor\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.color('red', 'green')\n"
">>> turtle.color()\n"
"('red', 'green')\n"
">>> colormode(255)\n"
">>> color(('#285078', '#a0c8f0'))\n"
">>> color()\n"
"((40.0, 80.0, 120.0), (160.0, 200.0, 240.0))\n"
msgstr ""
#. turtle.Turtle.degrees
msgid ""
"Set angle measurement units to degrees.\n"
"\n"
"Optional argument:\n"
"fullcircle - a number\n"
"\n"
"Set angle measurement units, i. e. set number\n"
"of 'degrees' for a full circle. Default value is\n"
"360 degrees.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.left(90)\n"
">>> turtle.heading()\n"
"90\n"
"\n"
"Change angle measurement unit to grad (also known as gon,\n"
"grade, or gradian and equals 1/100-th of the right angle.)\n"
">>> turtle.degrees(400.0)\n"
">>> turtle.heading()\n"
"100\n"
"\n"
msgstr ""
#. turtle.Turtle.distance
msgid ""
"Return the distance from the turtle to (x,y) in turtle step units.\n"
"\n"
"Arguments:\n"
"x -- a number or a pair/vector of numbers or a turtle instance\n"
"y -- a number None None\n"
"\n"
"call: distance(x, y) # two coordinates\n"
"--or: distance((x, y)) # a pair (tuple) of coordinates\n"
"--or: distance(vec) # e.g. as returned by pos()\n"
"--or: distance(mypen) # where mypen is another turtle\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.pos()\n"
"(0.00,0.00)\n"
">>> turtle.distance(30,40)\n"
"50.0\n"
">>> pen = Turtle()\n"
">>> pen.forward(77)\n"
">>> turtle.distance(pen)\n"
"77.0\n"
msgstr ""
#. turtle.Turtle.dot
msgid ""
"Draw a dot with diameter size, using color.\n"
"\n"
"Optional arguments:\n"
"size -- an integer >= 1 (if given)\n"
"color -- a colorstring or a numeric color tuple\n"
"\n"
"Draw a circular dot with diameter size, using color.\n"
"If size is not given, the maximum of pensize+4 and 2*pensize is used.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.dot()\n"
">>> turtle.fd(50); turtle.dot(20, \"blue\"); turtle.fd(50)\n"
msgstr ""
#. turtle.Turtle.down
#. turtle.Turtle.pendown
msgid ""
"Pull the pen down -- drawing when moving.\n"
"\n"
"Aliases: pendown | pd | down\n"
"\n"
"No argument.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.pendown()\n"
msgstr ""
#. turtle.Turtle.end_fill
msgid ""
"Fill the shape drawn after the call begin_fill().\n"
"\n"
"No argument.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.color(\"black\", \"red\")\n"
">>> turtle.begin_fill()\n"
">>> turtle.circle(60)\n"
">>> turtle.end_fill()\n"
msgstr ""
#. turtle.Turtle.end_poly
msgid ""
"Stop recording the vertices of a polygon.\n"
"\n"
"No argument.\n"
"\n"
"Stop recording the vertices of a polygon. Current turtle position is\n"
"last point of polygon. This will be connected with the first point.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.end_poly()\n"
msgstr ""
#. turtle.Turtle.fill
msgid ""
"A context manager for filling a shape.\n"
"\n"
"Implicitly ensures the code block is wrapped with\n"
"begin_fill() and end_fill().\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.color(\"black\", \"red\")\n"
">>> with turtle.fill():\n"
"... turtle.circle(60)\n"
msgstr ""
#. turtle.Turtle.fillcolor
msgid ""
"Return or set the fillcolor.\n"
"\n"
"Arguments:\n"
"Four input formats are allowed:\n"
" - fillcolor()\n"
" Return the current fillcolor as color specification string,\n"
" possibly in tuple format (see example). May be used as\n"
" input to another color/pencolor/fillcolor/bgcolor call.\n"
" - fillcolor(colorstring)\n"
" Set fillcolor to colorstring, which is a Tk color\n"
" specification string, such as \"red\", \"yellow\", or \"#33cc8c\".\n"
" - fillcolor((r, g, b))\n"
" Set fillcolor to the RGB color represented by the tuple of\n"
" r, g, and b. Each of r, g, and b must be in the range\n"
" 0..colormode, where colormode is either 1.0 or 255 (see\n"
" colormode()).\n"
" - fillcolor(r, g, b)\n"
" Set fillcolor to the RGB color represented by r, g, and b.\n"
" Each of r, g, and b must be in the range 0..colormode.\n"
"\n"
"If turtleshape is a polygon, the interior of that polygon is drawn\n"
"with the newly set fillcolor.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.fillcolor('violet')\n"
">>> turtle.fillcolor()\n"
"'violet'\n"
">>> colormode(255)\n"
">>> turtle.fillcolor('#ffffff')\n"
">>> turtle.fillcolor()\n"
"(255.0, 255.0, 255.0)\n"
msgstr ""
#. turtle.Turtle.filling
msgid ""
"Return fillstate (True if filling, False else).\n"
"\n"
"No argument.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.begin_fill()\n"
">>> if turtle.filling():\n"
"... turtle.pensize(5)\n"
"... else:\n"
"... turtle.pensize(3)\n"
msgstr ""
#. turtle.Turtle.forward
msgid ""
"Move the turtle forward by the specified distance.\n"
"\n"
"Aliases: forward | fd\n"
"\n"
"Argument:\n"
"distance -- a number (integer or float)\n"
"\n"
"Move the turtle forward by the specified distance, in the direction\n"
"the turtle is headed.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.forward(25)\n"
">>> turtle.position()\n"
"(25.00,0.00)\n"
">>> turtle.forward(-75)\n"
">>> turtle.position()\n"
"(-50.00,0.00)\n"
msgstr ""
#. turtle.Turtle.get_poly
msgid ""
"Return the lastly recorded polygon.\n"
"\n"
"No argument.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> p = turtle.get_poly()\n"
">>> turtle.register_shape(\"myFavouriteShape\", p)\n"
msgstr ""
#. turtle.Turtle.get_shapepoly
msgid ""
"Return the current shape polygon as tuple of coordinate pairs.\n"
"\n"
"No argument.\n"
"\n"
"Examples (for a Turtle instance named turtle):\n"
">>> turtle.shape(\"square\")\n"
">>> turtle.shapetransform(4, -1, 0, 2)\n"
">>> turtle.get_shapepoly()\n"
"((50, -20), (30, 20), (-50, 20), (-30, -20))\n"
"\n"
msgstr ""
#. turtle.Turtle.getpen
#. turtle.Turtle.getturtle
msgid ""
"Return the Turtleobject itself.\n"
"\n"
"No argument.\n"
"\n"
"Only reasonable use: as a function to return the 'anonymous turtle':\n"
"\n"
"Example:\n"
">>> pet = getturtle()\n"
">>> pet.fd(50)\n"
">>> pet\n"
"<turtle.Turtle object at 0x0187D810>\n"
">>> turtles()\n"
"[<turtle.Turtle object at 0x0187D810>]\n"
msgstr ""
#. turtle.Turtle.getscreen
msgid ""
"Return the TurtleScreen object, the turtle is drawing on.\n"
"\n"
"No argument.\n"
"\n"
"Return the TurtleScreen object, the turtle is drawing on.\n"
"So TurtleScreen-methods can be called for that object.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> ts = turtle.getscreen()\n"
">>> ts\n"
"<turtle.TurtleScreen object at 0x0106B770>\n"
">>> ts.bgcolor(\"pink\")\n"
msgstr ""
#. turtle.Turtle.goto
msgid ""
"Move turtle to an absolute position.\n"
"\n"
"Aliases: setpos | setposition | goto:\n"
"\n"
"Arguments:\n"
"x -- a number or a pair/vector of numbers\n"
"y -- a number None\n"
"\n"
"call: goto(x, y) # two coordinates\n"
"--or: goto((x, y)) # a pair (tuple) of coordinates\n"
"--or: goto(vec) # e.g. as returned by pos()\n"
"\n"
"Move turtle to an absolute position. If the pen is down,\n"
"a line will be drawn. The turtle's orientation does not change.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> tp = turtle.pos()\n"
">>> tp\n"
"(0.00,0.00)\n"
">>> turtle.setpos(60,30)\n"
">>> turtle.pos()\n"
"(60.00,30.00)\n"
">>> turtle.setpos((20,80))\n"
">>> turtle.pos()\n"
"(20.00,80.00)\n"
">>> turtle.setpos(tp)\n"
">>> turtle.pos()\n"
"(0.00,0.00)\n"
msgstr ""
#. turtle.Turtle.heading
msgid ""
"Return the turtle's current heading.\n"
"\n"
"No arguments.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.left(67)\n"
">>> turtle.heading()\n"
"67.0\n"
msgstr ""
#. turtle.Turtle.hideturtle
msgid ""
"Makes the turtle invisible.\n"
"\n"
"Aliases: hideturtle | ht\n"
"\n"
"No argument.\n"
"\n"
"It's a good idea to do this while you're in the\n"
"middle of a complicated drawing, because hiding\n"
"the turtle speeds up the drawing observably.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.hideturtle()\n"
msgstr ""
#. turtle.Turtle.home
msgid ""
"Move turtle to the origin - coordinates (0,0).\n"
"\n"
"No arguments.\n"
"\n"
"Move turtle to the origin - coordinates (0,0) and set its\n"
"heading to its start-orientation (which depends on mode).\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.home()\n"
msgstr ""
#. turtle.Turtle.isdown
msgid ""
"Return True if pen is down, False if it's up.\n"
"\n"
"No argument.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.penup()\n"
">>> turtle.isdown()\n"
"False\n"
">>> turtle.pendown()\n"
">>> turtle.isdown()\n"
"True\n"
msgstr ""
#. turtle.Turtle.isvisible
msgid ""
"Return True if the Turtle is shown, False if it's hidden.\n"
"\n"
"No argument.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.hideturtle()\n"
">>> print(turtle.isvisible())\n"
"False\n"
msgstr ""
#. turtle.Turtle.left
msgid ""
"Turn turtle left by angle units.\n"
"\n"
"Aliases: left | lt\n"
"\n"
"Argument:\n"
"angle -- a number (integer or float)\n"
"\n"
"Turn turtle left by angle units. (Units are by default degrees,\n"
"but can be set via the degrees() and radians() functions.)\n"
"Angle orientation depends on mode. (See this.)\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.heading()\n"
"22.0\n"
">>> turtle.left(45)\n"
">>> turtle.heading()\n"
"67.0\n"
msgstr ""
#. turtle.Turtle.onclick
msgid ""
"Bind fun to mouse-click event on this turtle on canvas.\n"
"\n"
"Arguments:\n"
"fun -- a function with two arguments, to which will be assigned\n"
" the coordinates of the clicked point on the canvas.\n"
"btn -- number of the mouse-button defaults to 1 (left mouse button).\n"
"add -- True or False. If True, new binding will be added, otherwise\n"
" it will replace a former binding.\n"
"\n"
"Example for the anonymous turtle, i. e. the procedural way:\n"
"\n"
">>> def turn(x, y):\n"
"... left(360)\n"
"...\n"
">>> onclick(turn) # Now clicking into the turtle will turn it.\n"
">>> onclick(None) # event-binding will be removed\n"
msgstr ""
#. turtle.Turtle.ondrag
msgid ""
"Bind fun to mouse-move event on this turtle on canvas.\n"
"\n"
"Arguments:\n"
"fun -- a function with two arguments, to which will be assigned\n"
" the coordinates of the clicked point on the canvas.\n"
"btn -- number of the mouse-button defaults to 1 (left mouse button).\n"
"\n"
"Every sequence of mouse-move-events on a turtle is preceded by a\n"
"mouse-click event on that turtle.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.ondrag(turtle.goto)\n"
"\n"
"Subsequently clicking and dragging a Turtle will move it\n"
"across the screen thereby producing handdrawings (if pen is\n"
"down).\n"
msgstr ""
#. turtle.Turtle.onrelease
msgid ""
"Bind fun to mouse-button-release event on this turtle on canvas.\n"
"\n"
"Arguments:\n"
"fun -- a function with two arguments, to which will be assigned\n"
" the coordinates of the clicked point on the canvas.\n"
"btn -- number of the mouse-button defaults to 1 (left mouse button).\n"
"\n"
"Example (for a MyTurtle instance named joe):\n"
">>> class MyTurtle(Turtle):\n"
"... def glow(self,x,y):\n"
"... self.fillcolor(\"red\")\n"
"... def unglow(self,x,y):\n"
"... self.fillcolor(\"\")\n"
"...\n"
">>> joe = MyTurtle()\n"
">>> joe.onclick(joe.glow)\n"
">>> joe.onrelease(joe.unglow)\n"
"\n"
"Clicking on joe turns fillcolor red, unclicking turns it to\n"
"transparent.\n"
msgstr ""
#. turtle.Turtle.pen
#, python-brace-format
msgid ""
"Return or set the pen's attributes.\n"
"\n"
"Arguments:\n"
" pen -- a dictionary with some or all of the below listed keys.\n"
" **pendict -- one or more keyword-arguments with the below\n"
" listed keys as keywords.\n"
"\n"
"Return or set the pen's attributes in a 'pen-dictionary'\n"
"with the following key/value pairs:\n"
" \"shown\" : True/False\n"
" \"pendown\" : True/False\n"
" \"pencolor\" : color-string or color-tuple\n"
" \"fillcolor\" : color-string or color-tuple\n"
" \"pensize\" : positive number\n"
" \"speed\" : number in range 0..10\n"
" \"resizemode\" : \"auto\" or \"user\" or \"noresize\"\n"
" \"stretchfactor\": (positive number, positive number)\n"
" \"shearfactor\": number\n"
" \"outline\" : positive number\n"
" \"tilt\" : number\n"
"\n"
"This dictionary can be used as argument for a subsequent\n"
"pen()-call to restore the former pen-state. Moreover one\n"
"or more of these attributes can be provided as keyword-arguments.\n"
"This can be used to set several pen attributes in one statement.\n"
"\n"
"\n"
"Examples (for a Turtle instance named turtle):\n"
">>> turtle.pen(fillcolor=\"black\", pencolor=\"red\", pensize=10)\n"
">>> turtle.pen()\n"
"{'pensize': 10, 'shown': True, 'resizemode': 'auto', 'outline': 1,\n"
"'pencolor': 'red', 'pendown': True, 'fillcolor': 'black',\n"
"'stretchfactor': (1,1), 'speed': 3, 'shearfactor': 0.0}\n"
">>> penstate=turtle.pen()\n"
">>> turtle.color(\"yellow\",\"\")\n"
">>> turtle.penup()\n"
">>> turtle.pen()\n"
"{'pensize': 10, 'shown': True, 'resizemode': 'auto', 'outline': 1,\n"
"'pencolor': 'yellow', 'pendown': False, 'fillcolor': '',\n"
"'stretchfactor': (1,1), 'speed': 3, 'shearfactor': 0.0}\n"
">>> p.pen(penstate, fillcolor=\"green\")\n"
">>> p.pen()\n"
"{'pensize': 10, 'shown': True, 'resizemode': 'auto', 'outline': 1,\n"
"'pencolor': 'red', 'pendown': True, 'fillcolor': 'green',\n"
"'stretchfactor': (1,1), 'speed': 3, 'shearfactor': 0.0}\n"
msgstr ""
#. turtle.Turtle.pencolor
msgid ""
"Return or set the pencolor.\n"
"\n"
"Arguments:\n"
"Four input formats are allowed:\n"
" - pencolor()\n"
" Return the current pencolor as color specification string or\n"
" as a tuple (see example). May be used as input to another\n"
" color/pencolor/fillcolor/bgcolor call.\n"
" - pencolor(colorstring)\n"
" Set pencolor to colorstring, which is a Tk color\n"
" specification string, such as \"red\", \"yellow\", or \"#33cc8c\".\n"
" - pencolor((r, g, b))\n"
" Set pencolor to the RGB color represented by the tuple of\n"
" r, g, and b. Each of r, g, and b must be in the range\n"
" 0..colormode, where colormode is either 1.0 or 255 (see\n"
" colormode()).\n"
" - pencolor(r, g, b)\n"
" Set pencolor to the RGB color represented by r, g, and b.\n"
" Each of r, g, and b must be in the range 0..colormode.\n"
"\n"
"If turtleshape is a polygon, the outline of that polygon is drawn\n"
"with the newly set pencolor.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.pencolor('brown')\n"
">>> turtle.pencolor()\n"
"'brown'\n"
">>> colormode(255)\n"
">>> turtle.pencolor('#32c18f')\n"
">>> turtle.pencolor()\n"
"(50.0, 193.0, 143.0)\n"
msgstr ""
#. turtle.Turtle.pensize
msgid ""
"Set or return the line thickness.\n"
"\n"
"Aliases: pensize | width\n"
"\n"
"Argument:\n"
"width -- positive number\n"
"\n"
"Set the line thickness to width or return it. If resizemode is set\n"
"to \"auto\" and turtleshape is a polygon, that polygon is drawn with\n"
"the same line thickness. If no argument is given, current pensize\n"
"is returned.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.pensize()\n"
"1\n"
">>> turtle.pensize(10) # from here on lines of width 10 are drawn\n"
msgstr ""
#. turtle.Turtle.penup
msgid ""
"Pull the pen up -- no drawing when moving.\n"
"\n"
"Aliases: penup | pu | up\n"
"\n"
"No argument\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.penup()\n"
msgstr ""
#. turtle.Turtle.poly
msgid ""
"A context manager for recording the vertices of a polygon.\n"
"\n"
"Implicitly ensures that the code block is wrapped with\n"
"begin_poly() and end_poly()\n"
"\n"
"Example (for a Turtle instance named turtle) where we create a\n"
"triangle as the polygon and move the turtle 100 steps forward:\n"
">>> with turtle.poly():\n"
"... for side in range(3)\n"
"... turtle.forward(50)\n"
"... turtle.right(60)\n"
">>> turtle.forward(100)\n"
msgstr ""
#. turtle.Turtle.position
msgid ""
"Return the turtle's current location (x,y), as a Vec2D-vector.\n"
"\n"
"Aliases: pos | position\n"
"\n"
"No arguments.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.pos()\n"
"(0.00, 240.00)\n"
msgstr ""
#. turtle.Turtle.radians
msgid ""
"Set the angle measurement units to radians.\n"
"\n"
"No arguments.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.heading()\n"
"90\n"
">>> turtle.radians()\n"
">>> turtle.heading()\n"
"1.5707963267948966\n"
msgstr ""
#. turtle.Turtle.reset
msgid ""
"Delete the turtle's drawings and restore its default values.\n"
"\n"
"No argument.\n"
"\n"
"Delete the turtle's drawings from the screen, re-center the turtle\n"
"and set variables to the default values.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.position()\n"
"(0.00,-22.00)\n"
">>> turtle.heading()\n"
"100.0\n"
">>> turtle.reset()\n"
">>> turtle.position()\n"
"(0.00,0.00)\n"
">>> turtle.heading()\n"
"0.0\n"
msgstr ""
#. turtle.Turtle.resizemode
msgid ""
"Set resizemode to one of the values: \"auto\", \"user\", \"noresize\".\n"
"\n"
"(Optional) Argument:\n"
"rmode -- one of the strings \"auto\", \"user\", \"noresize\"\n"
"\n"
"Different resizemodes have the following effects:\n"
" - \"auto\" adapts the appearance of the turtle\n"
" corresponding to the value of pensize.\n"
" - \"user\" adapts the appearance of the turtle according to the\n"
" values of stretchfactor and outlinewidth (outline),\n"
" which are set by shapesize()\n"
" - \"noresize\" no adaption of the turtle's appearance takes place.\n"
"If no argument is given, return current resizemode.\n"
"resizemode(\"user\") is called by a call of shapesize with arguments.\n"
"\n"
"\n"
"Examples (for a Turtle instance named turtle):\n"
">>> turtle.resizemode(\"noresize\")\n"
">>> turtle.resizemode()\n"
"'noresize'\n"
msgstr ""
#. turtle.Turtle.right
msgid ""
"Turn turtle right by angle units.\n"
"\n"
"Aliases: right | rt\n"
"\n"
"Argument:\n"
"angle -- a number (integer or float)\n"
"\n"
"Turn turtle right by angle units. (Units are by default degrees,\n"
"but can be set via the degrees() and radians() functions.)\n"
"Angle orientation depends on mode. (See this.)\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.heading()\n"
"22.0\n"
">>> turtle.right(45)\n"
">>> turtle.heading()\n"
"337.0\n"
msgstr ""
#. turtle.Turtle.setheading
msgid ""
"Set the orientation of the turtle to to_angle.\n"
"\n"
"Aliases: setheading | seth\n"
"\n"
"Argument:\n"
"to_angle -- a number (integer or float)\n"
"\n"
"Set the orientation of the turtle to to_angle.\n"
"Here are some common directions in degrees:\n"
"\n"
" standard - mode: logo-mode:\n"
"-------------------|--------------------\n"
" 0 - east 0 - north\n"
" 90 - north 90 - east\n"
" 180 - west 180 - south\n"
" 270 - south 270 - west\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.setheading(90)\n"
">>> turtle.heading()\n"
"90\n"
msgstr ""
#. turtle.Turtle.setundobuffer
msgid ""
"Set or disable undobuffer.\n"
"\n"
"Argument:\n"
"size -- an integer or None\n"
"\n"
"If size is an integer an empty undobuffer of given size is installed.\n"
"Size gives the maximum number of turtle-actions that can be undone\n"
"by the undo() function.\n"
"If size is None, no undobuffer is present.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.setundobuffer(42)\n"
msgstr ""
#. turtle.Turtle.setx
msgid ""
"Set the turtle's first coordinate to x\n"
"\n"
"Argument:\n"
"x -- a number (integer or float)\n"
"\n"
"Set the turtle's first coordinate to x, leave second coordinate\n"
"unchanged.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.position()\n"
"(0.00, 240.00)\n"
">>> turtle.setx(10)\n"
">>> turtle.position()\n"
"(10.00, 240.00)\n"
msgstr ""
#. turtle.Turtle.sety
msgid ""
"Set the turtle's second coordinate to y\n"
"\n"
"Argument:\n"
"y -- a number (integer or float)\n"
"\n"
"Set the turtle's first coordinate to x, second coordinate remains\n"
"unchanged.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.position()\n"
"(0.00, 40.00)\n"
">>> turtle.sety(-10)\n"
">>> turtle.position()\n"
"(0.00, -10.00)\n"
msgstr ""
#. turtle.Turtle.shape
msgid ""
"Set turtle shape to shape with given name / return current shapename.\n"
"\n"
"Optional argument:\n"
"name -- a string, which is a valid shapename\n"
"\n"
"Set turtle shape to shape with given name or, if name is not given,\n"
"return name of current shape.\n"
"Shape with name must exist in the TurtleScreen's shape dictionary.\n"
"Initially there are the following polygon shapes:\n"
"'arrow', 'turtle', 'circle', 'square', 'triangle', 'classic'.\n"
"To learn about how to deal with shapes see Screen-method register_shape.\n"
"\n"
"Example (for a Turtle instance named turtle):\n"
">>> turtle.shape()\n"
"'arrow'\n"
">>> turtle.shape(\"turtle\")\n"
">>> turtle.shape()\n"
"'turtle'\n"
msgstr ""
#. turtle.Turtle.shapesize
msgid ""
"Set/return turtle's stretchfactors/outline. Set resizemode to \"user\".\n"
"\n"