1
0
Fork 0
python-docs-fr/library/fnmatch.po

168 lines
5.9 KiB
Plaintext
Raw Normal View History

2018-07-04 09:06:45 +00:00
# Copyright (C) 2001-2018, Python Software Foundation
2018-07-04 09:08:42 +00:00
# For licence information, see README file.
2016-10-30 09:46:26 +00:00
#
msgid ""
msgstr ""
2019-12-05 22:15:54 +00:00
"Project-Id-Version: Python 3\n"
2016-10-30 09:46:26 +00:00
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-15 22:33+0100\n"
"PO-Revision-Date: 2021-04-28 20:16+0200\n"
"Last-Translator: Dimitri Merejkowsky <dimitri@dmerej.info>\n"
2018-07-04 09:14:25 +00:00
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.4.1\n"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:2
2016-10-30 09:46:26 +00:00
msgid ":mod:`fnmatch` --- Unix filename pattern matching"
msgstr ":mod:`fnmatch` — Filtrage par motif des noms de fichiers Unix"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:7
2016-10-30 09:46:26 +00:00
msgid "**Source code:** :source:`Lib/fnmatch.py`"
msgstr "**Code source :** :source:`Lib/fnmatch.py`"
#: library/fnmatch.rst:15
2016-10-30 09:46:26 +00:00
msgid ""
"This module provides support for Unix shell-style wildcards, which are *not* "
"the same as regular expressions (which are documented in the :mod:`re` "
"module). The special characters used in shell-style wildcards are:"
msgstr ""
"Ce module fournit la gestion des caractères de remplacement de style shell "
"Unix, qui ne sont *pas* identiques à ceux utilisés dans les expressions "
"régulières (documentés dans le module :mod:`re`). Les caractères spéciaux "
"utilisés comme caractères de remplacement de style shell sont :"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:27
2016-10-30 09:46:26 +00:00
msgid "Pattern"
msgstr "Motif"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:27
2016-10-30 09:46:26 +00:00
msgid "Meaning"
msgstr "Signification"
#: library/fnmatch.rst:29
2016-10-30 09:46:26 +00:00
msgid "``*``"
msgstr "``*``"
#: library/fnmatch.rst:29
2016-10-30 09:46:26 +00:00
msgid "matches everything"
msgstr "reconnaît n'importe quoi"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:31
2016-10-30 09:46:26 +00:00
msgid "``?``"
msgstr "``?``"
#: library/fnmatch.rst:31
2016-10-30 09:46:26 +00:00
msgid "matches any single character"
msgstr "reconnaît n'importe quel caractère unique"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:33
2016-10-30 09:46:26 +00:00
msgid "``[seq]``"
msgstr "``[seq]``"
#: library/fnmatch.rst:33
2016-10-30 09:46:26 +00:00
msgid "matches any character in *seq*"
msgstr "reconnaît n'importe quel caractère dans *seq*"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:35
2016-10-30 09:46:26 +00:00
msgid "``[!seq]``"
msgstr "``[!seq]``"
#: library/fnmatch.rst:35
2016-10-30 09:46:26 +00:00
msgid "matches any character not in *seq*"
msgstr "reconnaît n'importe quel caractère qui n'est pas dans *seq*"
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:38
2016-10-30 09:46:26 +00:00
msgid ""
"For a literal match, wrap the meta-characters in brackets. For example, "
"``'[?]'`` matches the character ``'?'``."
msgstr ""
"Pour une correspondance littérale, il faut entourer le métacaractère par des "
"crochets. Par exemple, ``'[?]'`` reconnaît le caractère ``'?'``."
2016-10-30 09:46:26 +00:00
#: library/fnmatch.rst:43
2016-10-30 09:46:26 +00:00
msgid ""
"Note that the filename separator (``'/'`` on Unix) is *not* special to this "
"module. See module :mod:`glob` for pathname expansion (:mod:`glob` uses :"
2018-11-29 15:13:39 +00:00
"func:`.filter` to match pathname segments). Similarly, filenames starting "
2016-10-30 09:46:26 +00:00
"with a period are not special for this module, and are matched by the ``*`` "
"and ``?`` patterns."
msgstr ""
"Notons que le séparateur de nom de fichiers (``'/'`` sous Unix) n'est *pas* "
"traité de manière spéciale par ce module. Voir le module :mod:`glob` pour la "
"recherche de chemins (:mod:`glob` utilise :func:`.filter` pour reconnaître "
"les composants d'un chemin). De la même manière, les noms de fichiers "
2019-09-16 10:16:34 +00:00
"commençant par un point ne sont pas traités de manière spéciale par ce "
"module, et sont reconnus par les motifs ``*`` et ``?``."
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:49
msgid ""
"Also note that :func:`functools.lru_cache` with the *maxsize* of 32768 is "
"used to cache the compiled regex patterns in the following functions: :func:"
"`fnmatch`, :func:`fnmatchcase`, :func:`.filter`."
2022-03-23 17:40:12 +00:00
msgstr ""
#: library/fnmatch.rst:55
2016-10-30 09:46:26 +00:00
msgid ""
"Test whether the *filename* string matches the *pattern* string, returning :"
2017-08-01 11:29:09 +00:00
"const:`True` or :const:`False`. Both parameters are case-normalized using :"
"func:`os.path.normcase`. :func:`fnmatchcase` can be used to perform a case-"
"sensitive comparison, regardless of whether that's standard for the "
"operating system."
2016-10-30 09:46:26 +00:00
msgstr ""
"Teste si la chaîne de caractères *filename* correspond au motif *pattern*, "
"en renvoyant :const:`True` ou :const:`False`. La casse de chacun des "
"paramètres peut être normalisée en utilisant :func:`os.path.normcase`. :func:"
"`fnmatchcase` peut être utilisée pour réaliser une comparaison sensible à la "
"casse, indépendamment du système d'exploitation."
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:61
2016-10-30 09:46:26 +00:00
msgid ""
"This example will print all file names in the current directory with the "
"extension ``.txt``::"
msgstr ""
"Cet exemple affiche tous les noms de fichiers du répertoire courant ayant "
"pour extension ``.txt`` ::"
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:74
2016-10-30 09:46:26 +00:00
msgid ""
"Test whether *filename* matches *pattern*, returning :const:`True` or :const:"
2017-08-01 11:29:09 +00:00
"`False`; the comparison is case-sensitive and does not apply :func:`os.path."
"normcase`."
2016-10-30 09:46:26 +00:00
msgstr ""
"Teste si *filename* correspond au motif *pattern*, en renvoyant :const:"
"`True` ou :const:`False` ; la comparaison est sensible à la casse et "
"n'utilise pas la fonction :func:`os.path.normcase`."
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:81
2016-10-30 09:46:26 +00:00
msgid ""
2021-01-27 19:42:04 +00:00
"Construct a list from those elements of the iterable *names* that match "
"*pattern*. It is the same as ``[n for n in names if fnmatch(n, pattern)]``, "
"but implemented more efficiently."
2016-10-30 09:46:26 +00:00
msgstr ""
"Renvoie un sous-ensemble de la liste *names* correspondant au motif "
"*pattern*. Similaire à ``[n for n in names if fnmatch(n, pattern)]``, mais "
"implémenté plus efficacement."
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:87
2017-04-02 20:14:06 +00:00
msgid ""
"Return the shell-style *pattern* converted to a regular expression for using "
"with :func:`re.match`."
2016-10-30 09:46:26 +00:00
msgstr ""
"Renvoie le motif *pattern*, de style shell, converti en une expression "
"régulière utilisable avec :func:`re.match`."
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:90
2016-10-30 09:46:26 +00:00
msgid "Example:"
msgstr "Exemple :"
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:104
2016-10-30 09:46:26 +00:00
msgid "Module :mod:`glob`"
msgstr "Module :mod:`glob`"
2016-10-30 09:46:26 +00:00
2022-03-23 17:40:12 +00:00
#: library/fnmatch.rst:105
2016-10-30 09:46:26 +00:00
msgid "Unix shell-style path expansion."
msgstr "Recherche de chemins de style shell Unix."