8000 Plus de traductions pour argparse.po · python/python-docs-fr@ccf09b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit ccf09b3

Browse files
committed
Plus de traductions pour argparse.po
1 parent 6494f4e commit ccf09b3

File tree

1 file changed

+49
-5
lines changed

1 file changed

+49
-5
lines changed

library/argparse.po

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2020-07-20 10:51+0200\n"
9-
"PO-Revision-Date: 2020-09-08 17:39-0700\n"
9+
"PO-Revision-Date: 2020-09-08 21:43-0700\n"
1010
"Last-Translator: Yannick Gingras <ygingras@ygingras.net>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
@@ -790,50 +790,64 @@ msgid ""
790790
"action_ - The basic type of action to be taken when this argument is "
791791
"encountered at the command line."
792792
msgstr ""
793+
"action_ – Type de élémentaire de l'action à entreprendre quand cet argument "
794+
"est reconnu sur la ligne de commande."
793795

794796
#: library/argparse.rst:694
795797
msgid "nargs_ - The number of command-line arguments that should be consumed."
796-
msgstr ""
798+
msgstr "nargs_ – Le nombre d'arguments de la ligne de commande à consommer."
797799

798800
#: library/argparse.rst:696
799801
msgid ""
800802
"const_ - A constant value required by some action_ and nargs_ selections."
801803
msgstr ""
804+
"const_ – Une valeur constante requise par certains choix d'action_ et de "
805+
"nargs_."
802806

803807
#: library/argparse.rst:698
804808
msgid ""
805809
"default_ - The value produced if the argument is absent from the command "
806810
"line."
807811
msgstr ""
812+
"default_ – La valeur produite si l'argument est absent de la ligne de "
813+
"commande.c"
808814

809815
#: library/argparse.rst:701
810816
msgid ""
811817
"type_ - The type to which the command-line argument should be converted."
812818
msgstr ""
819+
"type_ – Le type vers lequel l'argument sur la ligne de commande devrait être "
820+
"converti."
813821

814822
#: library/argparse.rst:703
815823
msgid "choices_ - A container of the allowable values for the argument."
816824
msgstr ""
825+
"choices_ – Un conteneur qui contient toutes les valeurs permises pour cet "
826+
"argument."
817827

818828
#: library/argparse.rst:705
819829
msgid ""
820830
"required_ - Whether or not the command-line option may be omitted (optionals "
821831
"only)."
822832
msgstr ""
833+
"required_ – ``True`` si l'option sur la ligne de commande est obligatoire "
834+
"(ne s'applique qu'aux arguments optionnels)."
823835

824836
#: library/argparse.rst:708
825837
msgid "help_ - A brief description of what the argument does."
826-
msgstr ""
838+
msgstr "help_ – Une brève description de ce que fait l'argument."
827839

828840
#: library/argparse.rst:710
829841
msgid "metavar_ - A name for the argument in usage messages."
830-
msgstr ""
842+
msgstr "metavar_ – Le nom pour l'argument dans les messages d'utilisations."
831843

832844
#: library/argparse.rst:712
833845
msgid ""
834846
"dest_ - The name of the attribute to be added to the object returned by :"
835847
"meth:`parse_args`."
836848
msgstr ""
849+
"dest_ – Le nom de l'attribut qui sera ajouté à l'objet retourné par :meth:"
850+
"`parse_args`."
837851

838852
#: library/argparse.rst:719
839853
msgid "name or flags"
@@ -848,17 +862,27 @@ msgid ""
848862
"or a simple argument name. For example, an optional argument could be "
849863
"created like::"
850864
msgstr ""
865+
"La méthode :meth:`~ArgumentParser.add_argument` doit savoir si c'est un "
866+
"argument optionnel (tel que ``-f`` ou ``--foo``) ou plutôt un argument "
867+
"positionnel (tel qu'une liste de noms de fichiers) qui est attendu. Le "
868+
"premier argument passé à :meth:`~ArgumentParser.add_argument` doit ainsi "
869+
"être soit une série de noms d'options tels qu'ils apparaissent sur la ligne "
870+
"de commande ou simplement un nom si on désire un argument positionnel. Par "
871+
"exemple, un argument optionnel est créé comme suit ::"
851872

