translation of c-api/complex.po (#542)

This commit is contained in:
Antoine Foures 2019-01-17 00:42:24 +01:00 committed by Julien Palard
parent 9c52dd9e4c
commit 95fc9b720a

View File

@ -6,8 +6,8 @@ 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: 2017-09-21 09:15+0200\n" "POT-Creation-Date: 2017-09-21 09:15+0200\n"
"PO-Revision-Date: 2018-02-15 00:31+0100\n" "PO-Revision-Date: 2019-01-14 20:31+0100\n"
"Last-Translator: \n" "Last-Translator: ANTOINE FOURES <afoures@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"
@ -17,7 +17,7 @@ msgstr ""
#: ../Doc/c-api/complex.rst:6 #: ../Doc/c-api/complex.rst:6
msgid "Complex Number Objects" msgid "Complex Number Objects"
msgstr "Objets nombres complexes" msgstr "Objets représentant des nombres complexes"
#: ../Doc/c-api/complex.rst:10 #: ../Doc/c-api/complex.rst:10
msgid "" msgid ""
@ -26,10 +26,10 @@ msgid ""
"and the other is a C structure which represents the actual complex number " "and the other is a C structure which represents the actual complex number "
"value. The API provides functions for working with both." "value. The API provides functions for working with both."
msgstr "" msgstr ""
"Les objets Python nombres complexes sont implémentés comme deux types " "Les nombres complexes Python sont implémentés comme deux types distincts, "
"distincts, lorsqu'ils sont vus de l'API C : l'un est l'objet Python tel " "lorsqu'ils sont vus de l'API C : l'un est l'objet Python tel qu'il est vu "
"qu'il est vu par les programmes Python, et l'autre est une structure C qui " "par les programmes Python, et l'autre est une structure C qui représente la "
"représente la valeur complexe courante. L'API fournit des fonctions pour " "valeur exacte du nombre complexe. L'API fournit des fonctions pour "
"travailler avec ces deux représentations." "travailler avec ces deux représentations."
#: ../Doc/c-api/complex.rst:17 #: ../Doc/c-api/complex.rst:17
@ -42,9 +42,9 @@ msgid ""
"return them as results do so *by value* rather than dereferencing them " "return them as results do so *by value* rather than dereferencing them "
"through pointers. This is consistent throughout the API." "through pointers. This is consistent throughout the API."
msgstr "" msgstr ""
"Remarquez que les fonctions qui acceptent ces structures comme paramètres et " "Les fonctions qui acceptent ces structures comme paramètres et les renvoient "
"les renvoient comme résultats le font *par valeur* au lieur de les dé-" "comme résultats le font en fonction de leur *valeur* au lieu de les dé-"
"référencer en utilisant des pointeurs. Cela est constant dans toute l'API." "référencer en utilisant des pointeurs. C'est constant dans toute l'API."
#: ../Doc/c-api/complex.rst:26 #: ../Doc/c-api/complex.rst:26
msgid "" msgid ""
@ -53,54 +53,73 @@ msgid ""
"objects use structures of this type as input or output values, as " "objects use structures of this type as input or output values, as "
"appropriate. It is defined as::" "appropriate. It is defined as::"
msgstr "" msgstr ""
"Structure C représentant la valeur d'un nombre complexe Python. La majorité "
"des fonctions qui traitent des nombres complexes utilisent cette structure "
"en entrée ou en sortie, selon le cas. Elle est définie par ::"
#: ../Doc/c-api/complex.rst:39 #: ../Doc/c-api/complex.rst:39
msgid "" msgid ""
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` " "Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
"representation." "representation."
msgstr "" msgstr ""
"Renvoie la somme de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
#: ../Doc/c-api/complex.rst:45 #: ../Doc/c-api/complex.rst:45
msgid "" msgid ""
"Return the difference between two complex numbers, using the C :c:type:" "Return the difference between two complex numbers, using the C :c:type:"
"`Py_complex` representation." "`Py_complex` representation."
msgstr "" msgstr ""
"Renvoie la différence de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
#: ../Doc/c-api/complex.rst:51 #: ../Doc/c-api/complex.rst:51
msgid "" msgid ""
"Return the negation of the complex number *complex*, using the C :c:type:" "Return the negation of the complex number *complex*, using the C :c:type:"
"`Py_complex` representation." "`Py_complex` representation."
msgstr "" msgstr ""
"Renvoie l'opposé du nombre complexe *complex*, sous la forme d'un :c:type:"
"`Py_complex` en C."
#: ../Doc/c-api/complex.rst:57 #: ../Doc/c-api/complex.rst:57
msgid "" msgid ""
"Return the product of two complex numbers, using the C :c:type:`Py_complex` " "Return the product of two complex numbers, using the C :c:type:`Py_complex` "
"representation." "representation."
msgstr "" msgstr ""
"Renvoie le produit de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
#: ../Doc/c-api/complex.rst:63 #: ../Doc/c-api/complex.rst:63
msgid "" msgid ""
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` " "Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
"representation." "representation."
msgstr "" msgstr ""
"Renvoie le quotient de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
#: ../Doc/c-api/complex.rst:66 #: ../Doc/c-api/complex.rst:66
msgid "" msgid ""
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :" "If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
"c:data:`EDOM`." "c:data:`EDOM`."
msgstr "" msgstr ""
"Si *divisor* est nul, cette méthode renvoie zéro et assigne :c:data:`EDOM` "
"à :c:data:`errno`."
#: ../Doc/c-api/complex.rst:72 #: ../Doc/c-api/complex.rst:72
msgid "" msgid ""
"Return the exponentiation of *num* by *exp*, using the C :c:type:" "Return the exponentiation of *num* by *exp*, using the C :c:type:"
"`Py_complex` representation." "`Py_complex` representation."
msgstr "" msgstr ""
"Renvoie *num* à la puissance *exp*, sous la forme d'un :c:type:`Py_complex` "
"en C."
#: ../Doc/c-api/complex.rst:75 #: ../Doc/c-api/complex.rst:75
msgid "" msgid ""
"If *num* is null and *exp* is not a positive real number, this method " "If *num* is null and *exp* is not a positive real number, this method "
"returns zero and sets :c:data:`errno` to :c:data:`EDOM`." "returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
msgstr "" msgstr ""
"Si *num* est nul et *exp* n'est pas un nombre réel positif, cette méthode "
"renvoie zéro et assigne :c:data:`EDOM` à :c:data:`errno`."
#: ../Doc/c-api/complex.rst:80 #: ../Doc/c-api/complex.rst:80
msgid "Complex Numbers as Python Objects" msgid "Complex Numbers as Python Objects"
@ -110,46 +129,64 @@ msgstr "Nombres complexes en tant qu'objets Python"
msgid "" msgid ""
"This subtype of :c:type:`PyObject` represents a Python complex number object." "This subtype of :c:type:`PyObject` represents a Python complex number object."
msgstr "" msgstr ""
"Ce sous-type de l'objet :c:type:`PyObject` représente un nombre complexe en "
"Python."
#: ../Doc/c-api/complex.rst:90 #: ../Doc/c-api/complex.rst:90
msgid "" msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python complex number " "This instance of :c:type:`PyTypeObject` represents the Python complex number "
"type. It is the same object as :class:`complex` in the Python layer." "type. It is the same object as :class:`complex` in the Python layer."
msgstr "" msgstr ""
"Cette instance de :c:type:`PyTypeObject` représente le type nombre complexe "
"Python. C'est le même objet que la classe :class:`complex` de la couche "
"Python."
#: ../Doc/c-api/complex.rst:96 #: ../Doc/c-api/complex.rst:96
msgid "" msgid ""
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :" "Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
"c:type:`PyComplexObject`." "c:type:`PyComplexObject`."
msgstr "" msgstr ""
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject` ou un sous-"
"type de :c:type:`PyComplexObject`."
#: ../Doc/c-api/complex.rst:102 #: ../Doc/c-api/complex.rst:102
msgid "" msgid ""
"Return true if its argument is a :c:type:`PyComplexObject`, but not a " "Return true if its argument is a :c:type:`PyComplexObject`, but not a "
"subtype of :c:type:`PyComplexObject`." "subtype of :c:type:`PyComplexObject`."
msgstr "" msgstr ""
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject`, mais pas "
"un sous-type de :c:type:`PyComplexObject`."
#: ../Doc/c-api/complex.rst:108 #: ../Doc/c-api/complex.rst:108
msgid "" msgid ""
"Create a new Python complex number object from a C :c:type:`Py_complex` " "Create a new Python complex number object from a C :c:type:`Py_complex` "
"value." "value."
msgstr "" msgstr ""
"Crée un nouveau nombre complexe à partir de la valeur d'un :c:type:"
"`Py_complex` en C."
#: ../Doc/c-api/complex.rst:113 #: ../Doc/c-api/complex.rst:113
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*." msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
msgstr "" msgstr ""
"Renvoie un nouveau :c:type:`PyComplexObject` à partir de *real* et de *imag*."
#: ../Doc/c-api/complex.rst:118 #: ../Doc/c-api/complex.rst:118
msgid "Return the real part of *op* as a C :c:type:`double`." msgid "Return the real part of *op* as a C :c:type:`double`."
msgstr "" msgstr ""
"Renvoie la partie réelle du nombre complexe *op* sous la forme d'un :c:type:"
"`double` en C."
#: ../Doc/c-api/complex.rst:123 #: ../Doc/c-api/complex.rst:123
msgid "Return the imaginary part of *op* as a C :c:type:`double`." msgid "Return the imaginary part of *op* as a C :c:type:`double`."
msgstr "" msgstr ""
"Renvoie la partie imaginaire du nombre complexe *op* sous la forme d'un :c:"
"type:`double` en C."
#: ../Doc/c-api/complex.rst:128 #: ../Doc/c-api/complex.rst:128
msgid "Return the :c:type:`Py_complex` value of the complex number *op*." msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
msgstr "" msgstr ""
"Renvoie la valeur du nombre complexe *op* sous la forme d'un :c:type:"
"`Py_complex` en C."
#: ../Doc/c-api/complex.rst:130 #: ../Doc/c-api/complex.rst:130
msgid "" msgid ""
@ -157,3 +194,7 @@ msgid ""
"method, this method will first be called to convert *op* to a Python complex " "method, this method will first be called to convert *op* to a Python complex "
"number object. Upon failure, this method returns ``-1.0`` as a real value." "number object. Upon failure, this method returns ``-1.0`` as a real value."
msgstr "" msgstr ""
"Si *op* n'est pas un nombre complexe Python mais a une méthode :meth:"
"`__complex__`, cette méthode est d'abord appelée pour convertir *op* en "
"nombre complexe Python. En cas d'échec, cette méthode renvoie ``-1.0`` en "
"tant que nombre réel."