review using pospell and sphinx-lint.
This commit is contained in:
parent
f182fff0a8
commit
b26aa8aaac
|
@ -6,7 +6,7 @@ msgstr ""
|
||||||
"Project-Id-Version: Python 3\n"
|
"Project-Id-Version: Python 3\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-01-15 22:33+0100\n"
|
"POT-Creation-Date: 2023-01-15 22:33+0100\n"
|
||||||
"PO-Revision-Date: 2023-02-17 12:35+0100\n"
|
"PO-Revision-Date: 2023-02-20 13:22+0100\n"
|
||||||
"Last-Translator: Julien Palard <julien@palard.fr>\n"
|
"Last-Translator: Julien Palard <julien@palard.fr>\n"
|
||||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
|
@ -30,16 +30,16 @@ msgid ""
|
||||||
"This section describes high-level async/await asyncio APIs to create and "
|
"This section describes high-level async/await asyncio APIs to create and "
|
||||||
"manage subprocesses."
|
"manage subprocesses."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Cette section décrit des API de haut niveau de asyncio pour créer et gérer "
|
"Cette section décrit des API de haut niveau de *asyncio* pour créer et gérer "
|
||||||
"des sous-processus via async/await."
|
"des sous-processus via ``async``/``await``."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:19
|
#: library/asyncio-subprocess.rst:19
|
||||||
msgid ""
|
msgid ""
|
||||||
"Here's an example of how asyncio can run a shell command and obtain its "
|
"Here's an example of how asyncio can run a shell command and obtain its "
|
||||||
"result::"
|
"result::"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Voici un exemple de comment asyncio peut lancer une commande shell et obtenir "
|
"Voici un exemple de comment *asyncio* peut lancer une commande shell et "
|
||||||
"son resultat::"
|
"obtenir son résultat ::"
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:40
|
#: library/asyncio-subprocess.rst:40
|
||||||
msgid "will print::"
|
msgid "will print::"
|
||||||
|
@ -52,8 +52,8 @@ msgid ""
|
||||||
"monitor multiple subprocesses in parallel. It is indeed trivial to modify "
|
"monitor multiple subprocesses in parallel. It is indeed trivial to modify "
|
||||||
"the above example to run several commands simultaneously::"
|
"the above example to run several commands simultaneously::"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Puisque toutes les fonctions à sous-processus d'asyncio sont synchrones et "
|
"Puisque toutes les fonctions à sous-processus d'*asyncio* sont synchrones et "
|
||||||
"qu'asyncio fournit de nombreux outils pour travailler avec de telles "
|
"qu'*asyncio* fournit de nombreux outils pour travailler avec de telles "
|
||||||
"fonctions, il est facile d'exécuter et de surveiller de nombreux processus "
|
"fonctions, il est facile d'exécuter et de surveiller de nombreux processus "
|
||||||
"en parallèle :"
|
"en parallèle :"
|
||||||
|
|
||||||
|
@ -71,14 +71,13 @@ msgstr "Crée un sous-processus."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:69 library/asyncio-subprocess.rst:87
|
#: library/asyncio-subprocess.rst:69 library/asyncio-subprocess.rst:87
|
||||||
msgid ""
|
msgid ""
|
||||||
"The *limit* argument sets the buffer limit for :class:`StreamReader` wrappers "
|
"The *limit* argument sets the buffer limit for :class:`StreamReader` "
|
||||||
"for :attr:`Process.stdout` and :attr:`Process.stderr` (if :attr:`subprocess."
|
"wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` (if :attr:"
|
||||||
"PIPE` is passed to *stdout* and *stderr* arguments)."
|
"`subprocess.PIPE` is passed to *stdout* and *stderr* arguments)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Le paramètre *limit* définit la limite du tampon pour les conteneurs de :"
|
"Le paramètre *limit* définit la limite du tampon pour les conteneurs de :"
|
||||||
"class:`StreamReader` pour :attr:`Process.stdout` et :attr:`Process."
|
"class:`StreamReader` pour :attr:`Process.stdout` et :attr:`Process.stderr` "
|
||||||
"stderr`(Si :attr:`subprocess.PIPE`est passé aux paramètres *stdout* et "
|
"(Si :attr:`subprocess.PIPE` est passé aux paramètres *stdout* et *stderr*)."
|
||||||
"*stderr*)."
|
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:73 library/asyncio-subprocess.rst:91
|
#: library/asyncio-subprocess.rst:73 library/asyncio-subprocess.rst:91
|
||||||
msgid "Return a :class:`~asyncio.subprocess.Process` instance."
|
msgid "Return a :class:`~asyncio.subprocess.Process` instance."
|
||||||
|
@ -118,9 +117,10 @@ msgstr ""
|
||||||
"Il est de la responsabilité de l'application de s'assurer que tous les "
|
"Il est de la responsabilité de l'application de s'assurer que tous les "
|
||||||
"espaces et les caractères spéciaux sont correctement mis entre guillemets "
|
"espaces et les caractères spéciaux sont correctement mis entre guillemets "
|
||||||
"pour éviter les vulnérabilités aux `l'injection de shell <https://en."
|
"pour éviter les vulnérabilités aux `l'injection de shell <https://en."
|
||||||
"wikipedia.org/wiki/Shell_injection#Shell_injection>`. La fonction :func:"
|
"wikipedia.org/wiki/Shell_injection#Shell_injection>`_. La fonction :func:"
|
||||||
"`shlex.quote` peut être utilisée pour l’échappement des espaces et caractères "
|
"`shlex.quote` peut être utilisée pour l’échappement des espaces et "
|
||||||
"spéciaux dans les chaînes utilisées pour construire des commandes shell."
|
"caractères spéciaux dans les chaînes utilisées pour construire des commandes "
|
||||||
|
"shell."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:110
|
#: library/asyncio-subprocess.rst:110
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -133,6 +133,7 @@ msgstr ""
|
||||||
"Windows <asyncio-windows-subprocess>` pour plus de précisions."
|
"Windows <asyncio-windows-subprocess>` pour plus de précisions."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:116
|
#: library/asyncio-subprocess.rst:116
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"asyncio also has the following *low-level* APIs to work with subprocesses: :"
|
"asyncio also has the following *low-level* APIs to work with subprocesses: :"
|
||||||
"meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :meth:`loop."
|
"meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :meth:`loop."
|
||||||
|
@ -140,12 +141,8 @@ msgid ""
|
||||||
"`Subprocess Transports <asyncio-subprocess-transports>` and :ref:`Subprocess "
|
"`Subprocess Transports <asyncio-subprocess-transports>` and :ref:`Subprocess "
|
||||||
"Protocols <asyncio-subprocess-protocols>`."
|
"Protocols <asyncio-subprocess-protocols>`."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"asyncio propose aussi les API de *bas niveau* suivantes pour travailler avec "
|
"*asyncio* propose aussi les API de « bas niveau » suivantes pour travailler "
|
||||||
"les sousprocessus: has the following *low-level* APIs to work with "
|
"avec les sous-processus: "
|
||||||
"subprocesses: :meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :"
|
|
||||||
"meth:`loop.connect_read_pipe`, :meth:`loop.connect_write_pipe`, as well as "
|
|
||||||
"the :ref:`Subprocess Transports <asyncio-subprocess-transports>` and :ref:"
|
|
||||||
"`Subprocess Protocols <asyncio-subprocess-protocols>`."
|
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:124
|
#: library/asyncio-subprocess.rst:124
|
||||||
msgid "Constants"
|
msgid "Constants"
|
||||||
|
@ -173,17 +170,17 @@ msgid ""
|
||||||
"`StreamReader` instances."
|
"`StreamReader` instances."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Si *PIPE* est passé au paramètre *stdout* ou *stderr* , l'attribut :attr:"
|
"Si *PIPE* est passé au paramètre *stdout* ou *stderr* , l'attribut :attr:"
|
||||||
"`Process.stdout <asyncio.subprocess.Process.stdout>` et :attr:`Process.stderr "
|
"`Process.stdout <asyncio.subprocess.Process.stdout>` et :attr:`Process."
|
||||||
"<asyncio.subprocess.Process.stderr>` pointeront vers des instances de :class:"
|
"stderr <asyncio.subprocess.Process.stderr>` pointeront vers des instances "
|
||||||
"`StreamReader`."
|
"de :class:`StreamReader`."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:143
|
#: library/asyncio-subprocess.rst:143
|
||||||
msgid ""
|
msgid ""
|
||||||
"Special value that can be used as the *stderr* argument and indicates that "
|
"Special value that can be used as the *stderr* argument and indicates that "
|
||||||
"standard error should be redirected into standard output."
|
"standard error should be redirected into standard output."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Une valeur spéciale qui peut être passée au paramètre *stderr* et qui indique "
|
"Une valeur spéciale qui peut être passée au paramètre *stderr* et qui "
|
||||||
"que la sortie d'erreur doit être redirigées vers la sortie standard."
|
"indique que la sortie d'erreur doit être redirigées vers la sortie standard."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:149
|
#: library/asyncio-subprocess.rst:149
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -202,9 +199,9 @@ msgstr "Interagir avec les sous-processus"
|
||||||
#: library/asyncio-subprocess.rst:157
|
#: library/asyncio-subprocess.rst:157
|
||||||
msgid ""
|
msgid ""
|
||||||
"Both :func:`create_subprocess_exec` and :func:`create_subprocess_shell` "
|
"Both :func:`create_subprocess_exec` and :func:`create_subprocess_shell` "
|
||||||
"functions return instances of the *Process* class. *Process* is a high-level "
|
"functions return instances of the *Process* class. *Process* is a high-"
|
||||||
"wrapper that allows communicating with subprocesses and watching for their "
|
"level wrapper that allows communicating with subprocesses and watching for "
|
||||||
"completion."
|
"their completion."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:165
|
#: library/asyncio-subprocess.rst:165
|
||||||
|
@ -215,8 +212,8 @@ msgstr ""
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:169
|
#: library/asyncio-subprocess.rst:169
|
||||||
msgid ""
|
msgid ""
|
||||||
"This class is designed to have a similar API to the :class:`subprocess.Popen` "
|
"This class is designed to have a similar API to the :class:`subprocess."
|
||||||
"class, but there are some notable differences:"
|
"Popen` class, but there are some notable differences:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:173
|
#: library/asyncio-subprocess.rst:173
|
||||||
|
@ -289,7 +286,8 @@ msgstr "envoie des données sur le *stdin* (si *input* n'est pas ``None``);"
|
||||||
#: library/asyncio-subprocess.rst:210
|
#: library/asyncio-subprocess.rst:210
|
||||||
msgid "read data from *stdout* and *stderr*, until EOF is reached;"
|
msgid "read data from *stdout* and *stderr*, until EOF is reached;"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"lit les données sur *stdout* et *stderr*, jusqu'à ce que le EOF soit atteint ;"
|
"lit les données sur *stdout* et *stderr*, jusqu'à ce que le EOF soit "
|
||||||
|
"atteint ;"
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:211
|
#: library/asyncio-subprocess.rst:211
|
||||||
msgid "wait for process to terminate."
|
msgid "wait for process to terminate."
|
||||||
|
@ -343,7 +341,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Sous Windows, *SIGTERM* est un alias pour :meth:`terminate`. *CTRL_C_EVENT* "
|
"Sous Windows, *SIGTERM* est un alias pour :meth:`terminate`. *CTRL_C_EVENT* "
|
||||||
"et *CTRL_BREAK_EVENT* peuvent être envoyés aux processus démarrés avec un "
|
"et *CTRL_BREAK_EVENT* peuvent être envoyés aux processus démarrés avec un "
|
||||||
"paramètre *creationflags* incluant `CREATE_NEW_PROCESS_GROUP`."
|
"paramètre *creationflags* incluant ``CREATE_NEW_PROCESS_GROUP``."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:245
|
#: library/asyncio-subprocess.rst:245
|
||||||
msgid "Stop the child process."
|
msgid "Stop the child process."
|
||||||
|
@ -386,8 +384,8 @@ msgstr ""
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:269
|
#: library/asyncio-subprocess.rst:269
|
||||||
msgid ""
|
msgid ""
|
||||||
"Standard output stream (:class:`StreamReader`) or ``None`` if the process was "
|
"Standard output stream (:class:`StreamReader`) or ``None`` if the process "
|
||||||
"created with ``stdout=None``."
|
"was created with ``stdout=None``."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:274
|
#: library/asyncio-subprocess.rst:274
|
||||||
|
@ -400,8 +398,8 @@ msgstr ""
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the :meth:`communicate` method rather than :attr:`process.stdin.write() "
|
"Use the :meth:`communicate` method rather than :attr:`process.stdin.write() "
|
||||||
"<stdin>`, :attr:`await process.stdout.read() <stdout>` or :attr:`await "
|
"<stdin>`, :attr:`await process.stdout.read() <stdout>` or :attr:`await "
|
||||||
"process.stderr.read() <stderr>`. This avoids deadlocks due to streams pausing "
|
"process.stderr.read() <stderr>`. This avoids deadlocks due to streams "
|
||||||
"reading or writing and blocking the child process."
|
"pausing reading or writing and blocking the child process."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:288
|
#: library/asyncio-subprocess.rst:288
|
||||||
|
@ -427,8 +425,8 @@ msgid ""
|
||||||
"A negative value ``-N`` indicates that the child was terminated by signal "
|
"A negative value ``-N`` indicates that the child was terminated by signal "
|
||||||
"``N`` (POSIX only)."
|
"``N`` (POSIX only)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Une valeur négative ``-N`` indique que le sous-processus a été terminé par le "
|
"Une valeur négative ``-N`` indique que le sous-processus a été terminé par "
|
||||||
"signal ``N`` (seulement sur les systèmes *POSIX*)."
|
"le signal ``N`` (seulement sur les systèmes *POSIX*)."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:306
|
#: library/asyncio-subprocess.rst:306
|
||||||
msgid "Subprocess and Threads"
|
msgid "Subprocess and Threads"
|
||||||
|
@ -463,8 +461,8 @@ msgid ""
|
||||||
"Spawning a subprocess with *inactive* current child watcher raises :exc:"
|
"Spawning a subprocess with *inactive* current child watcher raises :exc:"
|
||||||
"`RuntimeError`."
|
"`RuntimeError`."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Instancier un sous-processus avec un observateur enfant actuel *inactif* lève "
|
"Instancier un sous-processus avec un observateur enfant actuel *inactif* "
|
||||||
"l'exception :exc: `RuntimeError`."
|
"lève l'exception :exc:`RuntimeError`."
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:326
|
#: library/asyncio-subprocess.rst:326
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -477,8 +475,8 @@ msgstr ""
|
||||||
|
|
||||||
#: library/asyncio-subprocess.rst:331
|
#: library/asyncio-subprocess.rst:331
|
||||||
msgid ""
|
msgid ""
|
||||||
"The :ref:`Concurrency and multithreading in asyncio <asyncio-multithreading>` "
|
"The :ref:`Concurrency and multithreading in asyncio <asyncio-"
|
||||||
"section."
|
"multithreading>` section."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"La section :ref:`Exécution concurrente et multi-fils d'exécution <asyncio-"
|
"La section :ref:`Exécution concurrente et multi-fils d'exécution <asyncio-"
|
||||||
"multithreading>`."
|
"multithreading>`."
|
||||||
|
|
Loading…
Reference in New Issue