Turtle introduction traduction #507 (#521)

This commit is contained in:
Pablo Abril 2019-01-17 00:39:19 +01:00 committed by Julien Palard
parent 0e4f754fe1
commit e7c4170bfe

View File

@ -6,22 +6,22 @@ msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n" "POT-Creation-Date: 2018-06-28 15:29+0200\n"
"PO-Revision-Date: 2017-08-10 00:54+0200\n" "PO-Revision-Date: 2019-01-14 15:47+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n" "Last-Translator: Pablo Abril <pabril@student.42.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.11\n" "X-Generator: Poedit 2.2\n"
#: ../Doc/library/turtle.rst:3 #: ../Doc/library/turtle.rst:3
msgid ":mod:`turtle` --- Turtle graphics" msgid ":mod:`turtle` --- Turtle graphics"
msgstr "" msgstr ":mod:`turtle` --- Tortue graphique"
#: ../Doc/library/turtle.rst:10 #: ../Doc/library/turtle.rst:10
msgid "**Source code:** :source:`Lib/turtle.py`" msgid "**Source code:** :source:`Lib/turtle.py`"
msgstr "" msgstr "**Code Source :** :source:`Lib/turtle.py`"
#: ../Doc/library/turtle.rst:20 #: ../Doc/library/turtle.rst:20
msgid "Introduction" msgid "Introduction"
@ -29,10 +29,13 @@ msgstr "Introduction"
#: ../Doc/library/turtle.rst:22 #: ../Doc/library/turtle.rst:22
msgid "" msgid ""
"Turtle graphics is a popular way for introducing programming to kids. It " "Turtle graphics is a popular way for introducing programming to kids. It was "
"was part of the original Logo programming language developed by Wally " "part of the original Logo programming language developed by Wally Feurzig and "
"Feurzig and Seymour Papert in 1966." "Seymour Papert in 1966."
msgstr "" msgstr ""
"Une façon populaire pour initier les enfants au monde du développement est le "
"module Tortue graphique. Ce dernier faisait partie du langage de "
"programmation Logo créé par Wally Feurzig et Seymout Papert en 1966."
#: ../Doc/library/turtle.rst:26 #: ../Doc/library/turtle.rst:26
msgid "" msgid ""
@ -42,23 +45,33 @@ msgid ""
"moves. Give it the command ``turtle.right(25)``, and it rotates in-place 25 " "moves. Give it the command ``turtle.right(25)``, and it rotates in-place 25 "
"degrees clockwise." "degrees clockwise."
msgstr "" msgstr ""
"Imaginez un robot sous forme de tortue partant au centre (0, 0) d'un plan cartésien x-"
"y. Après un ``import turtle``, exécutez la commande ``turtle.forward(15)`` et "
"la tortue se déplace (sur l'écran) de 15 pixels en face d'elle, en "
"dessinant une ligne."
#: ../Doc/library/turtle.rst:33 #: ../Doc/library/turtle.rst:33
msgid "" msgid ""
"Turtle can draw intricate shapes using programs that repeat simple moves." "Turtle can draw intricate shapes using programs that repeat simple moves."
msgstr "" msgstr ""
"La tortue permet de dessiner des formes complexes en utilisant un "
"programme qui répète des actions élémentaires."
#: ../Doc/library/turtle.rst:41 #: ../Doc/library/turtle.rst:41
msgid "" msgid ""
"By combining together these and similar commands, intricate shapes and " "By combining together these and similar commands, intricate shapes and "
"pictures can easily be drawn." "pictures can easily be drawn."
msgstr "" msgstr ""
"On peut donc facilement construire des formes et images à partir de commandes "
"simples."
#: ../Doc/library/turtle.rst:44 #: ../Doc/library/turtle.rst:44
msgid "" msgid ""
"The :mod:`turtle` module is an extended reimplementation of the same-named " "The :mod:`turtle` module is an extended reimplementation of the same-named "
"module from the Python standard distribution up to version Python 2.5." "module from the Python standard distribution up to version Python 2.5."
msgstr "" msgstr ""
"Le module :mod:`turtle` est une version étendue du module homonyme "
"appartenant à la distribution standard de Python jusqu'à la version 2.5."
#: ../Doc/library/turtle.rst:47 #: ../Doc/library/turtle.rst:47
msgid "" msgid ""
@ -67,18 +80,26 @@ msgid ""
"programmer to use all the commands, classes and methods interactively when " "programmer to use all the commands, classes and methods interactively when "
"using the module from within IDLE run with the ``-n`` switch." "using the module from within IDLE run with the ``-n`` switch."
msgstr "" msgstr ""
"Cette bibliothèque essaye de garder les avantages de l'ancien module et d'être "
"(presque) 100% compatible avec celui-ci. Cela permet à l'apprenti développeur "
"d'utiliser toutes les commandes, classes et méthodes de façon interactive "
"pendant qu'il utilise le module depuis IDLE lancé avec l'option ``-n``."
#: ../Doc/library/turtle.rst:52 #: ../Doc/library/turtle.rst:52
msgid "" msgid ""
"The turtle module provides turtle graphics primitives, in both object-" "The turtle module provides turtle graphics primitives, in both object-"
"oriented and procedure-oriented ways. Because it uses :mod:`tkinter` for " "oriented and procedure-oriented ways. Because it uses :mod:`tkinter` for the "
"the underlying graphics, it needs a version of Python installed with Tk " "underlying graphics, it needs a version of Python installed with Tk support."
"support."
msgstr "" msgstr ""
"*Turtle* permet d'utiliser des primitives graphiques en utilisant un style de "
"programmation orienté objet ou procédural. Du fait qu'il utilise la bibliothèque "
"graphique :mod:`tkinter`, *Turtle* a besoin d'une version de python "
"implémentant *Tk*."
# two+two ??
#: ../Doc/library/turtle.rst:56 #: ../Doc/library/turtle.rst:56
msgid "The object-oriented interface uses essentially two+two classes:" msgid "The object-oriented interface uses essentially two+two classes:"
msgstr "" msgstr "L'interface orientée objet utilise essentiellement deux + deux classes :"
#: ../Doc/library/turtle.rst:58 #: ../Doc/library/turtle.rst:58
msgid "" msgid ""
@ -87,6 +108,11 @@ msgid ""
"class:`ScrolledCanvas` as argument. It should be used when :mod:`turtle` is " "class:`ScrolledCanvas` as argument. It should be used when :mod:`turtle` is "
"used as part of some application." "used as part of some application."
msgstr "" msgstr ""
"La classe :class:`TurtleScreen` définit une fenêtre graphique utilisé comme "
"un terrain de jeu pour les dessins de la tortue. Le constructeur de cette "
"classe a besoin d'un :class:`tkinter.Canvas` ou :class:`ScrolledCanvas` comme "
"argument. Cette classe doit être utilisée seulement si :mod:`turtle` fait "
"partie intégrante d'une autre application."
#: ../Doc/library/turtle.rst:63 #: ../Doc/library/turtle.rst:63
msgid "" msgid ""
@ -95,33 +121,49 @@ msgid ""
"used as a standalone tool for doing graphics. As a singleton object, " "used as a standalone tool for doing graphics. As a singleton object, "
"inheriting from its class is not possible." "inheriting from its class is not possible."
msgstr "" msgstr ""
"La fonction :func:`Screen` renvoie un singleton d'une sous-classe de :class:"
"`TurtleScreen`. Elle doit être utilisée quand le module :mod:`turtle` est "
"utilisé de façon autonome pour dessiner. Le singleton renvoyé ne peut hériter "
"de sa classe."
#: ../Doc/library/turtle.rst:68 #: ../Doc/library/turtle.rst:68
msgid "" msgid ""
"All methods of TurtleScreen/Screen also exist as functions, i.e. as part of " "All methods of TurtleScreen/Screen also exist as functions, i.e. as part of "
"the procedure-oriented interface." "the procedure-oriented interface."
msgstr "" msgstr ""
"Toutes les méthodes de *TurtleScreen*/*Screen* existent également sous la "
"forme de fonctions, c'est-à-dire que ces dernières peuvent être utilisées dans "
"un style procédural."
#: ../Doc/library/turtle.rst:71 #: ../Doc/library/turtle.rst:71
msgid "" msgid ""
":class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which " ":class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw "
"draw on a :class:`TurtleScreen`. Its constructor needs a Canvas, " "on a :class:`TurtleScreen`. Its constructor needs a Canvas, ScrolledCanvas "
"ScrolledCanvas or TurtleScreen as argument, so the RawTurtle objects know " "or TurtleScreen as argument, so the RawTurtle objects know where to draw."
"where to draw."
msgstr "" msgstr ""
"La classe :class:`RawTurtle` (alias :class:`RawPen`) définit des objets "
"*Turtle* qui peuvent dessiner sur la classe :class:`TurtleScreen`. Son "
"constructeur prend en paramètre un *Canvas*, un *ScrolledCanvas* ou un "
"*TurtleScreen* permettant à l'objet *RawTurtle* de savoir où écrire."
#: ../Doc/library/turtle.rst:75 #: ../Doc/library/turtle.rst:75
msgid "" msgid ""
"Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:" "Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`), "
"`Pen`), which draws on \"the\" :class:`Screen` instance which is " "which draws on \"the\" :class:`Screen` instance which is automatically "
"automatically created, if not already present." "created, if not already present."
msgstr "" msgstr ""
"La sous-classe :class:`Turtle` (alias: :class:`Pen`), dérivée de *RawTurtle*, "
"dessine sur l'instance :class:`Screen` qui est créée automatiquement si elle "
"n'est pas déjà présente."
#: ../Doc/library/turtle.rst:79 #: ../Doc/library/turtle.rst:79
msgid "" msgid ""
"All methods of RawTurtle/Turtle also exist as functions, i.e. part of the " "All methods of RawTurtle/Turtle also exist as functions, i.e. part of the "
"procedure-oriented interface." "procedure-oriented interface."
msgstr "" msgstr ""
"Toutes les méthodes de *RawTurtle*/*Turtle* existent également sous la forme "
"de fonctions, c'est-à-dire que ces dernières pourront être utilisées en "
"style procédural."
#: ../Doc/library/turtle.rst:82 #: ../Doc/library/turtle.rst:82
msgid "" msgid ""
@ -132,12 +174,20 @@ msgid ""
"(unnamed) turtle object is automatically created whenever any of the " "(unnamed) turtle object is automatically created whenever any of the "
"functions derived from a Turtle method is called." "functions derived from a Turtle method is called."
msgstr "" msgstr ""
"L'interface procédurale met à disposition des fonctions équivalentes à celles "
"des méthodes des classes :class:`Screen` et :class:`Turtle`. Le nom d'une "
"fonction est le même que la méthode équivalente. Un objet *Screen* est créé "
"automatiquement dès qu'une fonction dérivée d'une méthode *Screen* est "
"appelée. Un objet *Turtle* (sans nom) est créé automatiquement dès qu'une "
"fonction dérivée d'une méthode *Turtle* est appelée."
#: ../Doc/library/turtle.rst:89 #: ../Doc/library/turtle.rst:89
msgid "" msgid ""
"To use multiple turtles on a screen one has to use the object-oriented " "To use multiple turtles on a screen one has to use the object-oriented "
"interface." "interface."
msgstr "" msgstr ""
"Afin de pouvoir utiliser plusieurs tortues simultanément sur l'écran, vous "
"devez utiliser l'interface orientée-objet."
#: ../Doc/library/turtle.rst:92 #: ../Doc/library/turtle.rst:92
msgid "" msgid ""
@ -145,22 +195,25 @@ msgid ""
"Methods, of course, have the additional first argument *self* which is " "Methods, of course, have the additional first argument *self* which is "
"omitted here." "omitted here."
msgstr "" msgstr ""
"La liste des paramètres des fonctions est donnée dans cette documentation. "
"Les méthodes ont, évidemment, le paramètre *self* comme premier argument, "
"mais ce dernier n'est pas indiqué ici."
#: ../Doc/library/turtle.rst:98 #: ../Doc/library/turtle.rst:98
msgid "Overview of available Turtle and Screen methods" msgid "Overview of available Turtle and Screen methods"
msgstr "" msgstr "Résumé des méthodes de *Turtle* et *Screen*"
#: ../Doc/library/turtle.rst:101 #: ../Doc/library/turtle.rst:101
msgid "Turtle methods" msgid "Turtle methods"
msgstr "" msgstr "Les méthodes du module *Turtle*"
#: ../Doc/library/turtle.rst:132 ../Doc/library/turtle.rst:242 #: ../Doc/library/turtle.rst:132 ../Doc/library/turtle.rst:242
msgid "Turtle motion" msgid "Turtle motion"
msgstr "" msgstr "Les mouvements dans le module *Turtle*"
#: ../Doc/library/turtle.rst:120 #: ../Doc/library/turtle.rst:120
msgid "Move and draw" msgid "Move and draw"
msgstr "" msgstr "Bouger et dessiner"
#: ../Doc/library/turtle.rst:0 #: ../Doc/library/turtle.rst:0
msgid ":func:`forward` | :func:`fd`" msgid ":func:`forward` | :func:`fd`"
@ -645,8 +698,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:315 #: ../Doc/library/turtle.rst:315
msgid "" msgid ""
"Turn turtle left by *angle* units. (Units are by default degrees, but can " "Turn turtle left by *angle* units. (Units are by default degrees, but can be "
"be set via the :func:`degrees` and :func:`radians` functions.) Angle " "set via the :func:`degrees` and :func:`radians` functions.) Angle "
"orientation depends on the turtle mode, see :func:`mode`." "orientation depends on the turtle mode, see :func:`mode`."
msgstr "" msgstr ""
@ -744,11 +797,11 @@ msgstr ""
msgid "" msgid ""
"Draw a circle with given *radius*. The center is *radius* units left of the " "Draw a circle with given *radius*. The center is *radius* units left of the "
"turtle; *extent* -- an angle -- determines which part of the circle is " "turtle; *extent* -- an angle -- determines which part of the circle is "
"drawn. If *extent* is not given, draw the entire circle. If *extent* is " "drawn. If *extent* is not given, draw the entire circle. If *extent* is not "
"not a full circle, one endpoint of the arc is the current pen position. " "a full circle, one endpoint of the arc is the current pen position. Draw the "
"Draw the arc in counterclockwise direction if *radius* is positive, " "arc in counterclockwise direction if *radius* is positive, otherwise in "
"otherwise in clockwise direction. Finally the direction of the turtle is " "clockwise direction. Finally the direction of the turtle is changed by the "
"changed by the amount of *extent*." "amount of *extent*."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:470 #: ../Doc/library/turtle.rst:470
@ -812,8 +865,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:594 #: ../Doc/library/turtle.rst:594
msgid "" msgid ""
"If input is a number greater than 10 or smaller than 0.5, speed is set to " "If input is a number greater than 10 or smaller than 0.5, speed is set to 0. "
"0. Speedstrings are mapped to speedvalues as follows:" "Speedstrings are mapped to speedvalues as follows:"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:597 #: ../Doc/library/turtle.rst:597
@ -838,8 +891,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:603 #: ../Doc/library/turtle.rst:603
msgid "" msgid ""
"Speeds from 1 to 10 enforce increasingly faster animation of line drawing " "Speeds from 1 to 10 enforce increasingly faster animation of line drawing and "
"and turtle turning." "turtle turning."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:606 #: ../Doc/library/turtle.rst:606
@ -849,8 +902,7 @@ msgid ""
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:628 #: ../Doc/library/turtle.rst:628
msgid "" msgid "Return the turtle's current location (x,y) (as a :class:`Vec2D` vector)."
"Return the turtle's current location (x,y) (as a :class:`Vec2D` vector)."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:638 ../Doc/library/turtle.rst:697 #: ../Doc/library/turtle.rst:638 ../Doc/library/turtle.rst:697
@ -864,9 +916,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:641 #: ../Doc/library/turtle.rst:641
msgid "" msgid ""
"Return the angle between the line from turtle position to position specified " "Return the angle between the line from turtle position to position specified "
"by (x,y), the vector or the other turtle. This depends on the turtle's " "by (x,y), the vector or the other turtle. This depends on the turtle's start "
"start orientation which depends on the mode - \"standard\"/\"world\" or " "orientation which depends on the mode - \"standard\"/\"world\" or \"logo\")."
"\"logo\")."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:654 #: ../Doc/library/turtle.rst:654
@ -934,8 +985,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:805 #: ../Doc/library/turtle.rst:805
msgid "" msgid ""
"Return or set the pen's attributes in a \"pen-dictionary\" with the " "Return or set the pen's attributes in a \"pen-dictionary\" with the following "
"following key/value pairs:" "key/value pairs:"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:808 #: ../Doc/library/turtle.rst:808
@ -1014,8 +1065,8 @@ msgstr "``pencolor(colorstring)``"
#: ../Doc/library/turtle.rst:871 #: ../Doc/library/turtle.rst:871
msgid "" msgid ""
"Set pencolor to *colorstring*, which is a Tk color specification string, " "Set pencolor to *colorstring*, which is a Tk color specification string, such "
"such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``." "as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:877 #: ../Doc/library/turtle.rst:877
@ -1024,9 +1075,9 @@ msgstr "``pencolor((r, g, b))``"
#: ../Doc/library/turtle.rst:875 #: ../Doc/library/turtle.rst:875
msgid "" msgid ""
"Set pencolor to the RGB color represented by the tuple of *r*, *g*, and " "Set pencolor to the RGB color represented by the tuple of *r*, *g*, and *b*. "
"*b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where " "Each of *r*, *g*, and *b* must be in the range 0..colormode, where colormode "
"colormode is either 1.0 or 255 (see :func:`colormode`)." "is either 1.0 or 255 (see :func:`colormode`)."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:884 #: ../Doc/library/turtle.rst:884
@ -1035,8 +1086,8 @@ msgstr "``pencolor(r, g, b)``"
#: ../Doc/library/turtle.rst:880 #: ../Doc/library/turtle.rst:880
msgid "" msgid ""
"Set pencolor to the RGB color represented by *r*, *g*, and *b*. Each of " "Set pencolor to the RGB color represented by *r*, *g*, and *b*. Each of *r*, "
"*r*, *g*, and *b* must be in the range 0..colormode." "*g*, and *b* must be in the range 0..colormode."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:883 #: ../Doc/library/turtle.rst:883
@ -1055,8 +1106,8 @@ msgstr "``fillcolor()``"
#: ../Doc/library/turtle.rst:914 #: ../Doc/library/turtle.rst:914
msgid "" msgid ""
"Return the current fillcolor as color specification string, possibly in " "Return the current fillcolor as color specification string, possibly in tuple "
"tuple format (see example). May be used as input to another color/pencolor/" "format (see example). May be used as input to another color/pencolor/"
"fillcolor call." "fillcolor call."
msgstr "" msgstr ""
@ -1123,13 +1174,12 @@ msgstr ""
#: ../Doc/library/turtle.rst:962 #: ../Doc/library/turtle.rst:962
msgid "" msgid ""
"Inputs as in :func:`pencolor`, set both, fillcolor and pencolor, to the " "Inputs as in :func:`pencolor`, set both, fillcolor and pencolor, to the given "
"given value." "value."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:970 #: ../Doc/library/turtle.rst:970
msgid "" msgid "``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``"
"``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:966 #: ../Doc/library/turtle.rst:966
@ -1168,9 +1218,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:1049 #: ../Doc/library/turtle.rst:1049
msgid "" msgid ""
"Delete the turtle's drawings from the screen. Do not move turtle. State " "Delete the turtle's drawings from the screen. Do not move turtle. State and "
"and position of the turtle as well as drawings of other turtles are not " "position of the turtle as well as drawings of other turtles are not affected."
"affected."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1055 #: ../Doc/library/turtle.rst:1055
@ -1200,8 +1249,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:1078 #: ../Doc/library/turtle.rst:1078
msgid "" msgid ""
"Make the turtle invisible. It's a good idea to do this while you're in the " "Make the turtle invisible. It's a good idea to do this while you're in the "
"middle of doing some complex drawing, because hiding the turtle speeds up " "middle of doing some complex drawing, because hiding the turtle speeds up the "
"the drawing observably." "drawing observably."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1090 #: ../Doc/library/turtle.rst:1090
@ -1279,11 +1328,11 @@ msgstr ""
#: ../Doc/library/turtle.rst:1187 #: ../Doc/library/turtle.rst:1187
msgid "" msgid ""
"Set or return the current shearfactor. Shear the turtleshape according to " "Set or return the current shearfactor. Shear the turtleshape according to the "
"the given shearfactor shear, which is the tangent of the shear angle. Do " "given shearfactor shear, which is the tangent of the shear angle. Do *not* "
"*not* change the turtle's heading (direction of movement). If shear is not " "change the turtle's heading (direction of movement). If shear is not given: "
"given: return the current shearfactor, i. e. the tangent of the shear angle, " "return the current shearfactor, i. e. the tangent of the shear angle, by "
"by which lines parallel to the heading of the turtle are sheared." "which lines parallel to the heading of the turtle are sheared."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1207 #: ../Doc/library/turtle.rst:1207
@ -1321,12 +1370,12 @@ msgstr ""
#: ../Doc/library/turtle.rst:1273 #: ../Doc/library/turtle.rst:1273
msgid "" msgid ""
"If none of the matrix elements are given, return the transformation matrix " "If none of the matrix elements are given, return the transformation matrix as "
"as a tuple of 4 elements. Otherwise set the given elements and transform the " "a tuple of 4 elements. Otherwise set the given elements and transform the "
"turtleshape according to the matrix consisting of first row t11, t12 and " "turtleshape according to the matrix consisting of first row t11, t12 and "
"second row t21, 22. The determinant t11 * t22 - t12 * t21 must not be zero, " "second row t21, 22. The determinant t11 * t22 - t12 * t21 must not be zero, "
"otherwise an error is raised. Modify stretchfactor, shearfactor and " "otherwise an error is raised. Modify stretchfactor, shearfactor and tiltangle "
"tiltangle according to the given matrix." "according to the given matrix."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1294 #: ../Doc/library/turtle.rst:1294
@ -1381,8 +1430,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:1371 #: ../Doc/library/turtle.rst:1371
msgid "" msgid ""
"Subsequently, clicking and dragging the Turtle will move it across the " "Subsequently, clicking and dragging the Turtle will move it across the screen "
"screen thereby producing handdrawings (if pen is down)." "thereby producing handdrawings (if pen is down)."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1380 #: ../Doc/library/turtle.rst:1380
@ -1441,9 +1490,9 @@ msgstr ""
#: ../Doc/library/turtle.rst:1476 #: ../Doc/library/turtle.rst:1476
msgid "" msgid ""
"To use compound turtle shapes, which consist of several polygons of " "To use compound turtle shapes, which consist of several polygons of different "
"different color, you must use the helper class :class:`Shape` explicitly as " "color, you must use the helper class :class:`Shape` explicitly as described "
"described below:" "below:"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1480 #: ../Doc/library/turtle.rst:1480
@ -1497,10 +1546,10 @@ msgstr ""
#: ../Doc/library/turtle.rst:1545 #: ../Doc/library/turtle.rst:1545
msgid "" msgid ""
"Set background image or return name of current backgroundimage. If " "Set background image or return name of current backgroundimage. If *picname* "
"*picname* is a filename, set the corresponding image as background. If " "is a filename, set the corresponding image as background. If *picname* is ``"
"*picname* is ``\"nopic\"``, delete background image, if present. If " "\"nopic\"``, delete background image, if present. If *picname* is ``None``, "
"*picname* is ``None``, return the filename of the current backgroundimage. ::" "return the filename of the current backgroundimage. ::"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1560 #: ../Doc/library/turtle.rst:1560
@ -1544,9 +1593,9 @@ msgstr ""
msgid "" msgid ""
"If no arguments are given, return current (canvaswidth, canvasheight). Else " "If no arguments are given, return current (canvaswidth, canvasheight). Else "
"resize the canvas the turtles are drawing on. Do not alter the drawing " "resize the canvas the turtles are drawing on. Do not alter the drawing "
"window. To observe hidden parts of the canvas, use the scrollbars. With " "window. To observe hidden parts of the canvas, use the scrollbars. With this "
"this method, one can make visible those parts of a drawing which were " "method, one can make visible those parts of a drawing which were outside the "
"outside the canvas before." "canvas before."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1599 #: ../Doc/library/turtle.rst:1599
@ -1572,14 +1621,13 @@ msgstr ""
#: ../Doc/library/turtle.rst:1609 #: ../Doc/library/turtle.rst:1609
msgid "" msgid ""
"Set up user-defined coordinate system and switch to mode \"world\" if " "Set up user-defined coordinate system and switch to mode \"world\" if "
"necessary. This performs a ``screen.reset()``. If mode \"world\" is " "necessary. This performs a ``screen.reset()``. If mode \"world\" is already "
"already active, all drawings are redrawn according to the new coordinates." "active, all drawings are redrawn according to the new coordinates."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1613 #: ../Doc/library/turtle.rst:1613
msgid "" msgid ""
"**ATTENTION**: in user-defined coordinate systems angles may appear " "**ATTENTION**: in user-defined coordinate systems angles may appear distorted."
"distorted."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1639 #: ../Doc/library/turtle.rst:1639
@ -1621,8 +1669,7 @@ msgstr ""
#: ../Doc/library/turtle.rst:1690 #: ../Doc/library/turtle.rst:1690
msgid "" msgid ""
"Set focus on TurtleScreen (in order to collect key-events). Dummy arguments " "Set focus on TurtleScreen (in order to collect key-events). Dummy arguments "
"are provided in order to be able to pass :func:`listen` to the onclick " "are provided in order to be able to pass :func:`listen` to the onclick method."
"method."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1697 ../Doc/library/turtle.rst:1716 #: ../Doc/library/turtle.rst:1697 ../Doc/library/turtle.rst:1716
@ -1635,16 +1682,16 @@ msgstr ""
#: ../Doc/library/turtle.rst:1700 #: ../Doc/library/turtle.rst:1700
msgid "" msgid ""
"Bind *fun* to key-release event of key. If *fun* is ``None``, event " "Bind *fun* to key-release event of key. If *fun* is ``None``, event bindings "
"bindings are removed. Remark: in order to be able to register key-events, " "are removed. Remark: in order to be able to register key-events, TurtleScreen "
"TurtleScreen must have the focus. (See method :func:`listen`.)" "must have the focus. (See method :func:`listen`.)"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1719 #: ../Doc/library/turtle.rst:1719
msgid "" msgid ""
"Bind *fun* to key-press event of key if key is given, or to any key-press-" "Bind *fun* to key-press event of key if key is given, or to any key-press-"
"event if no key is given. Remark: in order to be able to register key-" "event if no key is given. Remark: in order to be able to register key-events, "
"events, TurtleScreen must have focus. (See method :func:`listen`.)" "TurtleScreen must have focus. (See method :func:`listen`.)"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1742 #: ../Doc/library/turtle.rst:1742
@ -1681,9 +1728,9 @@ msgstr ""
#: ../Doc/library/turtle.rst:1782 #: ../Doc/library/turtle.rst:1782
msgid "" msgid ""
"Starts event loop - calling Tkinter's mainloop function. Must be the last " "Starts event loop - calling Tkinter's mainloop function. Must be the last "
"statement in a turtle graphics program. Must *not* be used if a script is " "statement in a turtle graphics program. Must *not* be used if a script is run "
"run from within IDLE in -n mode (No subprocess) - for interactive use of " "from within IDLE in -n mode (No subprocess) - for interactive use of turtle "
"turtle graphics. ::" "graphics. ::"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1795 ../Doc/library/turtle.rst:1796 #: ../Doc/library/turtle.rst:1795 ../Doc/library/turtle.rst:1796
@ -1693,10 +1740,9 @@ msgstr "*string*"
#: ../Doc/library/turtle.rst:1798 #: ../Doc/library/turtle.rst:1798
msgid "" msgid ""
"Pop up a dialog window for input of a string. Parameter title is the title " "Pop up a dialog window for input of a string. Parameter title is the title of "
"of the dialog window, prompt is a text mostly describing what information to " "the dialog window, prompt is a text mostly describing what information to "
"input. Return the string input. If the dialog is canceled, return " "input. Return the string input. If the dialog is canceled, return ``None``. ::"
"``None``. ::"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1814 #: ../Doc/library/turtle.rst:1814
@ -1724,8 +1770,8 @@ msgstr ""
msgid "" msgid ""
"Mode \"standard\" is compatible with old :mod:`turtle`. Mode \"logo\" is " "Mode \"standard\" is compatible with old :mod:`turtle`. Mode \"logo\" is "
"compatible with most Logo turtle graphics. Mode \"world\" uses user-defined " "compatible with most Logo turtle graphics. Mode \"world\" uses user-defined "
"\"world coordinates\". **Attention**: in this mode angles appear distorted " "\"world coordinates\". **Attention**: in this mode angles appear distorted if "
"if ``x/y`` unit-ratio doesn't equal 1." "``x/y`` unit-ratio doesn't equal 1."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1842 #: ../Doc/library/turtle.rst:1842
@ -1776,8 +1822,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:1879 #: ../Doc/library/turtle.rst:1879
msgid "" msgid ""
"Return the Canvas of this TurtleScreen. Useful for insiders who know what " "Return the Canvas of this TurtleScreen. Useful for insiders who know what to "
"to do with a Tkinter Canvas." "do with a Tkinter Canvas."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1891 #: ../Doc/library/turtle.rst:1891
@ -1802,8 +1848,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:1913 #: ../Doc/library/turtle.rst:1913
msgid "" msgid ""
"*name* is an arbitrary string and *shape* is a tuple of pairs of " "*name* is an arbitrary string and *shape* is a tuple of pairs of coordinates: "
"coordinates: Install the corresponding polygon shape." "Install the corresponding polygon shape."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1920 #: ../Doc/library/turtle.rst:1920
@ -1845,10 +1891,10 @@ msgstr ""
#: ../Doc/library/turtle.rst:1968 #: ../Doc/library/turtle.rst:1968
msgid "" msgid ""
"If the value \"using_IDLE\" in the configuration dictionary is ``False`` " "If the value \"using_IDLE\" in the configuration dictionary is ``False`` "
"(default value), also enter mainloop. Remark: If IDLE with the ``-n`` " "(default value), also enter mainloop. Remark: If IDLE with the ``-n`` switch "
"switch (no subprocess) is used, this value should be set to ``True`` in :" "(no subprocess) is used, this value should be set to ``True`` in :file:"
"file:`turtle.cfg`. In this case IDLE's own mainloop is active also for the " "`turtle.cfg`. In this case IDLE's own mainloop is active also for the client "
"client script." "script."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1977 #: ../Doc/library/turtle.rst:1977
@ -1872,8 +1918,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:1985 #: ../Doc/library/turtle.rst:1985
msgid "" msgid ""
"if positive, starting position in pixels from the left edge of the screen, " "if positive, starting position in pixels from the left edge of the screen, if "
"if negative from the right edge, if ``None``, center window horizontally" "negative from the right edge, if ``None``, center window horizontally"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:1988 #: ../Doc/library/turtle.rst:1988
@ -1929,8 +1975,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:2046 #: ../Doc/library/turtle.rst:2046
msgid "" msgid ""
"some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas " "some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas with "
"with scrollbars added" "scrollbars added"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2049 #: ../Doc/library/turtle.rst:2049
@ -2082,8 +2128,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:2188 #: ../Doc/library/turtle.rst:2188
msgid "" msgid ""
"There is a utility to create a dictionary the keys of which are the method " "There is a utility to create a dictionary the keys of which are the method "
"names and the values of which are the docstrings of the public methods of " "names and the values of which are the docstrings of the public methods of the "
"the classes Screen and Turtle." "classes Screen and Turtle."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2194 #: ../Doc/library/turtle.rst:2194
@ -2115,8 +2161,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:2209 #: ../Doc/library/turtle.rst:2209
msgid "" msgid ""
"At the time of this writing there are docstring dictionaries in German and " "At the time of this writing there are docstring dictionaries in German and in "
"in Italian. (Requests please to glingl@aon.at.)" "Italian. (Requests please to glingl@aon.at.)"
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2215 #: ../Doc/library/turtle.rst:2215
@ -2125,17 +2171,16 @@ msgstr ""
#: ../Doc/library/turtle.rst:2217 #: ../Doc/library/turtle.rst:2217
msgid "" msgid ""
"The built-in default configuration mimics the appearance and behaviour of " "The built-in default configuration mimics the appearance and behaviour of the "
"the old turtle module in order to retain best possible compatibility with it." "old turtle module in order to retain best possible compatibility with it."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2220 #: ../Doc/library/turtle.rst:2220
msgid "" msgid ""
"If you want to use a different configuration which better reflects the " "If you want to use a different configuration which better reflects the "
"features of this module or which better fits to your needs, e.g. for use in " "features of this module or which better fits to your needs, e.g. for use in a "
"a classroom, you can prepare a configuration file ``turtle.cfg`` which will " "classroom, you can prepare a configuration file ``turtle.cfg`` which will be "
"be read at import time and modify the configuration according to its " "read at import time and modify the configuration according to its settings."
"settings."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2225 #: ../Doc/library/turtle.rst:2225
@ -2161,8 +2206,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:2254 #: ../Doc/library/turtle.rst:2254
msgid "" msgid ""
"*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For " "*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For more "
"more info try ``help(shape)``." "info try ``help(shape)``."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2256 #: ../Doc/library/turtle.rst:2256
@ -2189,28 +2234,27 @@ msgstr ""
msgid "" msgid ""
"The entries *exampleturtle* and *examplescreen* define the names of these " "The entries *exampleturtle* and *examplescreen* define the names of these "
"objects as they occur in the docstrings. The transformation of method-" "objects as they occur in the docstrings. The transformation of method-"
"docstrings to function-docstrings will delete these names from the " "docstrings to function-docstrings will delete these names from the docstrings."
"docstrings."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2268 #: ../Doc/library/turtle.rst:2268
msgid "" msgid ""
"*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -" "*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -n "
"n switch (\"no subprocess\"). This will prevent :func:`exitonclick` to " "switch (\"no subprocess\"). This will prevent :func:`exitonclick` to enter "
"enter the mainloop." "the mainloop."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2272 #: ../Doc/library/turtle.rst:2272
msgid "" msgid ""
"There can be a :file:`turtle.cfg` file in the directory where :mod:`turtle` " "There can be a :file:`turtle.cfg` file in the directory where :mod:`turtle` "
"is stored and an additional one in the current working directory. The " "is stored and an additional one in the current working directory. The latter "
"latter will override the settings of the first one." "will override the settings of the first one."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2276 #: ../Doc/library/turtle.rst:2276
msgid "" msgid ""
"The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. " "The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. You "
"You can study it as an example and see its effects when running the demos " "can study it as an example and see its effects when running the demos "
"(preferably not from within the demo-viewer)." "(preferably not from within the demo-viewer)."
msgstr "" msgstr ""
@ -2235,8 +2279,8 @@ msgstr ""
#: ../Doc/library/turtle.rst:2298 #: ../Doc/library/turtle.rst:2298
msgid "" msgid ""
"A demo viewer :file:`__main__.py` which can be used to view the sourcecode " "A demo viewer :file:`__main__.py` which can be used to view the sourcecode of "
"of the scripts and run them at the same time." "the scripts and run them at the same time."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2300 #: ../Doc/library/turtle.rst:2300
@ -2492,8 +2536,8 @@ msgid ""
"The methods :meth:`Turtle.tracer`, :meth:`Turtle.window_width` and :meth:" "The methods :meth:`Turtle.tracer`, :meth:`Turtle.window_width` and :meth:"
"`Turtle.window_height` have been eliminated. Methods with these names and " "`Turtle.window_height` have been eliminated. Methods with these names and "
"functionality are now available only as methods of :class:`Screen`. The " "functionality are now available only as methods of :class:`Screen`. The "
"functions derived from these remain available. (In fact already in Python " "functions derived from these remain available. (In fact already in Python 2.6 "
"2.6 these methods were merely duplications of the corresponding :class:" "these methods were merely duplications of the corresponding :class:"
"`TurtleScreen`/:class:`Screen`-methods.)" "`TurtleScreen`/:class:`Screen`-methods.)"
msgstr "" msgstr ""
@ -2533,9 +2577,9 @@ msgstr ""
#: ../Doc/library/turtle.rst:2411 #: ../Doc/library/turtle.rst:2411
msgid "" msgid ""
"The method :meth:`Screen.mainloop` has been added. So when working only " "The method :meth:`Screen.mainloop` has been added. So when working only with "
"with Screen and Turtle objects one must not additionally import :func:" "Screen and Turtle objects one must not additionally import :func:`mainloop` "
"`mainloop` anymore." "anymore."
msgstr "" msgstr ""
#: ../Doc/library/turtle.rst:2415 #: ../Doc/library/turtle.rst:2415