852873
#: library/argparse.rst:730
853874
msgid "while a positional argument could be created like::"
854-
msgstr ""
875+
msgstr "alors qu'un argument positionnel est créé comme suit ::"
855876

856877
#: library/argparse.rst:734
857878
msgid ""
858879
"When :meth:`~ArgumentParser.parse_args` is called, optional arguments will "
859880
"be identified by the ``-`` prefix, and the remaining arguments will be "
860881
"assumed to be positional::"
861882
msgstr ""
883+
"Lors le l'appel de :meth:`~ArgumentParser.parse_args`, les arguments qui "
884+
"commencent par le préfixe ``-`` sont présumés optionnels et tous les autres "
885+
"sont présumés positionnels ::"
862886

863887
#: library/argparse.rst:751
864888
msgid "action"
@@ -873,19 +897,32 @@ msgid ""
873897
"``action`` keyword argument specifies how the command-line arguments should "
874898
"be handled. The supplied actions are:"
875899
msgstr ""
900+
"Les objets :class:`ArgumentParser` associent les arguments de la ligne de "
901+
"commande avec des actions. C'est actions peuvent faire n'importe quel "
902+
"traitement avec les arguments de la ligne de commande auxquels elles sont "
903+
"associées, mais la majorité des actions se contente d'ajouter un attribut à "
904+
"l'objet renvoyé par :meth:`~ArgumentParser.parse_args`. L'argument nommé "
905+
"``action`` indique comment l'argument de la ligne de commande sera traité. "
906+
"Les actions natives sont :"
876907

877908
#: library/argparse.rst:759
878909
msgid ""
879910
"``'store'`` - This just stores the argument's value. This is the default "
880911
"action. For example::"
881912
msgstr ""
913+
"``'store'`` – Stocker la valeur de l'argument sans autre traitement. Ceci "
914+
"est l'action par défaut. Par exemple :"
882915

883916
#: library/argparse.rst:767
884917
msgid ""
885918
"``'store_const'`` - This stores the value specified by the const_ keyword "
886919
"argument. The ``'store_const'`` action is most commonly used with optional "
887920
"arguments that specify some sort of flag. For example::"
888921
msgstr ""
922+
"``'store_const'`` – Stocker la valeur passé à l'argument nommé const_. "
923+
"L'action ``'store_const'`` est typiquement utilisé avec des arguments "
924+
"optionnels qui représente un drapeau ou une condition similaire. Par "
925+
"exemple ::"
889926

890927< 9E81 div class="diff-text-inner">#: library/argparse.rst:776
891928
msgid ""
@@ -894,13 +931,20 @@ msgid ""
894931
"respectively. In addition, they create default values of ``False`` and "
895932
"``True`` respectively. For example::"
896933
msgstr ""
934+
"``'store_true'`` et ``'store_false'`` – Ces actions sont des cas "
935+
"particuliers de ``'store_const'`` pour lesquels la valeur stocké est "
936+
"``True`` et ``False``, respectivement. Aussi, ces action ont comme valeur "
937+
"par défaut ``False`` et ``True``, respectivement. Par exemple ::"
897938

898939
#: library/argparse.rst:788
899940
msgid ""
900941
"``'append'`` - This stores a list, and appends each argument value to the "
901942
"list. This is useful to allow an option to be specified multiple times. "
902943
"Example usage::"
903944
msgstr ""
945+
"``'append'`` – Cette action stock une liste et ajoute le valeur de "
946+
"l'argument à la liste. Ceci est pratique pour les options qui peuvent être "
947+
"répétées sur la ligne de commande ::"
904948

905949
#: library/argparse.rst:797
906950
msgid ""

0 commit comments

Comments
 (0)
0