forked from AFPy/python-docs-fr
parent
0e4f754fe1
commit
e7c4170bfe
|
@ -6,22 +6,22 @@ msgstr ""
|
|||
"Project-Id-Version: Python 3.6\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
|
||||
"PO-Revision-Date: 2017-08-10 00:54+0200\n"
|
||||
"Last-Translator: Julien Palard <julien@palard.fr>\n"
|
||||
"PO-Revision-Date: 2019-01-14 15:47+0100\n"
|
||||
"Last-Translator: Pablo Abril <pabril@student.42.fr>\n"
|
||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.11\n"
|
||||
"X-Generator: Poedit 2.2\n"
|
||||
|
||||
#: ../Doc/library/turtle.rst:3
|
||||
msgid ":mod:`turtle` --- Turtle graphics"
|
||||
msgstr ""
|
||||
msgstr ":mod:`turtle` --- Tortue graphique"
|
||||
|
||||
#: ../Doc/library/turtle.rst:10
|
||||
msgid "**Source code:** :source:`Lib/turtle.py`"
|
||||
msgstr ""
|
||||
msgstr "**Code Source :** :source:`Lib/turtle.py`"
|
||||
|
||||
#: ../Doc/library/turtle.rst:20
|
||||
msgid "Introduction"
|
||||
|
@ -29,10 +29,13 @@ msgstr "Introduction"
|
|||
|
||||
#: ../Doc/library/turtle.rst:22
|
||||
msgid ""
|
||||
"Turtle graphics is a popular way for introducing programming to kids. It "
|
||||
"was part of the original Logo programming language developed by Wally "
|
||||
"Feurzig and Seymour Papert in 1966."
|
||||
"Turtle graphics is a popular way for introducing programming to kids. It was "
|
||||
"part of the original Logo programming language developed by Wally Feurzig and "
|
||||
"Seymour Papert in 1966."
|
||||
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
|
||||
msgid ""
|
||||
|
@ -42,23 +45,33 @@ msgid ""
|
|||
"moves. Give it the command ``turtle.right(25)``, and it rotates in-place 25 "
|
||||
"degrees clockwise."
|
||||
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
|
||||
msgid ""
|
||||
"Turtle can draw intricate shapes using programs that repeat simple moves."
|
||||
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
|
||||
msgid ""
|
||||
"By combining together these and similar commands, intricate shapes and "
|
||||
"pictures can easily be drawn."
|
||||
msgstr ""
|
||||
"On peut donc facilement construire des formes et images à partir de commandes "
|
||||
"simples."
|
||||
|
||||
#: ../Doc/library/turtle.rst:44
|
||||
msgid ""
|
||||
"The :mod:`turtle` module is an extended reimplementation of the same-named "
|
||||
"module from the Python standard distribution up to version Python 2.5."
|
||||
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
|
||||
msgid ""
|
||||
|
@ -67,18 +80,26 @@ msgid ""
|
|||
"programmer to use all the commands, classes and methods interactively when "
|
||||
"using the module from within IDLE run with the ``-n`` switch."
|
||||
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
|
||||
msgid ""
|
||||
"The turtle module provides turtle graphics primitives, in both object-"
|
||||
"oriented and procedure-oriented ways. Because it uses :mod:`tkinter` for "
|
||||
"the underlying graphics, it needs a version of Python installed with Tk "
|
||||
"support."
|
||||
"oriented and procedure-oriented ways. Because it uses :mod:`tkinter` for the "
|
||||
"underlying graphics, it needs a version of Python installed with Tk support."
|
||||
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
|
||||
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
|
||||
msgid ""
|
||||
|
@ -87,6 +108,11 @@ msgid ""
|
|||
"class:`ScrolledCanvas` as argument. It should be used when :mod:`turtle` is "
|
||||
"used as part of some application."
|
||||
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
|
||||
msgid ""
|
||||
|
@ -95,33 +121,49 @@ msgid ""
|
|||
"used as a standalone tool for doing graphics. As a singleton object, "
|
||||
"inheriting from its class is not possible."
|
||||
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
|
||||
msgid ""
|
||||
"All methods of TurtleScreen/Screen also exist as functions, i.e. as part of "
|
||||
"the procedure-oriented interface."
|
||||
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
|
||||
msgid ""
|
||||
":class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which "
|
||||
"draw on a :class:`TurtleScreen`. Its constructor needs a Canvas, "
|
||||
"ScrolledCanvas or TurtleScreen as argument, so the RawTurtle objects know "
|
||||
"where to draw."
|
||||
":class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw "
|
||||
"on a :class:`TurtleScreen`. Its constructor needs a Canvas, ScrolledCanvas "
|
||||
"or TurtleScreen as argument, so the RawTurtle objects know where to draw."
|
||||
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
|
||||
msgid ""
|
||||
"Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:"
|
||||
"`Pen`), which draws on \"the\" :class:`Screen` instance which is "
|
||||
"automatically created, if not already present."
|
||||
"Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`), "
|
||||
"which draws on \"the\" :class:`Screen` instance which is automatically "
|
||||
"created, if not already present."
|
||||
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
|
||||
msgid ""
|
||||
"All methods of RawTurtle/Turtle also exist as functions, i.e. part of the "
|
||||
"procedure-oriented interface."
|
||||
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
|
||||
msgid ""
|
||||
|
@ -132,12 +174,20 @@ msgid ""
|
|||
"(unnamed) turtle object is automatically created whenever any of the "
|
||||
"functions derived from a Turtle method is called."
|
||||
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
|
||||
msgid ""
|
||||
"To use multiple turtles on a screen one has to use the object-oriented "
|
||||
"interface."
|
||||
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
|
||||
msgid ""
|
||||
|
@ -145,22 +195,25 @@ msgid ""
|
|||
"Methods, of course, have the additional first argument *self* which is "
|
||||
"omitted here."
|
||||
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
|
||||
msgid "Overview of available Turtle and Screen methods"
|
||||
msgstr ""
|
||||
msgstr "Résumé des méthodes de *Turtle* et *Screen*"
|
||||
|
||||
#: ../Doc/library/turtle.rst:101
|
||||
msgid "Turtle methods"
|
||||
msgstr ""
|
||||
msgstr "Les méthodes du module *Turtle*"
|
||||
|
||||
#: ../Doc/library/turtle.rst:132 ../Doc/library/turtle.rst:242
|
||||
msgid "Turtle motion"
|
||||
msgstr ""
|
||||
msgstr "Les mouvements dans le module *Turtle*"
|
||||
|
||||
#: ../Doc/library/turtle.rst:120
|
||||
msgid "Move and draw"
|
||||
msgstr ""
|
||||
msgstr "Bouger et dessiner"
|
||||
|
||||
#: ../Doc/library/turtle.rst:0
|
||||
msgid ":func:`forward` | :func:`fd`"
|
||||
|
@ -645,8 +698,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:315
|
||||
msgid ""
|
||||
"Turn turtle left by *angle* units. (Units are by default degrees, but can "
|
||||
"be set via the :func:`degrees` and :func:`radians` functions.) Angle "
|
||||
"Turn turtle left by *angle* units. (Units are by default degrees, but can be "
|
||||
"set via the :func:`degrees` and :func:`radians` functions.) Angle "
|
||||
"orientation depends on the turtle mode, see :func:`mode`."
|
||||
msgstr ""
|
||||
|
||||
|
@ -744,11 +797,11 @@ msgstr ""
|
|||
msgid ""
|
||||
"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 "
|
||||
"drawn. If *extent* is not given, draw the entire circle. If *extent* is "
|
||||
"not a full circle, one endpoint of the arc is the current pen position. "
|
||||
"Draw the arc in counterclockwise direction if *radius* is positive, "
|
||||
"otherwise in clockwise direction. Finally the direction of the turtle is "
|
||||
"changed by the amount of *extent*."
|
||||
"drawn. If *extent* is not given, draw the entire circle. If *extent* is not "
|
||||
"a full circle, one endpoint of the arc is the current pen position. Draw the "
|
||||
"arc in counterclockwise direction if *radius* is positive, otherwise in "
|
||||
"clockwise direction. Finally the direction of the turtle is changed by the "
|
||||
"amount of *extent*."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:470
|
||||
|
@ -812,8 +865,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:594
|
||||
msgid ""
|
||||
"If input is a number greater than 10 or smaller than 0.5, speed is set to "
|
||||
"0. Speedstrings are mapped to speedvalues as follows:"
|
||||
"If input is a number greater than 10 or smaller than 0.5, speed is set to 0. "
|
||||
"Speedstrings are mapped to speedvalues as follows:"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:597
|
||||
|
@ -838,8 +891,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:603
|
||||
msgid ""
|
||||
"Speeds from 1 to 10 enforce increasingly faster animation of line drawing "
|
||||
"and turtle turning."
|
||||
"Speeds from 1 to 10 enforce increasingly faster animation of line drawing and "
|
||||
"turtle turning."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:606
|
||||
|
@ -849,8 +902,7 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:628
|
||||
msgid ""
|
||||
"Return the turtle's current location (x,y) (as a :class:`Vec2D` vector)."
|
||||
msgid "Return the turtle's current location (x,y) (as a :class:`Vec2D` vector)."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:638 ../Doc/library/turtle.rst:697
|
||||
|
@ -864,9 +916,8 @@ msgstr ""
|
|||
#: ../Doc/library/turtle.rst:641
|
||||
msgid ""
|
||||
"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 "
|
||||
"start orientation which depends on the mode - \"standard\"/\"world\" or "
|
||||
"\"logo\")."
|
||||
"by (x,y), the vector or the other turtle. This depends on the turtle's start "
|
||||
"orientation which depends on the mode - \"standard\"/\"world\" or \"logo\")."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:654
|
||||
|
@ -934,8 +985,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:805
|
||||
msgid ""
|
||||
"Return or set the pen's attributes in a \"pen-dictionary\" with the "
|
||||
"following key/value pairs:"
|
||||
"Return or set the pen's attributes in a \"pen-dictionary\" with the following "
|
||||
"key/value pairs:"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:808
|
||||
|
@ -1014,8 +1065,8 @@ msgstr "``pencolor(colorstring)``"
|
|||
|
||||
#: ../Doc/library/turtle.rst:871
|
||||
msgid ""
|
||||
"Set pencolor to *colorstring*, which is a Tk color specification string, "
|
||||
"such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
|
||||
"Set pencolor to *colorstring*, which is a Tk color specification string, such "
|
||||
"as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:877
|
||||
|
@ -1024,9 +1075,9 @@ msgstr "``pencolor((r, g, b))``"
|
|||
|
||||
#: ../Doc/library/turtle.rst:875
|
||||
msgid ""
|
||||
"Set pencolor to the RGB color represented by the tuple of *r*, *g*, and "
|
||||
"*b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where "
|
||||
"colormode is either 1.0 or 255 (see :func:`colormode`)."
|
||||
"Set pencolor to the RGB color represented by the tuple of *r*, *g*, and *b*. "
|
||||
"Each of *r*, *g*, and *b* must be in the range 0..colormode, where colormode "
|
||||
"is either 1.0 or 255 (see :func:`colormode`)."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:884
|
||||
|
@ -1035,8 +1086,8 @@ msgstr "``pencolor(r, g, b)``"
|
|||
|
||||
#: ../Doc/library/turtle.rst:880
|
||||
msgid ""
|
||||
"Set pencolor to the RGB color represented by *r*, *g*, and *b*. Each of "
|
||||
"*r*, *g*, and *b* must be in the range 0..colormode."
|
||||
"Set pencolor to the RGB color represented by *r*, *g*, and *b*. Each of *r*, "
|
||||
"*g*, and *b* must be in the range 0..colormode."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:883
|
||||
|
@ -1055,8 +1106,8 @@ msgstr "``fillcolor()``"
|
|||
|
||||
#: ../Doc/library/turtle.rst:914
|
||||
msgid ""
|
||||
"Return the current fillcolor as color specification string, possibly in "
|
||||
"tuple format (see example). May be used as input to another color/pencolor/"
|
||||
"Return the current fillcolor as color specification string, possibly in tuple "
|
||||
"format (see example). May be used as input to another color/pencolor/"
|
||||
"fillcolor call."
|
||||
msgstr ""
|
||||
|
||||
|
@ -1123,13 +1174,12 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:962
|
||||
msgid ""
|
||||
"Inputs as in :func:`pencolor`, set both, fillcolor and pencolor, to the "
|
||||
"given value."
|
||||
"Inputs as in :func:`pencolor`, set both, fillcolor and pencolor, to the given "
|
||||
"value."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:970
|
||||
msgid ""
|
||||
"``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``"
|
||||
msgid "``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:966
|
||||
|
@ -1168,9 +1218,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1049
|
||||
msgid ""
|
||||
"Delete the turtle's drawings from the screen. Do not move turtle. State "
|
||||
"and position of the turtle as well as drawings of other turtles are not "
|
||||
"affected."
|
||||
"Delete the turtle's drawings from the screen. Do not move turtle. State and "
|
||||
"position of the turtle as well as drawings of other turtles are not affected."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1055
|
||||
|
@ -1200,8 +1249,8 @@ msgstr ""
|
|||
#: ../Doc/library/turtle.rst:1078
|
||||
msgid ""
|
||||
"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 "
|
||||
"the drawing observably."
|
||||
"middle of doing some complex drawing, because hiding the turtle speeds up the "
|
||||
"drawing observably."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1090
|
||||
|
@ -1279,11 +1328,11 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1187
|
||||
msgid ""
|
||||
"Set or return the current shearfactor. Shear the turtleshape according to "
|
||||
"the given shearfactor shear, which is the tangent of the shear angle. Do "
|
||||
"*not* change the turtle's heading (direction of movement). If shear is not "
|
||||
"given: return the current shearfactor, i. e. the tangent of the shear angle, "
|
||||
"by which lines parallel to the heading of the turtle are sheared."
|
||||
"Set or return the current shearfactor. Shear the turtleshape according to the "
|
||||
"given shearfactor shear, which is the tangent of the shear angle. Do *not* "
|
||||
"change the turtle's heading (direction of movement). If shear is not given: "
|
||||
"return the current shearfactor, i. e. the tangent of the shear angle, by "
|
||||
"which lines parallel to the heading of the turtle are sheared."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1207
|
||||
|
@ -1321,12 +1370,12 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1273
|
||||
msgid ""
|
||||
"If none of the matrix elements are given, return the transformation matrix "
|
||||
"as a tuple of 4 elements. Otherwise set the given elements and transform the "
|
||||
"If none of the matrix elements are given, return the transformation matrix as "
|
||||
"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 "
|
||||
"second row t21, 22. The determinant t11 * t22 - t12 * t21 must not be zero, "
|
||||
"otherwise an error is raised. Modify stretchfactor, shearfactor and "
|
||||
"tiltangle according to the given matrix."
|
||||
"otherwise an error is raised. Modify stretchfactor, shearfactor and tiltangle "
|
||||
"according to the given matrix."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1294
|
||||
|
@ -1381,8 +1430,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1371
|
||||
msgid ""
|
||||
"Subsequently, clicking and dragging the Turtle will move it across the "
|
||||
"screen thereby producing handdrawings (if pen is down)."
|
||||
"Subsequently, clicking and dragging the Turtle will move it across the screen "
|
||||
"thereby producing handdrawings (if pen is down)."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1380
|
||||
|
@ -1441,9 +1490,9 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1476
|
||||
msgid ""
|
||||
"To use compound turtle shapes, which consist of several polygons of "
|
||||
"different color, you must use the helper class :class:`Shape` explicitly as "
|
||||
"described below:"
|
||||
"To use compound turtle shapes, which consist of several polygons of different "
|
||||
"color, you must use the helper class :class:`Shape` explicitly as described "
|
||||
"below:"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1480
|
||||
|
@ -1497,10 +1546,10 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1545
|
||||
msgid ""
|
||||
"Set background image or return name of current backgroundimage. If "
|
||||
"*picname* is a filename, set the corresponding image as background. If "
|
||||
"*picname* is ``\"nopic\"``, delete background image, if present. If "
|
||||
"*picname* is ``None``, return the filename of the current backgroundimage. ::"
|
||||
"Set background image or return name of current backgroundimage. If *picname* "
|
||||
"is a filename, set the corresponding image as background. If *picname* is ``"
|
||||
"\"nopic\"``, delete background image, if present. If *picname* is ``None``, "
|
||||
"return the filename of the current backgroundimage. ::"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1560
|
||||
|
@ -1544,9 +1593,9 @@ msgstr ""
|
|||
msgid ""
|
||||
"If no arguments are given, return current (canvaswidth, canvasheight). Else "
|
||||
"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 "
|
||||
"this method, one can make visible those parts of a drawing which were "
|
||||
"outside the canvas before."
|
||||
"window. To observe hidden parts of the canvas, use the scrollbars. With this "
|
||||
"method, one can make visible those parts of a drawing which were outside the "
|
||||
"canvas before."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1599
|
||||
|
@ -1572,14 +1621,13 @@ msgstr ""
|
|||
#: ../Doc/library/turtle.rst:1609
|
||||
msgid ""
|
||||
"Set up user-defined coordinate system and switch to mode \"world\" if "
|
||||
"necessary. This performs a ``screen.reset()``. If mode \"world\" is "
|
||||
"already active, all drawings are redrawn according to the new coordinates."
|
||||
"necessary. This performs a ``screen.reset()``. If mode \"world\" is already "
|
||||
"active, all drawings are redrawn according to the new coordinates."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1613
|
||||
msgid ""
|
||||
"**ATTENTION**: in user-defined coordinate systems angles may appear "
|
||||
"distorted."
|
||||
"**ATTENTION**: in user-defined coordinate systems angles may appear distorted."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1639
|
||||
|
@ -1621,8 +1669,7 @@ msgstr ""
|
|||
#: ../Doc/library/turtle.rst:1690
|
||||
msgid ""
|
||||
"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 "
|
||||
"method."
|
||||
"are provided in order to be able to pass :func:`listen` to the onclick method."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1697 ../Doc/library/turtle.rst:1716
|
||||
|
@ -1635,16 +1682,16 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1700
|
||||
msgid ""
|
||||
"Bind *fun* to key-release event of key. If *fun* is ``None``, event "
|
||||
"bindings are removed. Remark: in order to be able to register key-events, "
|
||||
"TurtleScreen must have the focus. (See method :func:`listen`.)"
|
||||
"Bind *fun* to key-release event of key. If *fun* is ``None``, event bindings "
|
||||
"are removed. Remark: in order to be able to register key-events, TurtleScreen "
|
||||
"must have the focus. (See method :func:`listen`.)"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1719
|
||||
msgid ""
|
||||
"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-"
|
||||
"events, TurtleScreen must have focus. (See method :func:`listen`.)"
|
||||
"event if no key is given. Remark: in order to be able to register key-events, "
|
||||
"TurtleScreen must have focus. (See method :func:`listen`.)"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1742
|
||||
|
@ -1681,9 +1728,9 @@ msgstr ""
|
|||
#: ../Doc/library/turtle.rst:1782
|
||||
msgid ""
|
||||
"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 "
|
||||
"run from within IDLE in -n mode (No subprocess) - for interactive use of "
|
||||
"turtle graphics. ::"
|
||||
"statement in a turtle graphics program. Must *not* be used if a script is run "
|
||||
"from within IDLE in -n mode (No subprocess) - for interactive use of turtle "
|
||||
"graphics. ::"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1795 ../Doc/library/turtle.rst:1796
|
||||
|
@ -1693,10 +1740,9 @@ msgstr "*string*"
|
|||
|
||||
#: ../Doc/library/turtle.rst:1798
|
||||
msgid ""
|
||||
"Pop up a dialog window for input of a string. Parameter title is the title "
|
||||
"of the dialog window, prompt is a text mostly describing what information to "
|
||||
"input. Return the string input. If the dialog is canceled, return "
|
||||
"``None``. ::"
|
||||
"Pop up a dialog window for input of a string. Parameter title is the title of "
|
||||
"the dialog window, prompt is a text mostly describing what information to "
|
||||
"input. Return the string input. If the dialog is canceled, return ``None``. ::"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1814
|
||||
|
@ -1724,8 +1770,8 @@ msgstr ""
|
|||
msgid ""
|
||||
"Mode \"standard\" is compatible with old :mod:`turtle`. Mode \"logo\" is "
|
||||
"compatible with most Logo turtle graphics. Mode \"world\" uses user-defined "
|
||||
"\"world coordinates\". **Attention**: in this mode angles appear distorted "
|
||||
"if ``x/y`` unit-ratio doesn't equal 1."
|
||||
"\"world coordinates\". **Attention**: in this mode angles appear distorted if "
|
||||
"``x/y`` unit-ratio doesn't equal 1."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1842
|
||||
|
@ -1776,8 +1822,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1879
|
||||
msgid ""
|
||||
"Return the Canvas of this TurtleScreen. Useful for insiders who know what "
|
||||
"to do with a Tkinter Canvas."
|
||||
"Return the Canvas of this TurtleScreen. Useful for insiders who know what to "
|
||||
"do with a Tkinter Canvas."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1891
|
||||
|
@ -1802,8 +1848,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1913
|
||||
msgid ""
|
||||
"*name* is an arbitrary string and *shape* is a tuple of pairs of "
|
||||
"coordinates: Install the corresponding polygon shape."
|
||||
"*name* is an arbitrary string and *shape* is a tuple of pairs of coordinates: "
|
||||
"Install the corresponding polygon shape."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1920
|
||||
|
@ -1845,10 +1891,10 @@ msgstr ""
|
|||
#: ../Doc/library/turtle.rst:1968
|
||||
msgid ""
|
||||
"If the value \"using_IDLE\" in the configuration dictionary is ``False`` "
|
||||
"(default value), also enter mainloop. Remark: If IDLE with the ``-n`` "
|
||||
"switch (no subprocess) is used, this value should be set to ``True`` in :"
|
||||
"file:`turtle.cfg`. In this case IDLE's own mainloop is active also for the "
|
||||
"client script."
|
||||
"(default value), also enter mainloop. Remark: If IDLE with the ``-n`` switch "
|
||||
"(no subprocess) is used, this value should be set to ``True`` in :file:"
|
||||
"`turtle.cfg`. In this case IDLE's own mainloop is active also for the client "
|
||||
"script."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1977
|
||||
|
@ -1872,8 +1918,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:1985
|
||||
msgid ""
|
||||
"if positive, starting position in pixels from the left edge of the screen, "
|
||||
"if negative from the right edge, if ``None``, center window horizontally"
|
||||
"if positive, starting position in pixels from the left edge of the screen, if "
|
||||
"negative from the right edge, if ``None``, center window horizontally"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:1988
|
||||
|
@ -1929,8 +1975,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:2046
|
||||
msgid ""
|
||||
"some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas "
|
||||
"with scrollbars added"
|
||||
"some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas with "
|
||||
"scrollbars added"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2049
|
||||
|
@ -2082,8 +2128,8 @@ msgstr ""
|
|||
#: ../Doc/library/turtle.rst:2188
|
||||
msgid ""
|
||||
"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 "
|
||||
"the classes Screen and Turtle."
|
||||
"names and the values of which are the docstrings of the public methods of the "
|
||||
"classes Screen and Turtle."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2194
|
||||
|
@ -2115,8 +2161,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:2209
|
||||
msgid ""
|
||||
"At the time of this writing there are docstring dictionaries in German and "
|
||||
"in Italian. (Requests please to glingl@aon.at.)"
|
||||
"At the time of this writing there are docstring dictionaries in German and in "
|
||||
"Italian. (Requests please to glingl@aon.at.)"
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2215
|
||||
|
@ -2125,17 +2171,16 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:2217
|
||||
msgid ""
|
||||
"The built-in default configuration mimics the appearance and behaviour of "
|
||||
"the old turtle module in order to retain best possible compatibility with it."
|
||||
"The built-in default configuration mimics the appearance and behaviour of the "
|
||||
"old turtle module in order to retain best possible compatibility with it."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2220
|
||||
msgid ""
|
||||
"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 "
|
||||
"a classroom, you can prepare a configuration file ``turtle.cfg`` which will "
|
||||
"be read at import time and modify the configuration according to its "
|
||||
"settings."
|
||||
"features of this module or which better fits to your needs, e.g. for use in a "
|
||||
"classroom, you can prepare a configuration file ``turtle.cfg`` which will be "
|
||||
"read at import time and modify the configuration according to its settings."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2225
|
||||
|
@ -2161,8 +2206,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:2254
|
||||
msgid ""
|
||||
"*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For "
|
||||
"more info try ``help(shape)``."
|
||||
"*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For more "
|
||||
"info try ``help(shape)``."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2256
|
||||
|
@ -2189,28 +2234,27 @@ msgstr ""
|
|||
msgid ""
|
||||
"The entries *exampleturtle* and *examplescreen* define the names of these "
|
||||
"objects as they occur in the docstrings. The transformation of method-"
|
||||
"docstrings to function-docstrings will delete these names from the "
|
||||
"docstrings."
|
||||
"docstrings to function-docstrings will delete these names from the docstrings."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2268
|
||||
msgid ""
|
||||
"*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -"
|
||||
"n switch (\"no subprocess\"). This will prevent :func:`exitonclick` to "
|
||||
"enter the mainloop."
|
||||
"*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -n "
|
||||
"switch (\"no subprocess\"). This will prevent :func:`exitonclick` to enter "
|
||||
"the mainloop."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2272
|
||||
msgid ""
|
||||
"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 "
|
||||
"latter will override the settings of the first one."
|
||||
"is stored and an additional one in the current working directory. The latter "
|
||||
"will override the settings of the first one."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2276
|
||||
msgid ""
|
||||
"The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. "
|
||||
"You can study it as an example and see its effects when running the demos "
|
||||
"The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. You "
|
||||
"can study it as an example and see its effects when running the demos "
|
||||
"(preferably not from within the demo-viewer)."
|
||||
msgstr ""
|
||||
|
||||
|
@ -2235,8 +2279,8 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:2298
|
||||
msgid ""
|
||||
"A demo viewer :file:`__main__.py` which can be used to view the sourcecode "
|
||||
"of the scripts and run them at the same time."
|
||||
"A demo viewer :file:`__main__.py` which can be used to view the sourcecode of "
|
||||
"the scripts and run them at the same time."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2300
|
||||
|
@ -2492,8 +2536,8 @@ msgid ""
|
|||
"The methods :meth:`Turtle.tracer`, :meth:`Turtle.window_width` and :meth:"
|
||||
"`Turtle.window_height` have been eliminated. Methods with these names and "
|
||||
"functionality are now available only as methods of :class:`Screen`. The "
|
||||
"functions derived from these remain available. (In fact already in Python "
|
||||
"2.6 these methods were merely duplications of the corresponding :class:"
|
||||
"functions derived from these remain available. (In fact already in Python 2.6 "
|
||||
"these methods were merely duplications of the corresponding :class:"
|
||||
"`TurtleScreen`/:class:`Screen`-methods.)"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2533,9 +2577,9 @@ msgstr ""
|
|||
|
||||
#: ../Doc/library/turtle.rst:2411
|
||||
msgid ""
|
||||
"The method :meth:`Screen.mainloop` has been added. So when working only "
|
||||
"with Screen and Turtle objects one must not additionally import :func:"
|
||||
"`mainloop` anymore."
|
||||
"The method :meth:`Screen.mainloop` has been added. So when working only with "
|
||||
"Screen and Turtle objects one must not additionally import :func:`mainloop` "
|
||||
"anymore."
|
||||
msgstr ""
|
||||
|
||||
#: ../Doc/library/turtle.rst:2415
|
||||
|
|
Loading…
Reference in New Issue
Block a user