Docs(itertools): Translate the intertools in French
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Ismaël Maurice 2023-07-15 19:18:03 +02:00
parent 4fe23b974e
commit 476063fd96

View File

@ -6,19 +6,20 @@ msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-14 13:19+0200\n"
"PO-Revision-Date: 2023-02-17 11:56+0100\n"
"PO-Revision-Date: 2023-07-15 18:51+0200\n"
"Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\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 3.2.2\n"
"X-Generator: Poedit 3.3.2\n"
#: library/itertools.rst:2
msgid ":mod:`itertools` --- Functions creating iterators for efficient looping"
msgstr ""
":mod:`itertools` — Fonctions créant des itérateurs pour boucler efficacement"
":mod:`itertools` --- Fonctions créant des itérateurs pour un bouclage "
"efficace"
#: library/itertools.rst:20
msgid ""
@ -658,7 +659,6 @@ msgstr ""
"un temps de démarrage long. À peu près équivalent à ::"
#: library/itertools.rst:361
#, fuzzy
msgid ""
"Make an iterator that filters elements from iterable returning only those "
"for which the predicate is false. If *predicate* is ``None``, return the "
@ -742,10 +742,11 @@ msgstr ""
#: library/itertools.rst:447
msgid ""
"Unlike regular slicing, :func:`islice` does not support negative values for "
"*start*, *stop*, or *step*. Can be used to extract related fields from data "
"where the internal structure has been flattened (for example, a multi-line "
"report may list a name field on every third line)."
"Contrairement au découpage normal, :func:`islice` ne supporte pas les "
"valeurs négatives pour *start*, *stop*, ou *step*. Peut être utilisé pour "
"extraire des champs connexes à partir de données dont la structure interne a "
"été aplatie (par exemple, un rapport sur plusieurs lignes peut contenir un "
"champ de nom toutes les trois lignes)."
msgstr ""
#: library/itertools.rst:482
@ -900,9 +901,9 @@ msgstr ""
#: library/itertools.rst:621
msgid ""
"The difference between :func:`map` and :func:`starmap` parallels the "
"distinction between ``function(a,b)`` and ``function(*c)``. Roughly "
"equivalent to::"
"La différence entre :func:`map` et :func:`starmap` est parallèle à la "
"distinction entre ``fonction(a,b)`` et ``fonction(*c)``. Plus ou moins "
"équivalent à: :"
msgstr ""
#: library/itertools.rst:633
@ -999,22 +1000,23 @@ msgstr ""
#: library/itertools.rst:722
msgid ""
"The primary purpose of the itertools recipes is educational. The recipes "
"show various ways of thinking about individual tools — for example, that "
"``chain.from_iterable`` is related to the concept of flattening. The "
"recipes also give ideas about ways that the tools can be combined — for "
"example, how ``compress()`` and ``range()`` can work together. The recipes "
"also show patterns for using itertools with the :mod:`operator` and :mod:"
"`collections` modules as well as with the built-in itertools such as "
"``map()``, ``filter()``, ``reversed()``, and ``enumerate()``."
"Le but premier des recettes itertools est éducatif. Les recettes montrent "
"différentes façons de penser à propos des outils individuels â par exemple, "
"que ``chain.from_iterable`` est lié au concept d'aplatissement. Les "
"recettes donnent aussi des idées sur la façon dont les outils peuvent être "
"combinés, par exemple, comment ``compress()`` et ``range()`` peuvent "
"travailler ensemble. Les recettes montrent aussi des modèles pour utiliser "
"itertools avec les modules :mod:`operator` et :mod:`collections` ainsi "
"qu'avec les itertools intégrés tels que ``map()``, ``filter()``, "
"``reversed()`, et ``enumerate()`."
msgstr ""
#: library/itertools.rst:731
msgid ""
"A secondary purpose of the recipes is to serve as an incubator. The "
"``accumulate()``, ``compress()``, and ``pairwise()`` itertools started out "
"as recipes. Currently, the ``iter_index()`` recipe is being tested to see "
"whether it proves its worth."
"Un objectif secondaire des recettes est de servir d'incubateur. Les "
"itertools ``accumulate()``, ``compress()``, et ``pairwise()` ont commencé "
"par être des recettes. Actuellement, la recette ``iter_index()`` est testée "
"pour voir si elle a fait ses preuves."
msgstr ""
#: library/itertools.rst:736