Complétion de pathlib.po

This commit is contained in:
nicolas talabardon 2023-02-17 18:04:01 +01:00
parent 9a60e67cd0
commit 6e44212a40
1 changed files with 49 additions and 48 deletions

View File

@ -6,14 +6,14 @@ 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-02-12 11:56+0100\n" "POT-Creation-Date: 2023-02-12 11:56+0100\n"
"PO-Revision-Date: 2022-10-18 15:43+0200\n" "PO-Revision-Date: 2023-02-17 18:03+0100\n"
"Last-Translator: Vincent Poulailleau <vpoulailleau@gmail.com>\n" "Last-Translator: Vincent Poulailleau <vpoulailleau@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.0\n" "X-Generator: Poedit 3.0.1\n"
#: library/pathlib.rst:3 #: library/pathlib.rst:3
msgid ":mod:`pathlib` --- Object-oriented filesystem paths" msgid ":mod:`pathlib` --- Object-oriented filesystem paths"
@ -158,30 +158,31 @@ msgid "When *pathsegments* is empty, the current directory is assumed::"
msgstr "Quand *pathsegments* est vide, le dossier courant est utilisé ::" msgstr "Quand *pathsegments* est vide, le dossier courant est utilisé ::"
#: library/pathlib.rst:121 #: library/pathlib.rst:121
#, fuzzy
msgid "" msgid ""
"If a segment is an absolute path, all previous segments are ignored (like :" "If a segment is an absolute path, all previous segments are ignored (like :"
"func:`os.path.join`)::" "func:`os.path.join`)::"
msgstr "" msgstr ""
"Quand plusieurs chemins absolus sont fournis, le dernier est pris comme " "Si un segment est un chemin absolu, tous les segments précédents sont "
"ancre (recopiant le comportement de :func:`os.path.join`) ::" "ignorés (comme :func:`os.path.join`) ::"
#: library/pathlib.rst:129 #: library/pathlib.rst:129
msgid "" msgid ""
"On Windows, the drive is not reset when a rooted relative path segment (e." "On Windows, the drive is not reset when a rooted relative path segment (e."
"g., ``r'\\foo'``) is encountered::" "g., ``r'\\foo'``) is encountered::"
msgstr "" msgstr ""
"Sous Windows, le lecteur n'est pas effacé quand un segment enraciné de "
"chemin relatif (par exemple ``r'\\foo'``) est rencontré::"
#: library/pathlib.rst:135 #: library/pathlib.rst:135
#, fuzzy
msgid "" msgid ""
"Spurious slashes and single dots are collapsed, but double dots (``'..'``) " "Spurious slashes and single dots are collapsed, but double dots (``'..'``) "
"and leading double slashes (``'//'``) are not, since this would change the " "and leading double slashes (``'//'``) are not, since this would change the "
"meaning of a path for various reasons (e.g. symbolic links, UNC paths)::" "meaning of a path for various reasons (e.g. symbolic links, UNC paths)::"
msgstr "" msgstr ""
"Les points et slashs superflus sont supprimés, mais les doubles points " "Les points et slashs superflus sont supprimés, mais les doubles points "
"(``'..'``) ne le sont pas, puisque cela changerait la signification du " "(``'..'``) et les double slashes (``'//'``) en début de segment ne le sont "
"chemin dans le cas de liens symboliques ::" "pas, puisque cela changerait la signification du chemin pour différentes "
"raisons (par exemple pour des liens symboliques ou des chemins UNC) ::"
#: library/pathlib.rst:148 #: library/pathlib.rst:148
msgid "" msgid ""
@ -218,13 +219,13 @@ msgid "*pathsegments* is specified similarly to :class:`PurePath`."
msgstr "*pathsegments* est spécifié de manière similaire à :class:`PurePath`." msgstr "*pathsegments* est spécifié de manière similaire à :class:`PurePath`."
#: library/pathlib.rst:170 #: library/pathlib.rst:170
#, fuzzy
msgid "" msgid ""
"A subclass of :class:`PurePath`, this path flavour represents Windows " "A subclass of :class:`PurePath`, this path flavour represents Windows "
"filesystem paths, including `UNC paths`_::" "filesystem paths, including `UNC paths`_::"
msgstr "" msgstr ""
"Une sous-classe de :class:`PurePath`, cette famille de chemin représente les " "Une sous-classe de :class:`PurePath`, cette famille de chemin représente les "
"chemins de systèmes de fichiers Windows ::" "chemins de systèmes de fichiers Windows, y compris les chemin UNC (voir`UNC "
"paths`_) ::"
#: library/pathlib.rst:182 #: library/pathlib.rst:182
msgid "" msgid ""
@ -266,6 +267,10 @@ msgid ""
"the drive is not reset when the argument is a rooted relative path (e.g., " "the drive is not reset when the argument is a rooted relative path (e.g., "
"``r'\\foo'``)::" "``r'\\foo'``)::"
msgstr "" msgstr ""
"L'opérateur slash aide à créer les chemins enfants, de manière similaire à :"
"func:`os.path.join`. Si l'argument est un chemin absolu, le chemin précédent "
"est ignoré. Sous Windows, le lecteur n'est pas effacé quand l'argument est "
"un chemin relatif enraciné (par exemple ``r'\\foo'``)::"
#: library/pathlib.rst:233 #: library/pathlib.rst:233
msgid "" msgid ""
@ -358,6 +363,8 @@ msgid ""
"If the path starts with more than two successive slashes, :class:`~pathlib." "If the path starts with more than two successive slashes, :class:`~pathlib."
"PurePosixPath` collapses them::" "PurePosixPath` collapses them::"
msgstr "" msgstr ""
"Si le chemin commence par plus de deux slashes successifs, :class:`~pathlib."
"PurePosixPath`n'en conserve qu'un::"
#: library/pathlib.rst:337 #: library/pathlib.rst:337
msgid "" msgid ""
@ -365,6 +372,9 @@ msgid ""
"paragraph `4.11 Pathname Resolution <https://pubs.opengroup.org/" "paragraph `4.11 Pathname Resolution <https://pubs.opengroup.org/"
"onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11>`_:" "onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11>`_:"
msgstr "" msgstr ""
"Ce comportement se conforme à *The Open Group Base Specifications Issue 6*, "
"paragraph `4.11 Pathname Resolution <https://pubs.opengroup.org/"
"onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11>`_:"
#: library/pathlib.rst:341 #: library/pathlib.rst:341
msgid "" msgid ""
@ -404,13 +414,12 @@ msgid "This is a purely lexical operation, hence the following behaviour::"
msgstr "C'est une opération purement lexicale, d'où le comportement suivant ::" msgstr "C'est une opération purement lexicale, d'où le comportement suivant ::"
#: library/pathlib.rst:399 #: library/pathlib.rst:399
#, fuzzy
msgid "" msgid ""
"If you want to walk an arbitrary filesystem path upwards, it is recommended " "If you want to walk an arbitrary filesystem path upwards, it is recommended "
"to first call :meth:`Path.resolve` so as to resolve symlinks and eliminate " "to first call :meth:`Path.resolve` so as to resolve symlinks and eliminate "
"``\"..\"`` components." "``\"..\"`` components."
msgstr "" msgstr ""
"Si vous voulez parcourir un chemin arbitraire du système de fichiers, il est " "Si vous voulez remonter un chemin arbitraire du système de fichiers, il est "
"recommandé de d'abord appeler :meth:`Path.resolve` de manière à résoudre les " "recommandé de d'abord appeler :meth:`Path.resolve` de manière à résoudre les "
"liens symboliques et éliminer les composantes ``\"..\"``." "liens symboliques et éliminer les composantes ``\"..\"``."
@ -686,7 +695,7 @@ msgstr ""
#: library/pathlib.rst:788 #: library/pathlib.rst:788
msgid "The *follow_symlinks* parameter was added." msgid "The *follow_symlinks* parameter was added."
msgstr "ajout du paramètre *follow_symlinks*." msgstr "Ajout du paramètre *follow_symlinks*."
#: library/pathlib.rst:773 #: library/pathlib.rst:773
msgid "Change the file mode and permissions, like :func:`os.chmod`." msgid "Change the file mode and permissions, like :func:`os.chmod`."
@ -766,6 +775,8 @@ msgid ""
"Return only directories if *pattern* ends with a pathname components " "Return only directories if *pattern* ends with a pathname components "
"separator (:data:`~os.sep` or :data:`~os.altsep`)." "separator (:data:`~os.sep` or :data:`~os.altsep`)."
msgstr "" msgstr ""
"Renvoie uniquement des répertoires si *pattern* finit par un séparateur "
"d'éléments de chemin (:data:`~os.sep` ou :data:`~os.altsep`)."
#: library/pathlib.rst:857 #: library/pathlib.rst:857
msgid "" msgid ""
@ -957,7 +968,7 @@ msgstr ""
# « nouveau dans la version … » # « nouveau dans la version … »
#: library/pathlib.rst:989 #: library/pathlib.rst:989
msgid "The *exist_ok* parameter was added." msgid "The *exist_ok* parameter was added."
msgstr "ajout du paramètre *exist_ok*." msgstr "Ajout du paramètre *exist_ok*."
#: library/pathlib.rst:995 #: library/pathlib.rst:995
msgid "" msgid ""
@ -1034,31 +1045,31 @@ msgid ""
"It is implemented in terms of :func:`os.rename` and gives the same " "It is implemented in terms of :func:`os.rename` and gives the same "
"guarantees." "guarantees."
msgstr "" msgstr ""
"Cette méthode est implémentée d'après :func:`os.rename` et fournit les mêmes "
"garanties."
# « nouveau dans la version … » # « nouveau dans la version … »
#: library/pathlib.rst:1090 #: library/pathlib.rst:1090
msgid "Added return value, return the new Path instance." msgid "Added return value, return the new Path instance."
msgstr "ajout de la valeur de retour, renvoie une nouvelle instance *Path*." msgstr "Ajout de la valeur de retour, renvoie une nouvelle instance *Path*."
#: library/pathlib.rst:1082 #: library/pathlib.rst:1082
#, fuzzy
msgid "" msgid ""
"Rename this file or directory to the given *target*, and return a new Path " "Rename this file or directory to the given *target*, and return a new Path "
"instance pointing to *target*. If *target* points to an existing file or " "instance pointing to *target*. If *target* points to an existing file or "
"empty directory, it will be unconditionally replaced." "empty directory, it will be unconditionally replaced."
msgstr "" msgstr ""
"Renomme ce fichier ou dossier vers la cible *target* fournie, et renvoie une " "Renomme ce fichier ou dossier vers la cible *target* fournie et renvoie une "
"nouvelle instance de *Path* pointant sur *target*. Si *target* pointe sur un " "nouvelle instance de *Path* pointant vers *target*. Si *target* pointe vers "
"fichier ou un dossier vide existant, il est systématiquement remplacé." "un fichier ou un dossier vide existant, il sera systématiquement remplacé."
#: library/pathlib.rst:1096 #: library/pathlib.rst:1096
#, fuzzy
msgid "" msgid ""
"Make the path absolute, without normalization or resolving symlinks. Returns " "Make the path absolute, without normalization or resolving symlinks. Returns "
"a new path object::" "a new path object::"
msgstr "" msgstr ""
"Rend le chemin absolu, résolvant les liens symboliques. Un nouveau chemin " "Rend le chemin absolu, sans normaliser ou résoudre les liens symboliques. "
"est renvoyé ::" "Renvoie un nouveau  ::"
#: library/pathlib.rst:1108 #: library/pathlib.rst:1108
msgid "" msgid ""
@ -1093,7 +1104,7 @@ msgstr ""
# « nouveau dans la version … » # « nouveau dans la version … »
#: library/pathlib.rst:1129 #: library/pathlib.rst:1129
msgid "The *strict* argument (pre-3.6 behavior is strict)." msgid "The *strict* argument (pre-3.6 behavior is strict)."
msgstr "l'argument *strict* (le comportement *pré-3.6* est strict par défaut)." msgstr "L'argument *strict* (le comportement *pré-3.6* est strict par défaut)."
#: library/pathlib.rst:1134 #: library/pathlib.rst:1134
msgid "" msgid ""
@ -1261,7 +1272,7 @@ msgstr ""
# Pas de majuscule après « : » # Pas de majuscule après « : »
#: library/pathlib.rst:1283 #: library/pathlib.rst:1283
msgid "The *newline* parameter was added." msgid "The *newline* parameter was added."
msgstr "ajout du paramètre *newline*." msgstr "Ajout du paramètre *newline*."
#: library/pathlib.rst:1287 #: library/pathlib.rst:1287
msgid "Correspondence to tools in the :mod:`os` module" msgid "Correspondence to tools in the :mod:`os` module"
@ -1276,18 +1287,16 @@ msgstr ""
"leur équivalent :class:`PurePath` / :class:`Path` correspondant." "leur équivalent :class:`PurePath` / :class:`Path` correspondant."
#: library/pathlib.rst:1294 #: library/pathlib.rst:1294
#, fuzzy
msgid "" msgid ""
"Not all pairs of functions/methods below are equivalent. Some of them, " "Not all pairs of functions/methods below are equivalent. Some of them, "
"despite having some overlapping use-cases, have different semantics. They " "despite having some overlapping use-cases, have different semantics. They "
"include :func:`os.path.abspath` and :meth:`Path.absolute`, :func:`os.path." "include :func:`os.path.abspath` and :meth:`Path.absolute`, :func:`os.path."
"relpath` and :meth:`PurePath.relative_to`." "relpath` and :meth:`PurePath.relative_to`."
msgstr "" msgstr ""
"Il n'y a pas toujours équivalence complète entre les deux fonctions dans les " "Sur chaque ligne du tableau ci-dessous, les fonctions/méthodes ne sont pas "
"lignes du tableau ci-dessous. Il arrive que des différences de comportement " "toujours équivalentes. Certaines, malgré des fonctionnalités similaires ont "
"existent malgré les fonctionnalités similaires. C'est notamment le cas de :" "des comportements différents. C'est notamment le cas de :func:`os.path."
"func:`os.path.abspath` et :meth:`Path.resolve`, ainsi que :func:`os.path." "abspath` et :meth:`Path.absolute`, ainsi que :func:`os.path.relpath`."
"relpath` et :meth:`PurePath.relative_to`."
#: library/pathlib.rst:1300 #: library/pathlib.rst:1300
msgid ":mod:`os` and :mod:`os.path`" msgid ":mod:`os` and :mod:`os.path`"
@ -1302,19 +1311,16 @@ msgid ":func:`os.path.abspath`"
msgstr ":func:`os.path.abspath`" msgstr ":func:`os.path.abspath`"
#: library/pathlib.rst:1302 #: library/pathlib.rst:1302
#, fuzzy
msgid ":meth:`Path.absolute` [#]_" msgid ":meth:`Path.absolute` [#]_"
msgstr ":meth:`Path.resolve` [#]_" msgstr ":meth:`Path.absolute` [#]_"
#: library/pathlib.rst:1303 #: library/pathlib.rst:1303
#, fuzzy
msgid ":func:`os.path.realpath`" msgid ":func:`os.path.realpath`"
msgstr ":func:`os.path.relpath`" msgstr ":func:`os.path.realpath`"
#: library/pathlib.rst:1303 #: library/pathlib.rst:1303
#, fuzzy
msgid ":meth:`Path.resolve`" msgid ":meth:`Path.resolve`"
msgstr ":meth:`Path.resolve` [#]_" msgstr ":meth:`Path.resolve`"
#: library/pathlib.rst:1304 #: library/pathlib.rst:1304
msgid ":func:`os.chmod`" msgid ":func:`os.chmod`"
@ -1453,9 +1459,8 @@ msgid ":func:`os.path.relpath`"
msgstr ":func:`os.path.relpath`" msgstr ":func:`os.path.relpath`"
#: library/pathlib.rst:1322 #: library/pathlib.rst:1322
#, fuzzy
msgid ":meth:`PurePath.relative_to` [#]_" msgid ":meth:`PurePath.relative_to` [#]_"
msgstr ":meth:`Path.relative_to` [#]_" msgstr ":meth:`PurePath.relative_to` [#]_"
#: library/pathlib.rst:1323 #: library/pathlib.rst:1323
msgid ":func:`os.stat`" msgid ":func:`os.stat`"
@ -1486,18 +1491,16 @@ msgid ":func:`os.path.basename`"
msgstr ":func:`os.path.basename`" msgstr ":func:`os.path.basename`"
#: library/pathlib.rst:1328 #: library/pathlib.rst:1328
#, fuzzy
msgid ":attr:`PurePath.name`" msgid ":attr:`PurePath.name`"
msgstr ":data:`PurePath.name`" msgstr ":attr:`PurePath.name`"
#: library/pathlib.rst:1329 #: library/pathlib.rst:1329
msgid ":func:`os.path.dirname`" msgid ":func:`os.path.dirname`"
msgstr ":func:`os.path.dirname`" msgstr ":func:`os.path.dirname`"
#: library/pathlib.rst:1329 #: library/pathlib.rst:1329
#, fuzzy
msgid ":attr:`PurePath.parent`" msgid ":attr:`PurePath.parent`"
msgstr ":data:`PurePath.parent`" msgstr ":attr:`PurePath.parent`"
#: library/pathlib.rst:1330 #: library/pathlib.rst:1330
msgid ":func:`os.path.samefile`" msgid ":func:`os.path.samefile`"
@ -1512,25 +1515,23 @@ msgid ":func:`os.path.splitext`"
msgstr ":func:`os.path.splitext`" msgstr ":func:`os.path.splitext`"
#: library/pathlib.rst:1331 #: library/pathlib.rst:1331
#, fuzzy
msgid ":attr:`PurePath.stem` and :attr:`PurePath.suffix`" msgid ":attr:`PurePath.stem` and :attr:`PurePath.suffix`"
msgstr ":data:`PurePath.suffix`" msgstr ":attr:`PurePath.stem` et :attr:`PurePath.suffix`"
#: library/pathlib.rst:1336 #: library/pathlib.rst:1336
msgid "Footnotes" msgid "Footnotes"
msgstr "Notes" msgstr "Notes"
#: library/pathlib.rst:1337 #: library/pathlib.rst:1337
#, fuzzy
msgid "" msgid ""
":func:`os.path.abspath` normalizes the resulting path, which may change its " ":func:`os.path.abspath` normalizes the resulting path, which may change its "
"meaning in the presence of symlinks, while :meth:`Path.absolute` does not." "meaning in the presence of symlinks, while :meth:`Path.absolute` does not."
msgstr "" msgstr ""
":func:`os.path.abspath` ne résout pas les liens symboliques alors que :meth:" ":func:`os.path.abspath` normalise le chemin généré, ce qui peut en changer "
"`Path.resolve` le fait." "la signification en présence de liens symboliques , alors que :meth:`Path."
"absolute` ne le fait pas."
#: library/pathlib.rst:1338 #: library/pathlib.rst:1338
#, fuzzy
msgid "" msgid ""
":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the " ":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the "
"argument, but :func:`os.path.relpath` does not." "argument, but :func:`os.path.relpath` does not."