forked from AFPy/python-docs-fr
Complete library/string.po
This commit is contained in:
parent
39817a3e09
commit
3d5892f27c
|
@ -39,7 +39,7 @@ msgstr "Chaînes constantes"
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:20
|
#: ../Doc/library/string.rst:20
|
||||||
msgid "The constants defined in this module are:"
|
msgid "The constants defined in this module are:"
|
||||||
msgstr ""
|
msgstr "Les constantes définies dans ce module sont :"
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:25
|
#: ../Doc/library/string.rst:25
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -320,6 +320,11 @@ msgid ""
|
||||||
"related to that of :ref:`formatted string literals <f-strings>`, but there "
|
"related to that of :ref:`formatted string literals <f-strings>`, but there "
|
||||||
"are differences."
|
"are differences."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"La méthode :meth:`str.format` et la classe :class:`Formatter` partagent la "
|
||||||
|
"même syntaxe pour les chaînes de formatage (bien que dans le cas de :class:"
|
||||||
|
"`Formatter` les sous-classes puissent définir leur propre syntaxe). La "
|
||||||
|
"syntaxe est liée à celle des :ref:`chaînes de formatage littérales <f-"
|
||||||
|
"strings>`, mais il y a quelques différences."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:195
|
#: ../Doc/library/string.rst:195
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -485,6 +490,12 @@ msgid ""
|
||||||
"to the built-in :func:`format` function. Each formattable type may define "
|
"to the built-in :func:`format` function. Each formattable type may define "
|
||||||
"how the format specification is to be interpreted."
|
"how the format specification is to be interpreted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Les \"Spécifications de format\" sont utilisées avec les champs de "
|
||||||
|
"remplacement contenus dans les chaînes de formatage, pour définir comment "
|
||||||
|
"les valeurs doivent être représentées (voir :ref:`formatstrings` et :ref:`f-"
|
||||||
|
"strings`). Elles peuvent aussi être passées directement à la fonction "
|
||||||
|
"native :func:`format`. Chaque type *formatable* peut définir comment les "
|
||||||
|
"spécifications sur les valeurs de ce type doivent être interprétées."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:293
|
#: ../Doc/library/string.rst:293
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -520,6 +531,14 @@ msgid ""
|
||||||
"curly brace with a nested replacement field. This limitation doesn't affect "
|
"curly brace with a nested replacement field. This limitation doesn't affect "
|
||||||
"the :func:`format` function."
|
"the :func:`format` function."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Si une valeur valide est spécifiée pour *align*, elle peut être précédée par "
|
||||||
|
"un caractère *fill*, qui peut être n'importe quel caractère (espace par "
|
||||||
|
"défaut si la valeur est omise). Il n'est pas possible d'utiliser une "
|
||||||
|
"accolade littérale (\"``{``\" ou \"``}``\") comme caractère *fill* dans une :"
|
||||||
|
"ref:`chaîne de formatage littérale <f-strings>` ou avec la méthode :meth:"
|
||||||
|
"`str.format`. Cependant, il est possible d'insérer une accolade à l'aide "
|
||||||
|
"d'un champ de remplacement imbriqué. Cette limitation n'affecte pas la "
|
||||||
|
"fonction :func:`format`."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:321
|
#: ../Doc/library/string.rst:321
|
||||||
msgid "The meaning of the various alignment options is as follows:"
|
msgid "The meaning of the various alignment options is as follows:"
|
||||||
|
@ -570,6 +589,11 @@ msgid ""
|
||||||
"alignment option is only valid for numeric types. It becomes the default "
|
"alignment option is only valid for numeric types. It becomes the default "
|
||||||
"when '0' immediately precedes the field width."
|
"when '0' immediately precedes the field width."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Force le remplissage (*padding*) à être placé après le signe (si signe il y "
|
||||||
|
"a) mais avant les chiffres. L'option est utilisée pour afficher les champs "
|
||||||
|
"sous la forme '+000000120'. Cette option d'alignement est valide uniquement "
|
||||||
|
"pour les types numériques. Elle devient activée par défaut quand '0' "
|
||||||
|
"précède directement la largeur de champ."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:338
|
#: ../Doc/library/string.rst:338
|
||||||
msgid "``'^'``"
|
msgid "``'^'``"
|
||||||
|
@ -680,10 +704,16 @@ msgid ""
|
||||||
"``'X'``, underscores will be inserted every 4 digits. For other "
|
"``'X'``, underscores will be inserted every 4 digits. For other "
|
||||||
"presentation types, specifying this option is an error."
|
"presentation types, specifying this option is an error."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"L'option ``'_'`` demande l'utilisation d'un tiret bas comme séparateur des "
|
||||||
|
"milliers pour les représentations de nombres flottants et pour les entiers "
|
||||||
|
"représentés par le type ``'d'``. Pour les types de représentation d'entiers "
|
||||||
|
"``'b'``, ``o'``, ``'x'`` et ``'X``', les tirets bas seront insérés tous les "
|
||||||
|
"4 chiffres. Pour les autres types de représentation, spécifier cette option "
|
||||||
|
"est une erreur."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:389
|
#: ../Doc/library/string.rst:389
|
||||||
msgid "Added the ``'_'`` option (see also :pep:`515`)."
|
msgid "Added the ``'_'`` option (see also :pep:`515`)."
|
||||||
msgstr ""
|
msgstr "Ajout de l'option ``'_'`` (voir aussi :pep`515`)."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:392
|
#: ../Doc/library/string.rst:392
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -701,6 +731,11 @@ msgid ""
|
||||||
"is equivalent to a *fill* character of ``'0'`` with an *alignment* type of "
|
"is equivalent to a *fill* character of ``'0'`` with an *alignment* type of "
|
||||||
"``'='``."
|
"``'='``."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Quand aucun alignement explicite n'est donné, précéder le champs *width* "
|
||||||
|
"d'un caractère zéro (``'0'``) active le remplissage par zéro des types "
|
||||||
|
"numériques selon leur signe. Cela est équivalent à un caractère de "
|
||||||
|
"remplissage *fill* valant ``'0'`` avec le type d'alignement *alignment* "
|
||||||
|
"valant ``'='``."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:400
|
#: ../Doc/library/string.rst:400
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -733,7 +768,7 @@ msgstr "Les types disponibles de représentation de chaîne sont :"
|
||||||
#: ../Doc/library/string.rst:412 ../Doc/library/string.rst:423
|
#: ../Doc/library/string.rst:412 ../Doc/library/string.rst:423
|
||||||
#: ../Doc/library/string.rst:455
|
#: ../Doc/library/string.rst:455
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr ""
|
msgstr "Type"
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:414
|
#: ../Doc/library/string.rst:414
|
||||||
msgid "``'s'``"
|
msgid "``'s'``"
|
||||||
|
@ -748,7 +783,7 @@ msgstr ""
|
||||||
#: ../Doc/library/string.rst:417 ../Doc/library/string.rst:444
|
#: ../Doc/library/string.rst:417 ../Doc/library/string.rst:444
|
||||||
#: ../Doc/library/string.rst:505
|
#: ../Doc/library/string.rst:505
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr ""
|
msgstr "*None*"
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:417
|
#: ../Doc/library/string.rst:417
|
||||||
msgid "The same as ``'s'``."
|
msgid "The same as ``'s'``."
|
||||||
|
@ -841,6 +876,11 @@ msgid ""
|
||||||
"``None``). When doing so, :func:`float` is used to convert the integer to a "
|
"``None``). When doing so, :func:`float` is used to convert the integer to a "
|
||||||
"floating point number before formatting."
|
"floating point number before formatting."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"En plus des types de représentation ci-dessus, les entiers peuvent aussi "
|
||||||
|
"être formatés avec les types de représentation des flottans listés ci-"
|
||||||
|
"dessous (à l'exception de ``'n'`` et ''None``). Dans ce cas, la fonction :"
|
||||||
|
"func:`float` est utilisée pour convertir l'entier en flottant avant le "
|
||||||
|
"formatage."
|
||||||
|
|
||||||
#: ../Doc/library/string.rst:452
|
#: ../Doc/library/string.rst:452
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user