Traduction de library/decimal.po (#1660)

Co-authored-by: Julien Palard <julien@palard.fr>
Co-authored-by: Vincent Poulailleau <vpoulailleau@gmail.com>
Co-authored-by: Mathieu Dupuy <deronnax@gmail.com>
Co-authored-by: Mathieu Dupuy <mathieu.dupuy@critizr.com>
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>

Merci à tous.
This commit is contained in:
Nils Van Zuijlen 2022-05-30 12:13:38 +02:00 committed by GitHub
parent 0b030e224d
commit 168550f460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ msgstr ""
"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.4.1\n"
#: library/decimal.rst:2 #: library/decimal.rst:2
msgid ":mod:`decimal` --- Decimal fixed point and floating point arithmetic" msgid ":mod:`decimal` --- Decimal fixed point and floating point arithmetic"
@ -459,7 +459,7 @@ msgstr ""
#: library/decimal.rst:392 #: library/decimal.rst:392
msgid "Once constructed, :class:`Decimal` objects are immutable." msgid "Once constructed, :class:`Decimal` objects are immutable."
msgstr "Une fois construit, les objets :class:`Decimal` sont immuables." msgstr "Une fois construit, les objets :class:`Decimal` sont immuables."
#: library/decimal.rst:394 #: library/decimal.rst:394
msgid "" msgid ""
@ -543,7 +543,7 @@ msgid ""
msgstr "" msgstr ""
"Les objets ``Decimal`` ne peuvent généralement pas être combinés avec des " "Les objets ``Decimal`` ne peuvent généralement pas être combinés avec des "
"``float`` ou des objets :class:`fractions.Fraction` lors d'opérations " "``float`` ou des objets :class:`fractions.Fraction` lors d'opérations "
"arithmétiques : tout addition entre un :class:`Decimal` avec un :class:" "arithmétiques : tout addition entre un :class:`Decimal` avec un :class:"
"`float`, par exemple, lève une exception :exc:`TypeError`. Cependant, il est " "`float`, par exemple, lève une exception :exc:`TypeError`. Cependant, il est "
"possible d'utiliser les opérateurs de comparaison entre instances de :class:" "possible d'utiliser les opérateurs de comparaison entre instances de :class:"
"`Decimal` avec les autres types numériques. Cela évite d'avoir des résultats " "`Decimal` avec les autres types numériques. Cela évite d'avoir des résultats "
@ -710,24 +710,33 @@ msgid ""
"otherwise. Currently, a :class:`Decimal` instance is always canonical, so " "otherwise. Currently, a :class:`Decimal` instance is always canonical, so "
"this operation always returns :const:`True`." "this operation always returns :const:`True`."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est sous forme canonique et :const:"
"`False` sinon. Actuellement, une instance :class:`Decimal` est toujours "
"canonique, donc cette opération renvoie toujours :const:`True`."
#: library/decimal.rst:617 #: library/decimal.rst:617
msgid "" msgid ""
"Return :const:`True` if the argument is a finite number, and :const:`False` " "Return :const:`True` if the argument is a finite number, and :const:`False` "
"if the argument is an infinity or a NaN." "if the argument is an infinity or a NaN."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est un nombre fini et :const:`False` si "
"l'argument est un infini ou NaN."
#: library/decimal.rst:622 #: library/decimal.rst:622
msgid "" msgid ""
"Return :const:`True` if the argument is either positive or negative infinity " "Return :const:`True` if the argument is either positive or negative infinity "
"and :const:`False` otherwise." "and :const:`False` otherwise."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est un infini positif ou négatif et :"
"const:`False` sinon."
#: library/decimal.rst:627 #: library/decimal.rst:627
msgid "" msgid ""
"Return :const:`True` if the argument is a (quiet or signaling) NaN and :" "Return :const:`True` if the argument is a (quiet or signaling) NaN and :"
"const:`False` otherwise." "const:`False` otherwise."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est un NaN (signalétique ou "
"silencieux) et :const:`False` sinon."
#: library/decimal.rst:632 #: library/decimal.rst:632
msgid "" msgid ""
@ -740,18 +749,24 @@ msgid ""
"Return :const:`True` if the argument is a quiet NaN, and :const:`False` " "Return :const:`True` if the argument is a quiet NaN, and :const:`False` "
"otherwise." "otherwise."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est un NaN silencieux et :const:`False` "
"sinon."
#: library/decimal.rst:642 #: library/decimal.rst:642
msgid "" msgid ""
"Return :const:`True` if the argument has a negative sign and :const:`False` " "Return :const:`True` if the argument has a negative sign and :const:`False` "
"otherwise. Note that zeros and NaNs can both carry signs." "otherwise. Note that zeros and NaNs can both carry signs."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est négatif et :const:`False` sinon. "
"Notez que les zéros et les NaNs peuvent être signés."
#: library/decimal.rst:647 #: library/decimal.rst:647
msgid "" msgid ""
"Return :const:`True` if the argument is a signaling NaN and :const:`False` " "Return :const:`True` if the argument is a signaling NaN and :const:`False` "
"otherwise." "otherwise."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est un NaN signalétique et :const:"
"`False` sinon."
#: library/decimal.rst:652 #: library/decimal.rst:652
msgid "" msgid ""
@ -764,18 +779,24 @@ msgid ""
"Return :const:`True` if the argument is a (positive or negative) zero and :" "Return :const:`True` if the argument is a (positive or negative) zero and :"
"const:`False` otherwise." "const:`False` otherwise."
msgstr "" msgstr ""
"Renvoie :const:`True` si l'argument est un zéro (positif ou négatif) et :"
"const:`False` sinon."
#: library/decimal.rst:662 #: library/decimal.rst:662
msgid "" msgid ""
"Return the natural (base e) logarithm of the operand. The result is " "Return the natural (base e) logarithm of the operand. The result is "
"correctly rounded using the :const:`ROUND_HALF_EVEN` rounding mode." "correctly rounded using the :const:`ROUND_HALF_EVEN` rounding mode."
msgstr "" msgstr ""
"Renvoie le logarithme naturel (base e) de l'opérande. Le résultat est "
"arrondi avec le mode :const:`ROUND_HALF_EVEN`."
#: library/decimal.rst:667 #: library/decimal.rst:667
msgid "" msgid ""
"Return the base ten logarithm of the operand. The result is correctly " "Return the base ten logarithm of the operand. The result is correctly "
"rounded using the :const:`ROUND_HALF_EVEN` rounding mode." "rounded using the :const:`ROUND_HALF_EVEN` rounding mode."
msgstr "" msgstr ""
"Renvoie le logarithme en base 10 de l'opérande. Le résultat est arrondi avec "
"le mode :const:`ROUND_HALF_EVEN`."
#: library/decimal.rst:672 #: library/decimal.rst:672
msgid "" msgid ""
@ -876,9 +897,10 @@ msgid ""
"is one of the following ten strings." "is one of the following ten strings."
msgstr "" msgstr ""
# Élément d'une liste, d'où le ; final
#: library/decimal.rst:758 #: library/decimal.rst:758
msgid "``\"-Infinity\"``, indicating that the operand is negative infinity." msgid "``\"-Infinity\"``, indicating that the operand is negative infinity."
msgstr "" msgstr "``\"-Infinity\"``, indiquant que l'opérande est l'infini négatif ;"
#: library/decimal.rst:759 #: library/decimal.rst:759
msgid "" msgid ""
@ -890,13 +912,15 @@ msgid ""
"``\"-Subnormal\"``, indicating that the operand is negative and subnormal." "``\"-Subnormal\"``, indicating that the operand is negative and subnormal."
msgstr "" msgstr ""
# Élément d'une liste, d'où le ; final
#: library/decimal.rst:761 #: library/decimal.rst:761
msgid "``\"-Zero\"``, indicating that the operand is a negative zero." msgid "``\"-Zero\"``, indicating that the operand is a negative zero."
msgstr "" msgstr "``\"-Zero\"``, indiquant que l'opérande est un zéro négatif ;"
# Élément d'une liste, d'où le ; final
#: library/decimal.rst:762 #: library/decimal.rst:762
msgid "``\"+Zero\"``, indicating that the operand is a positive zero." msgid "``\"+Zero\"``, indicating that the operand is a positive zero."
msgstr "" msgstr "``\"+Zero\"``, indiquant que l'opérande est un zéro positif ;"
#: library/decimal.rst:763 #: library/decimal.rst:763
msgid "" msgid ""
@ -908,17 +932,23 @@ msgid ""
"``\"+Normal\"``, indicating that the operand is a positive normal number." "``\"+Normal\"``, indicating that the operand is a positive normal number."
msgstr "" msgstr ""
# Élément d'une liste, d'où le ; final
#: library/decimal.rst:765 #: library/decimal.rst:765
msgid "``\"+Infinity\"``, indicating that the operand is positive infinity." msgid "``\"+Infinity\"``, indicating that the operand is positive infinity."
msgstr "" msgstr "``\"+Infinity\"``, indiquant que l'opérande est l'infini positif ;"
# Élément d'une liste, d'où le ; final
#: library/decimal.rst:766 #: library/decimal.rst:766
msgid "``\"NaN\"``, indicating that the operand is a quiet NaN (Not a Number)." msgid "``\"NaN\"``, indicating that the operand is a quiet NaN (Not a Number)."
msgstr "" msgstr ""
"``\"NaN\"``, indiquant que l'opérande est un NaN (*Not a Number*, pas un "
"nombre) silencieux ;"
#: library/decimal.rst:767 #: library/decimal.rst:767
msgid "``\"sNaN\"``, indicating that the operand is a signaling NaN." msgid "``\"sNaN\"``, indicating that the operand is a signaling NaN."
msgstr "" msgstr ""
"``\"sNaN\"``, indiquant que l'opérande est un NaN (*Not a Number*, pas un "
"nombre) signalétique."
#: library/decimal.rst:771 #: library/decimal.rst:771
msgid "" msgid ""
@ -1327,7 +1357,7 @@ msgstr "Renvoie la valeur absolue de *x*."
#: library/decimal.rst:1136 #: library/decimal.rst:1136
msgid "Return the sum of *x* and *y*." msgid "Return the sum of *x* and *y*."
msgstr "" msgstr "Renvoie la somme de *x* et *y*."
#: library/decimal.rst:1141 #: library/decimal.rst:1141
msgid "Returns the same Decimal object *x*." msgid "Returns the same Decimal object *x*."
@ -1356,31 +1386,31 @@ msgstr ""
#: library/decimal.rst:1171 #: library/decimal.rst:1171
msgid "Returns a copy of *x* with the sign inverted." msgid "Returns a copy of *x* with the sign inverted."
msgstr "" msgstr "Renvoie une copie de *x* mais de signe opposé."
#: library/decimal.rst:1176 #: library/decimal.rst:1176
msgid "Copies the sign from *y* to *x*." msgid "Copies the sign from *y* to *x*."
msgstr "" msgstr "Copie le signe de *y* vers *x*."
#: library/decimal.rst:1181 #: library/decimal.rst:1181
msgid "Return *x* divided by *y*." msgid "Return *x* divided by *y*."
msgstr "" msgstr "Renvoie *x* divisé par *y*."
#: library/decimal.rst:1186 #: library/decimal.rst:1186
msgid "Return *x* divided by *y*, truncated to an integer." msgid "Return *x* divided by *y*, truncated to an integer."
msgstr "" msgstr "Renvoie *x* divisé par *y*, tronqué comme entier."
#: library/decimal.rst:1191 #: library/decimal.rst:1191
msgid "Divides two numbers and returns the integer part of the result." msgid "Divides two numbers and returns the integer part of the result."
msgstr "" msgstr "Renvoie la partie entière de la division entre deux nombres."
#: library/decimal.rst:1196 #: library/decimal.rst:1196
msgid "Returns `e ** x`." msgid "Returns `e ** x`."
msgstr "" msgstr "Renvoie `e ** x`."
#: library/decimal.rst:1201 #: library/decimal.rst:1201
msgid "Returns *x* multiplied by *y*, plus *z*." msgid "Returns *x* multiplied by *y*, plus *z*."
msgstr "" msgstr "Renvoie *x* multiplié par *y*, plus *z*."
#: library/decimal.rst:1206 #: library/decimal.rst:1206
msgid "Returns ``True`` if *x* is canonical; otherwise returns ``False``." msgid "Returns ``True`` if *x* is canonical; otherwise returns ``False``."
@ -1392,11 +1422,13 @@ msgstr ""
#: library/decimal.rst:1216 #: library/decimal.rst:1216
msgid "Returns ``True`` if *x* is infinite; otherwise returns ``False``." msgid "Returns ``True`` if *x* is infinite; otherwise returns ``False``."
msgstr "" msgstr "Renvoie ``True`` si *x* est infini et ``False`` sinon."
#: library/decimal.rst:1221 #: library/decimal.rst:1221
msgid "Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``." msgid "Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``."
msgstr "" msgstr ""
"Renvoie ``True`` si *x* est un NaN (silencieux ou signalétique) et "
"``False`` sinon."
#: library/decimal.rst:1226 #: library/decimal.rst:1226
msgid "" msgid ""
@ -1406,15 +1438,17 @@ msgstr ""
#: library/decimal.rst:1231 #: library/decimal.rst:1231
msgid "Returns ``True`` if *x* is a quiet NaN; otherwise returns ``False``." msgid "Returns ``True`` if *x* is a quiet NaN; otherwise returns ``False``."
msgstr "" msgstr ""
"Renvoie ``True`` si *x* est un NaN silencieux et ``False`` sinon."
#: library/decimal.rst:1236 #: library/decimal.rst:1236
msgid "Returns ``True`` if *x* is negative; otherwise returns ``False``." msgid "Returns ``True`` if *x* is negative; otherwise returns ``False``."
msgstr "" msgstr "Renvoie ``True`` si *x* est négatif et ``False`` sinon."
#: library/decimal.rst:1241 #: library/decimal.rst:1241
msgid "" msgid ""
"Returns ``True`` if *x* is a signaling NaN; otherwise returns ``False``." "Returns ``True`` if *x* is a signaling NaN; otherwise returns ``False``."
msgstr "" msgstr ""
"Renvoie ``True`` si *x* est un NaN signalétique et ``False`` sinon."
#: library/decimal.rst:1246 #: library/decimal.rst:1246
msgid "Returns ``True`` if *x* is subnormal; otherwise returns ``False``." msgid "Returns ``True`` if *x* is subnormal; otherwise returns ``False``."
@ -1422,15 +1456,15 @@ msgstr ""
#: library/decimal.rst:1251 #: library/decimal.rst:1251
msgid "Returns ``True`` if *x* is a zero; otherwise returns ``False``." msgid "Returns ``True`` if *x* is a zero; otherwise returns ``False``."
msgstr "" msgstr "Renvoie ``True`` si *x* est un zéro et ``False`` sinon."
#: library/decimal.rst:1256 #: library/decimal.rst:1256
msgid "Returns the natural (base e) logarithm of *x*." msgid "Returns the natural (base e) logarithm of *x*."
msgstr "" msgstr "Renvoie le logarithme naturel (en base e) de *x*."
#: library/decimal.rst:1261 #: library/decimal.rst:1261
msgid "Returns the base 10 logarithm of *x*." msgid "Returns the base 10 logarithm of *x*."
msgstr "" msgstr "Renvoie le logarithme en base 10 de *x*."
#: library/decimal.rst:1266 #: library/decimal.rst:1266
msgid "Returns the exponent of the magnitude of the operand's MSD." msgid "Returns the exponent of the magnitude of the operand's MSD."
@ -1454,7 +1488,7 @@ msgstr ""
#: library/decimal.rst:1291 #: library/decimal.rst:1291
msgid "Compares two values numerically and returns the maximum." msgid "Compares two values numerically and returns the maximum."
msgstr "" msgstr "Renvoie le maximum entre les deux valeurs numériques."
#: library/decimal.rst:1306 #: library/decimal.rst:1306
msgid "Compares the values numerically with their sign ignored." msgid "Compares the values numerically with their sign ignored."
@ -1470,7 +1504,7 @@ msgstr ""
#: library/decimal.rst:1316 #: library/decimal.rst:1316
msgid "Return the product of *x* and *y*." msgid "Return the product of *x* and *y*."
msgstr "" msgstr "Renvoie la multiplication de *x* avec *y*."
#: library/decimal.rst:1321 #: library/decimal.rst:1321
msgid "Returns the largest representable number smaller than *x*." msgid "Returns the largest representable number smaller than *x*."
@ -1486,7 +1520,7 @@ msgstr ""
#: library/decimal.rst:1336 #: library/decimal.rst:1336
msgid "Reduces *x* to its simplest form." msgid "Reduces *x* to its simplest form."
msgstr "" msgstr "Réduit *x* à sa forme la plus simple."
#: library/decimal.rst:1341 #: library/decimal.rst:1341
msgid "Returns an indication of the class of *x*." msgid "Returns an indication of the class of *x*."
@ -1535,13 +1569,15 @@ msgstr ""
msgid "all three arguments must be integral" msgid "all three arguments must be integral"
msgstr "" msgstr ""
# Élément d'une liste, d'où le ; final
#: library/decimal.rst:1373 #: library/decimal.rst:1373
msgid "``y`` must be nonnegative" msgid "``y`` must be nonnegative"
msgstr "" msgstr "``y`` ne doit pas être négatif ;"
# Élément d'une liste, d'où le ; final
#: library/decimal.rst:1374 #: library/decimal.rst:1374
msgid "at least one of ``x`` or ``y`` must be nonzero" msgid "at least one of ``x`` or ``y`` must be nonzero"
msgstr "" msgstr "au moins l'un de ``x`` ou ``y`` doit être différent de zéro ;"
#: library/decimal.rst:1375 #: library/decimal.rst:1375
msgid "``modulo`` must be nonzero and have at most 'precision' digits" msgid "``modulo`` must be nonzero and have at most 'precision' digits"
@ -1562,11 +1598,11 @@ msgstr ""
#: library/decimal.rst:1392 #: library/decimal.rst:1392
msgid "Just returns 10, as this is Decimal, :)" msgid "Just returns 10, as this is Decimal, :)"
msgstr "" msgstr "Renvoie 10 car c'est Decimal, :)"
#: library/decimal.rst:1397 #: library/decimal.rst:1397
msgid "Returns the remainder from integer division." msgid "Returns the remainder from integer division."
msgstr "" msgstr "Donne le reste de la division entière."
#: library/decimal.rst:1399 #: library/decimal.rst:1399
msgid "" msgid ""
@ -1586,7 +1622,7 @@ msgstr ""
#: library/decimal.rst:1416 #: library/decimal.rst:1416
msgid "Returns ``True`` if the two operands have the same exponent." msgid "Returns ``True`` if the two operands have the same exponent."
msgstr "" msgstr "Renvoie ``True`` si les deux opérandes ont le même exposant."
#: library/decimal.rst:1421 #: library/decimal.rst:1421
msgid "Returns the first operand after adding the second value its exp." msgid "Returns the first operand after adding the second value its exp."
@ -1621,6 +1657,9 @@ msgid ""
"The constants in this section are only relevant for the C module. They are " "The constants in this section are only relevant for the C module. They are "
"also included in the pure Python version for compatibility." "also included in the pure Python version for compatibility."
msgstr "" msgstr ""
"Les constantes de cette section ne sont pertinentes que pour le module C. "
"Elles sont aussi incluses pour le compatibilité dans la version en Python "
"pur."
#: library/decimal.rst:1468 #: library/decimal.rst:1468
msgid "32-bit" msgid "32-bit"
@ -1658,6 +1697,8 @@ msgstr ":const:`-1999999999999999997`"
msgid "" msgid ""
"The value is ``True``. Deprecated, because Python now always has threads." "The value is ``True``. Deprecated, because Python now always has threads."
msgstr "" msgstr ""
"La valeur est ``True``. Déprécié, parce que maintenant Python possède "
"toujours des fils d'exécution."
#: library/decimal.rst:1488 #: library/decimal.rst:1488
msgid "" msgid ""
@ -1674,7 +1715,7 @@ msgstr ""
#: library/decimal.rst:1497 #: library/decimal.rst:1497
msgid "Rounding modes" msgid "Rounding modes"
msgstr "" msgstr "Modes d'arrondi"
#: library/decimal.rst:1501 #: library/decimal.rst:1501
msgid "Round towards :const:`Infinity`." msgid "Round towards :const:`Infinity`."
@ -1712,7 +1753,7 @@ msgstr ""
#: library/decimal.rst:1536 #: library/decimal.rst:1536
msgid "Signals" msgid "Signals"
msgstr "" msgstr "Signaux"
#: library/decimal.rst:1538 #: library/decimal.rst:1538
msgid "" msgid ""
@ -1786,7 +1827,7 @@ msgstr ""
#: library/decimal.rst:1604 #: library/decimal.rst:1604
msgid "Numerical overflow." msgid "Numerical overflow."
msgstr "" msgstr "Débordement numérique."
#: library/decimal.rst:1606 #: library/decimal.rst:1606
msgid "" msgid ""
@ -2018,7 +2059,7 @@ msgid ""
"Q. It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way " "Q. It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way "
"to minimize typing when using the interactive interpreter?" "to minimize typing when using the interactive interpreter?"
msgstr "" msgstr ""
"Q. C'est fastidieux de taper ``decimal.Decimal('1234.5')``. Y a-t-il un " "Q. C'est fastidieux de taper ``decimal.Decimal('1234.5')``. Y a-t-il un "
"moyen de réduire la frappe quand on utilise l'interpréteur interactif ?" "moyen de réduire la frappe quand on utilise l'interpréteur interactif ?"
#: library/decimal.rst:1990 #: library/decimal.rst:1990
@ -2044,6 +2085,8 @@ msgid ""
"Q. Once I have valid two place inputs, how do I maintain that invariant " "Q. Once I have valid two place inputs, how do I maintain that invariant "
"throughout an application?" "throughout an application?"
msgstr "" msgstr ""
"Q. Une fois que mes entrées sont à deux décimales valides, comment maintenir "
"cet invariant dans l'application ?"
#: library/decimal.rst:2021 #: library/decimal.rst:2021
msgid "" msgid ""
@ -2052,12 +2095,20 @@ msgid ""
"division and non-integer multiplication, will change the number of decimal " "division and non-integer multiplication, will change the number of decimal "
"places and need to be followed-up with a :meth:`quantize` step:" "places and need to be followed-up with a :meth:`quantize` step:"
msgstr "" msgstr ""
"R. Certaines opérations comme l'addition, la soustraction et la "
"multiplication par un entier préservent automatiquement la virgule fixe. "
"D'autres opérations, comme la division et la multiplication par des non-"
"entiers, changent le nombre de décimales et doivent être suivies d'une "
"étape :meth:`quantize` :"
#: library/decimal.rst:2039 #: library/decimal.rst:2039
msgid "" msgid ""
"In developing fixed-point applications, it is convenient to define functions " "In developing fixed-point applications, it is convenient to define functions "
"to handle the :meth:`quantize` step:" "to handle the :meth:`quantize` step:"
msgstr "" msgstr ""
"Lors du développement d'applications en virgule fixe, il est pratique de "
"définir des fonctions pour gérer cette étape de quantification "
"par :meth:`quantize` :"
#: library/decimal.rst:2052 #: library/decimal.rst:2052
msgid "" msgid ""