Skip to content

Conversation

julienvitard
Copy link
Contributor

No description provided.


#: ../Doc/library/fnmatch.rst:2
msgid ":mod:`fnmatch` --- Unix filename pattern matching"
msgstr ""
msgstr ":mod:`fnmatch` --- Filtrage par motif des noms de fichier Unix"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/fichier/fichiers/

@@ -43,37 +48,39 @@ msgstr "``*``"

#: ../Doc/library/fnmatch.rst:22
msgid "matches everything"
msgstr ""
msgstr "reconnaît tout caractère"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est potentiellement plus qu'un caractère.
"reconnaît n'importe quoi" ?

@@ -83,6 +90,12 @@ msgid ""
"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 fichier (``'/'`` sous Unix) n'est *pas* "
"spécial à ce module. Voir le module :mod:`glob` pour la recherche de chemins "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"traité de manière spéciale par ce module." ?

"spécial à ce module. Voir le module :mod:`glob` pour la recherche de chemins "
"(:mod:`glob` utilise :func:`fnmatch` pour reconnaître les composants d'un "
"chemin). De la même manière, les noms de fichiers commençant par une virgule "
"ne sont pas supportés par ce module, et sont reconnus par les motifs ``*`` "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem ci-dessus "traités de manière spéciale".
Je ne sais pas pourquoi la documentation mentionne le cas particulier des fichiers commençant par une virgule.

"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` pour réaliser une comparaison sensible à la casse, "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... peut être utilisée pour réaliser ...


#: ../Doc/library/fnmatch.rst:51
msgid ""
"This example will print all file names in the current directory with the "
"extension ``.txt``::"
msgstr ""
"Cet exemple affiche tous les noms de fichier du répertoire courant ayant "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/fichier/fichiers/


#: ../Doc/library/fnmatch.rst:64
msgid ""
"Test whether *filename* matches *pattern*, returning :const:`True` or :const:"
"`False`; the comparison is case-sensitive and does not apply :func:`os.path."
"normcase`."
msgstr ""
"Teste si *filename* correspond au motif *pattern*, en renvoyant :const:"
"`True` ou :const:`False`; la comparaison est sensible à la casse et "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

il manque une espace insécable avant le point-virgule.

@christopheNan christopheNan merged commit 87299f3 into python:3.7 Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants