From e1185c15dacc18de3c3616019b040ee32d3a0e7d Mon Sep 17 00:00:00 2001 From: Nils VAN ZUIJLEN Date: Wed, 2 Jun 2021 14:55:06 +0200 Subject: [PATCH 1/6] Traduction de library/decimal.po Closes #1659 Signed-off-by: Nils VAN ZUIJLEN --- library/decimal.po | 110 ++++++++++++++++++++++++++++++++------------- 1 file changed, 80 insertions(+), 30 deletions(-) diff --git a/library/decimal.po b/library/decimal.po index 2dc929a750..ddf3dfd06d 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -6,14 +6,14 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-10-01 16:00+0200\n" -"PO-Revision-Date: 2018-10-07 18:55+0200\n" +"PO-Revision-Date: 2021-06-02 14:51+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \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.4.1\n" #: library/decimal.rst:2 msgid ":mod:`decimal` --- Decimal fixed point and floating point arithmetic" @@ -708,24 +708,33 @@ msgid "" "otherwise. Currently, a :class:`Decimal` instance is always canonical, so " "this operation always returns :const:`True`." 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:616 msgid "" "Return :const:`True` if the argument is a finite number, and :const:`False` " "if the argument is an infinity or a NaN." msgstr "" +"Renvoie :const:`True` si l'argument est un nombre fini et :const:`False` si " +"l'argument est un infini ou :const:`NaN`." #: library/decimal.rst:621 msgid "" "Return :const:`True` if the argument is either positive or negative infinity " "and :const:`False` otherwise." msgstr "" +"Renvoie :const:`True` si l'argument est un infini positif ou négatif et :" +"const:`False` sinon." #: library/decimal.rst:626 msgid "" "Return :const:`True` if the argument is a (quiet or signaling) NaN and :" "const:`False` otherwise." msgstr "" +"Renvoie :const:`True` si l'argument est un :const:`NaN` (signalétique ou " +"silencieux) et :const:`False` sinon." #: library/decimal.rst:631 msgid "" @@ -738,18 +747,24 @@ msgid "" "Return :const:`True` if the argument is a quiet NaN, and :const:`False` " "otherwise." msgstr "" +"Renvoie :const:`True` si l'argument est un NaN silencieux et :const:`False` " +"sinon." #: library/decimal.rst:641 msgid "" "Return :const:`True` if the argument has a negative sign and :const:`False` " "otherwise. Note that zeros and NaNs can both carry signs." 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:646 msgid "" "Return :const:`True` if the argument is a signaling NaN and :const:`False` " "otherwise." msgstr "" +"Renvoie :const:`True` si l'argument est un NaN signalétique et :const:" +"`False` sinon." #: library/decimal.rst:651 msgid "" @@ -762,18 +777,24 @@ msgid "" "Return :const:`True` if the argument is a (positive or negative) zero and :" "const:`False` otherwise." msgstr "" +"Renvoie :const:`True` si l'argument est un zéro (positif ou négatif) et :" +"const:`False` sinon." #: library/decimal.rst:661 msgid "" "Return the natural (base e) logarithm of the operand. The result is " "correctly rounded using the :const:`ROUND_HALF_EVEN` rounding mode." 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:666 msgid "" "Return the base ten logarithm of the operand. The result is correctly " "rounded using the :const:`ROUND_HALF_EVEN` rounding mode." 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:671 msgid "" @@ -874,9 +895,10 @@ msgid "" "is one of the following ten strings." msgstr "" +# Élément d'une liste, d'où le ; final #: library/decimal.rst:757 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:758 msgid "" @@ -888,13 +910,15 @@ msgid "" "``\"-Subnormal\"``, indicating that the operand is negative and subnormal." msgstr "" +# Élément d'une liste, d'où le ; final #: library/decimal.rst:760 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:761 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:762 msgid "" @@ -906,17 +930,23 @@ msgid "" "``\"+Normal\"``, indicating that the operand is a positive normal number." msgstr "" +# Élément d'une liste, d'où le ; final #: library/decimal.rst:764 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:765 msgid "``\"NaN\"``, indicating that the operand is a quiet NaN (Not a Number)." msgstr "" +"``\"NaN\"``, indiquant que l'opérande est un NaN (*Not a Number*, pas un " +"nombre) silencieux;" #: library/decimal.rst:766 msgid "``\"sNaN\"``, indicating that the operand is a signaling NaN." msgstr "" +"``\"sNaN\"``, indiquant que l'opérande est un NaN (*Not a Number*, pas un " +"nombre) signalétique." #: library/decimal.rst:770 msgid "" @@ -1325,7 +1355,7 @@ msgstr "Renvoie la valeur absolue de *x*." #: library/decimal.rst:1135 msgid "Return the sum of *x* and *y*." -msgstr "" +msgstr "Renvoie la somme de *x* et *y*." #: library/decimal.rst:1140 msgid "Returns the same Decimal object *x*." @@ -1354,31 +1384,31 @@ msgstr "" #: library/decimal.rst:1170 msgid "Returns a copy of *x* with the sign inverted." -msgstr "" +msgstr "Renvoie une copie de *x* mais de signe opposé." #: library/decimal.rst:1175 msgid "Copies the sign from *y* to *x*." -msgstr "" +msgstr "Copie le signe de *y* vers *x*." #: library/decimal.rst:1180 msgid "Return *x* divided by *y*." -msgstr "" +msgstr "Renvoie *x* divisé par *y*." #: library/decimal.rst:1185 msgid "Return *x* divided by *y*, truncated to an integer." -msgstr "" +msgstr "Renvoie *x* divisé par *y*, tronqué comme entier." #: library/decimal.rst:1190 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:1195 msgid "Returns `e ** x`." -msgstr "" +msgstr "Renvoie `e ** x`." #: library/decimal.rst:1200 msgid "Returns *x* multiplied by *y*, plus *z*." -msgstr "" +msgstr "Renvoie *x* multiplié par *y*, plus *z*." #: library/decimal.rst:1205 msgid "Returns ``True`` if *x* is canonical; otherwise returns ``False``." @@ -1390,11 +1420,13 @@ msgstr "" #: library/decimal.rst:1215 msgid "Returns ``True`` if *x* is infinite; otherwise returns ``False``." -msgstr "" +msgstr "Renvoie :const:`True` si *x* est infini et :const:`False` sinon." #: library/decimal.rst:1220 msgid "Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``." msgstr "" +"Renvoie :const:`True` si *x* est un NaN (silencieux ou signalétique) et :" +"const:`False` sinon." #: library/decimal.rst:1225 msgid "" @@ -1404,15 +1436,17 @@ msgstr "" #: library/decimal.rst:1230 msgid "Returns ``True`` if *x* is a quiet NaN; otherwise returns ``False``." msgstr "" +"Renvoie :const:`True` si *x* est un NaN silencieux et :const:`False` sinon." #: library/decimal.rst:1235 msgid "Returns ``True`` if *x* is negative; otherwise returns ``False``." -msgstr "" +msgstr "Renvoie :const:`True` si *x* est négatif et :const:`False` sinon." #: library/decimal.rst:1240 msgid "" "Returns ``True`` if *x* is a signaling NaN; otherwise returns ``False``." msgstr "" +"Renvoie :const:`True` si *x* est un NaN signalétique et :const:`False` sinon." #: library/decimal.rst:1245 msgid "Returns ``True`` if *x* is subnormal; otherwise returns ``False``." @@ -1420,15 +1454,15 @@ msgstr "" #: library/decimal.rst:1250 msgid "Returns ``True`` if *x* is a zero; otherwise returns ``False``." -msgstr "" +msgstr "Renvoie :const:`True` si *x* est un zéro et :const:`False` sinon." #: library/decimal.rst:1255 msgid "Returns the natural (base e) logarithm of *x*." -msgstr "" +msgstr "Renvoie le logarithme naturel (en base e) de *x*." #: library/decimal.rst:1260 msgid "Returns the base 10 logarithm of *x*." -msgstr "" +msgstr "Renvoie le logarithme en base 10 de *x*." #: library/decimal.rst:1265 msgid "Returns the exponent of the magnitude of the operand's MSD." @@ -1452,7 +1486,7 @@ msgstr "" #: library/decimal.rst:1290 msgid "Compares two values numerically and returns the maximum." -msgstr "" +msgstr "Renvoie le maximum entre les deux valeurs numériques." #: library/decimal.rst:1305 msgid "Compares the values numerically with their sign ignored." @@ -1468,7 +1502,7 @@ msgstr "" #: library/decimal.rst:1315 msgid "Return the product of *x* and *y*." -msgstr "" +msgstr "Renvoie la multiplication de *x* avec *y*." #: library/decimal.rst:1320 msgid "Returns the largest representable number smaller than *x*." @@ -1484,7 +1518,7 @@ msgstr "" #: library/decimal.rst:1335 msgid "Reduces *x* to its simplest form." -msgstr "" +msgstr "Réduit *x* à sa forme la plus simple." #: library/decimal.rst:1340 msgid "Returns an indication of the class of *x*." @@ -1533,13 +1567,15 @@ msgstr "" msgid "all three arguments must be integral" msgstr "" +# Élément d'une liste, d'où le ; final #: library/decimal.rst:1372 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:1373 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:1374 msgid "``modulo`` must be nonzero and have at most 'precision' digits" @@ -1560,11 +1596,11 @@ msgstr "" #: library/decimal.rst:1391 msgid "Just returns 10, as this is Decimal, :)" -msgstr "" +msgstr "Renvoie 10 car c'est Decimal, :)" #: library/decimal.rst:1396 msgid "Returns the remainder from integer division." -msgstr "" +msgstr "Donne le reste de la division entière." #: library/decimal.rst:1398 msgid "" @@ -1584,7 +1620,7 @@ msgstr "" #: library/decimal.rst:1415 msgid "Returns ``True`` if the two operands have the same exponent." -msgstr "" +msgstr "Renvoie :const:`True` si les deux opérandes ont le même exposant." #: library/decimal.rst:1420 msgid "Returns the first operand after adding the second value its exp." @@ -1619,6 +1655,9 @@ msgid "" "The constants in this section are only relevant for the C module. They are " "also included in the pure Python version for compatibility." 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:1467 msgid "32-bit" @@ -1656,6 +1695,8 @@ msgstr ":const:`-1999999999999999997`" msgid "" "The value is ``True``. Deprecated, because Python now always has threads." msgstr "" +"La valeur est :const:`True`. Déprécié, parce que maintenant Python possède " +"toujours des fils d'exécution." #: library/decimal.rst:1487 msgid "" @@ -1671,7 +1712,7 @@ msgstr "" #: library/decimal.rst:1495 msgid "Rounding modes" -msgstr "" +msgstr "Modes d'arrondi" #: library/decimal.rst:1499 msgid "Round towards :const:`Infinity`." @@ -1709,7 +1750,7 @@ msgstr "" #: library/decimal.rst:1534 msgid "Signals" -msgstr "" +msgstr "Signaux" #: library/decimal.rst:1536 msgid "" @@ -1783,7 +1824,7 @@ msgstr "" #: library/decimal.rst:1602 msgid "Numerical overflow." -msgstr "" +msgstr "Débordement numérique." #: library/decimal.rst:1604 msgid "" @@ -2041,6 +2082,8 @@ msgid "" "Q. Once I have valid two place inputs, how do I maintain that invariant " "throughout an application?" msgstr "" +"Q. Une fois que mes entrées sont à deux décimales valides, comment maintenir " +"cet invariant dans l'application ?" #: library/decimal.rst:2019 msgid "" @@ -2049,12 +2092,19 @@ msgid "" "division and non-integer multiplication, will change the number of decimal " "places and need to be followed-up with a :meth:`quantize` step:" 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:2037 msgid "" "In developing fixed-point applications, it is convenient to define functions " "to handle the :meth:`quantize` step:" 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 :" #: library/decimal.rst:2050 msgid "" From 3f2e664101c6c330c79b5ac42f95d6ec2080816d Mon Sep 17 00:00:00 2001 From: Nils VAN ZUIJLEN Date: Sat, 5 Jun 2021 22:34:38 +0200 Subject: [PATCH 2/6] Fix spaces in library/decimal.po Signed-off-by: Nils VAN ZUIJLEN --- library/decimal.po | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/library/decimal.po b/library/decimal.po index ddf3dfd06d..1c3b71e893 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -459,7 +459,7 @@ msgstr "" #: library/decimal.rst:392 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 msgid "" @@ -543,7 +543,7 @@ msgid "" msgstr "" "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 " -"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 " "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 " @@ -709,7 +709,7 @@ msgid "" "this operation always returns :const:`True`." msgstr "" "Renvoie :const:`True` si l'argument est sous forme canonique et :const:" -"`False` sinon. Actuellement, une instance :class:`Decimal` est toujours " +"`False` sinon. Actuellement, une instance :class:`Decimal` est toujours " "canonique, donc cette opération renvoie toujours :const:`True`." #: library/decimal.rst:616 @@ -755,7 +755,7 @@ msgid "" "Return :const:`True` if the argument has a negative sign and :const:`False` " "otherwise. Note that zeros and NaNs can both carry signs." msgstr "" -"Renvoie :const:`True` si l'argument est négatif et :const:`False` sinon. " +"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:646 @@ -898,7 +898,7 @@ msgstr "" # Élément d'une liste, d'où le ; final #: library/decimal.rst:757 msgid "``\"-Infinity\"``, indicating that the operand is negative infinity." -msgstr "``\"-Infinity\"``, indiquant que l'opérande est l'infini négatif;" +msgstr "``\"-Infinity\"``, indiquant que l'opérande est l'infini négatif ;" #: library/decimal.rst:758 msgid "" @@ -913,12 +913,12 @@ msgstr "" # Élément d'une liste, d'où le ; final #: library/decimal.rst:760 msgid "``\"-Zero\"``, indicating that the operand is a negative zero." -msgstr "``\"-Zero\"``, indiquant que l'opérande est un zéro négatif;" +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:761 msgid "``\"+Zero\"``, indicating that the operand is a positive zero." -msgstr "``\"+Zero\"``, indiquant que l'opérande est un zéro positif;" +msgstr "``\"+Zero\"``, indiquant que l'opérande est un zéro positif ;" #: library/decimal.rst:762 msgid "" @@ -933,14 +933,14 @@ msgstr "" # Élément d'une liste, d'où le ; final #: library/decimal.rst:764 msgid "``\"+Infinity\"``, indicating that the operand is positive infinity." -msgstr "``\"+Infinity\"``, indiquant que l'opérande est l'infini positif;" +msgstr "``\"+Infinity\"``, indiquant que l'opérande est l'infini positif ;" # Élément d'une liste, d'où le ; final #: library/decimal.rst:765 msgid "``\"NaN\"``, indicating that the operand is a quiet NaN (Not a Number)." msgstr "" "``\"NaN\"``, indiquant que l'opérande est un NaN (*Not a Number*, pas un " -"nombre) silencieux;" +"nombre) silencieux ;" #: library/decimal.rst:766 msgid "``\"sNaN\"``, indicating that the operand is a signaling NaN." @@ -1570,12 +1570,12 @@ msgstr "" # Élément d'une liste, d'où le ; final #: library/decimal.rst:1372 msgid "``y`` must be nonnegative" -msgstr "``y`` ne doit pas être négatif;" +msgstr "``y`` ne doit pas être négatif ;" # Élément d'une liste, d'où le ; final #: library/decimal.rst:1373 msgid "at least one of ``x`` or ``y`` must be nonzero" -msgstr "au moins l'un de ``x`` ou ``y`` doit être différent de zéro;" +msgstr "au moins l'un de ``x`` ou ``y`` doit être différent de zéro ;" #: library/decimal.rst:1374 msgid "``modulo`` must be nonzero and have at most 'precision' digits" @@ -2056,7 +2056,7 @@ msgid "" "Q. It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way " "to minimize typing when using the interactive interpreter?" 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 ?" #: library/decimal.rst:1988 From a0908861595b4a32fa96eec1157cc60f85b78c83 Mon Sep 17 00:00:00 2001 From: Mathieu Dupuy Date: Fri, 27 May 2022 12:03:49 +0200 Subject: [PATCH 3/6] Apply suggestions from code review Co-authored-by: Julien Palard --- library/decimal.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/decimal.po b/library/decimal.po index 1c3b71e893..27af34b070 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -718,7 +718,7 @@ msgid "" "if the argument is an infinity or a NaN." msgstr "" "Renvoie :const:`True` si l'argument est un nombre fini et :const:`False` si " -"l'argument est un infini ou :const:`NaN`." +"l'argument est un infini ou NaN." #: library/decimal.rst:621 msgid "" From 4fb0f1349f585d46107492f397d9cb3ff7dcaf66 Mon Sep 17 00:00:00 2001 From: Mathieu Dupuy Date: Fri, 27 May 2022 12:10:44 +0200 Subject: [PATCH 4/6] Revert "Apply suggestions from code review" This reverts commit a0908861595b4a32fa96eec1157cc60f85b78c83. --- library/decimal.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/decimal.po b/library/decimal.po index a7ea5afd91..8a7744e39f 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -720,7 +720,7 @@ msgid "" "if the argument is an infinity or a NaN." msgstr "" "Renvoie :const:`True` si l'argument est un nombre fini et :const:`False` si " -"l'argument est un infini ou NaN." +"l'argument est un infini ou :const:`NaN`." #: library/decimal.rst:622 msgid "" From 714a0b3048eb7ce51a6e84ed149a6e75de5be8e9 Mon Sep 17 00:00:00 2001 From: Jean Abou Samra Date: Mon, 30 May 2022 11:09:37 +0200 Subject: [PATCH 5/6] Calme-toi, Sphinx --- library/decimal.po | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/library/decimal.po b/library/decimal.po index 8a7744e39f..2a1137483a 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -720,7 +720,7 @@ msgid "" "if the argument is an infinity or a NaN." msgstr "" "Renvoie :const:`True` si l'argument est un nombre fini et :const:`False` si " -"l'argument est un infini ou :const:`NaN`." +"l'argument est un infini ou NaN." #: library/decimal.rst:622 msgid "" @@ -735,7 +735,7 @@ msgid "" "Return :const:`True` if the argument is a (quiet or signaling) NaN and :" "const:`False` otherwise." msgstr "" -"Renvoie :const:`True` si l'argument est un :const:`NaN` (signalétique ou " +"Renvoie :const:`True` si l'argument est un NaN (signalétique ou " "silencieux) et :const:`False` sinon." #: library/decimal.rst:632 @@ -1422,13 +1422,13 @@ msgstr "" #: library/decimal.rst:1216 msgid "Returns ``True`` if *x* is infinite; otherwise returns ``False``." -msgstr "Renvoie :const:`True` si *x* est infini et :const:`False` sinon." +msgstr "Renvoie ``True`` si *x* est infini et ``False`` sinon." #: library/decimal.rst:1221 msgid "Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``." msgstr "" -"Renvoie :const:`True` si *x* est un NaN (silencieux ou signalétique) et :" -"const:`False` sinon." +"Renvoie ``True`` si *x* est un NaN (silencieux ou signalétique) et :" +"``False`` sinon." #: library/decimal.rst:1226 msgid "" @@ -1438,17 +1438,17 @@ msgstr "" #: library/decimal.rst:1231 msgid "Returns ``True`` if *x* is a quiet NaN; otherwise returns ``False``." msgstr "" -"Renvoie :const:`True` si *x* est un NaN silencieux et :const:`False` sinon." +"Renvoie ``True`` si *x* est un NaN silencieux et ``False`` sinon." #: library/decimal.rst:1236 msgid "Returns ``True`` if *x* is negative; otherwise returns ``False``." -msgstr "Renvoie :const:`True` si *x* est négatif et :const:`False` sinon." +msgstr "Renvoie ``True`` si *x* est négatif et ``False`` sinon." #: library/decimal.rst:1241 msgid "" "Returns ``True`` if *x* is a signaling NaN; otherwise returns ``False``." msgstr "" -"Renvoie :const:`True` si *x* est un NaN signalétique et :const:`False` sinon." +"Renvoie ``True`` si *x* est un NaN signalétique et ``False`` sinon." #: library/decimal.rst:1246 msgid "Returns ``True`` if *x* is subnormal; otherwise returns ``False``." @@ -1456,7 +1456,7 @@ msgstr "" #: library/decimal.rst:1251 msgid "Returns ``True`` if *x* is a zero; otherwise returns ``False``." -msgstr "Renvoie :const:`True` si *x* est un zéro et :const:`False` sinon." +msgstr "Renvoie ``True`` si *x* est un zéro et ``False`` sinon." #: library/decimal.rst:1256 msgid "Returns the natural (base e) logarithm of *x*." @@ -1622,7 +1622,7 @@ msgstr "" #: library/decimal.rst:1416 msgid "Returns ``True`` if the two operands have the same exponent." -msgstr "Renvoie :const:`True` si les deux opérandes ont le même exposant." +msgstr "Renvoie ``True`` si les deux opérandes ont le même exposant." #: library/decimal.rst:1421 msgid "Returns the first operand after adding the second value its exp." @@ -1697,7 +1697,7 @@ msgstr ":const:`-1999999999999999997`" msgid "" "The value is ``True``. Deprecated, because Python now always has threads." msgstr "" -"La valeur est :const:`True`. Déprécié, parce que maintenant Python possède " +"La valeur est ``True``. Déprécié, parce que maintenant Python possède " "toujours des fils d'exécution." #: library/decimal.rst:1488 @@ -2107,7 +2107,8 @@ msgid "" "to handle the :meth:`quantize` step:" 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 :" +"définir des fonctions pour gérer cette étape de quantification " +"par :meth:`quantize` :" #: library/decimal.rst:2052 msgid "" From 514f9007594f3a4c334f2ed29684899e4c5306d9 Mon Sep 17 00:00:00 2001 From: Jean Abou-Samra Date: Mon, 30 May 2022 11:40:14 +0200 Subject: [PATCH 6/6] Deux-points en trop, merci Vincent Co-authored-by: Vincent Poulailleau --- library/decimal.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/decimal.po b/library/decimal.po index 2a1137483a..23c7852786 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -1427,7 +1427,7 @@ msgstr "Renvoie ``True`` si *x* est infini et ``False`` sinon." #: library/decimal.rst:1221 msgid "Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``." msgstr "" -"Renvoie ``True`` si *x* est un NaN (silencieux ou signalétique) et :" +"Renvoie ``True`` si *x* est un NaN (silencieux ou signalétique) et " "``False`` sinon." #: library/decimal.rst:1226