From 3e9fa0dd7e45203605f46d44c2670ee33c87bb5d Mon Sep 17 00:00:00 2001 From: Melcore Date: Wed, 27 Oct 2021 20:59:57 +0200 Subject: [PATCH 01/10] Traduction de library/stats.po --- library/stat.po | 78 +++++++++++++++++++++++++++++++------------------ 1 file changed, 49 insertions(+), 29 deletions(-) diff --git a/library/stat.po b/library/stat.po index 2a1c6266f..17efc4134 100644 --- a/library/stat.po +++ b/library/stat.po @@ -6,22 +6,22 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-09-23 16:16+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2021-10-27 20:38+0200\n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Last-Translator: Jean Lapostolle \n" +"X-Generator: Poedit 3.0\n" #: library/stat.rst:2 msgid ":mod:`stat` --- Interpreting :func:`~os.stat` results" msgstr "" #: library/stat.rst:10 -#, fuzzy msgid "**Source code:** :source:`Lib/stat.py`" -msgstr "**Code source :** :source:`Lib/ast.py`" +msgstr "**Code source :** :source:`Lib/stat.py`" #: library/stat.rst:14 msgid "" @@ -30,44 +30,58 @@ msgid "" "exist). For complete details about the :c:func:`stat`, :c:func:`fstat` and :" "c:func:`lstat` calls, consult the documentation for your system." msgstr "" +"Le module :mod:'stat' définit des constantes et des fonctions pour " +"interpréter les résultats de :func:'os.stat', :func:'os.fstat' et :func:'os." +"lstat' (s’ils existent). Pour plus de détails sur les appels :c:" +"func:'stat', :c:func:'fstat' et :c:func:'lstat', consultez la documentation " +"pour votre système." #: library/stat.rst:19 msgid "The stat module is backed by a C implementation." -msgstr "" +msgstr "Le module stat est soutenu par une implémentation en C." #: library/stat.rst:22 msgid "" "The :mod:`stat` module defines the following functions to test for specific " "file types:" msgstr "" +"Le module :mod:'stat' définit les fonctions suivantes pour tester sur des " +"types de fichiers spécifiques :" #: library/stat.rst:28 msgid "Return non-zero if the mode is from a directory." -msgstr "" +msgstr "Renvoie une valeur différente de zéro si le mode est un répertoire." #: library/stat.rst:33 msgid "Return non-zero if the mode is from a character special device file." msgstr "" +"Renvoie une valeur différente de zéro si le mode est un caractère spécial de " +"fichier de périphérique." #: library/stat.rst:38 msgid "Return non-zero if the mode is from a block special device file." msgstr "" +"Renvoie une valeur différente de zéro si le mode est un bloc spécial de " +"fichier de périphérique." #: library/stat.rst:43 msgid "Return non-zero if the mode is from a regular file." msgstr "" +"Renvoyer une valeur différente de zéro si le mode est un fichier normal." #: library/stat.rst:48 msgid "Return non-zero if the mode is from a FIFO (named pipe)." msgstr "" +"Renvoyer une valeur différente de zéro si le mode est une FIFO (nommé tube)" #: library/stat.rst:53 msgid "Return non-zero if the mode is from a symbolic link." msgstr "" +"Renvoyer une valeur différente de zéro si le mode est un lien symbolique." #: library/stat.rst:58 msgid "Return non-zero if the mode is from a socket." -msgstr "" +msgstr "Renvoyer une valeur différente de zéro si le mode est un socket." #: library/stat.rst:62 msgid "Return non-zero if the mode is from a door." @@ -86,6 +100,8 @@ msgid "" "Two additional functions are defined for more general manipulation of the " "file's mode:" msgstr "" +"Deux autres fonctions sont définies pour permettre plus de manipulation du " +"mode du fichier :" #: library/stat.rst:84 msgid "" @@ -137,7 +153,7 @@ msgstr "" #: library/stat.rst:149 msgid "Inode protection mode." -msgstr "" +msgstr "Mode de protection de l'inode." #: library/stat.rst:154 msgid "Inode number." @@ -149,15 +165,15 @@ msgstr "" #: library/stat.rst:164 msgid "Number of links to the inode." -msgstr "" +msgstr "Nombre de lien dans l'inode" #: library/stat.rst:169 msgid "User id of the owner." -msgstr "" +msgstr "Identifiant utilisateur du propriétaire" #: library/stat.rst:174 msgid "Group id of the owner." -msgstr "" +msgstr "Identifiant de groupe du propriétaire" #: library/stat.rst:179 msgid "" @@ -166,7 +182,7 @@ msgstr "" #: library/stat.rst:184 msgid "Time of last access." -msgstr "" +msgstr "L'heure du dernier accès" #: library/stat.rst:189 msgid "Time of last modification." @@ -203,19 +219,19 @@ msgstr "" #: library/stat.rst:213 msgid "Socket." -msgstr "" +msgstr "Socket." #: library/stat.rst:217 msgid "Symbolic link." -msgstr "" +msgstr "Lien symbolique." #: library/stat.rst:221 msgid "Regular file." -msgstr "" +msgstr "Fichier normal." #: library/stat.rst:225 msgid "Block device." -msgstr "" +msgstr "Block de périphérique." #: library/stat.rst:229 msgid "Directory." @@ -223,11 +239,11 @@ msgstr "Dossier." #: library/stat.rst:233 msgid "Character device." -msgstr "" +msgstr "Caractère de périphérique." #: library/stat.rst:237 msgid "FIFO." -msgstr "" +msgstr "FIFO." #: library/stat.rst:241 msgid "Door." @@ -246,16 +262,20 @@ msgid "" ":data:`S_IFDOOR`, :data:`S_IFPORT` or :data:`S_IFWHT` are defined as 0 when " "the platform does not have support for the file types." msgstr "" +":data:`S_IFDOOR`, :data:`S_IFPORT` or :data:`S_IFWHT` sont définies à 0 si " +"la plateforme n'a pas de support pour le type de fichier." #: library/stat.rst:262 msgid "" "The following flags can also be used in the *mode* argument of :func:`os." "chmod`:" msgstr "" +"Les drapeaux suivant peuvent aussi être utilisé dans l'argument *mode* de :" +"func:`os.chmod`:" #: library/stat.rst:266 msgid "Set UID bit." -msgstr "" +msgstr "Défini le bit UID." #: library/stat.rst:270 msgid "" @@ -281,15 +301,15 @@ msgstr "" #: library/stat.rst:291 msgid "Owner has read permission." -msgstr "" +msgstr "Le propriétaire possède le droit de lecture." #: library/stat.rst:295 msgid "Owner has write permission." -msgstr "" +msgstr "Le propriétaire possède le droit d'écriture." #: library/stat.rst:299 msgid "Owner has execute permission." -msgstr "" +msgstr "Le propriétaire possède le droit d'exécution." #: library/stat.rst:303 msgid "Mask for group permissions." @@ -297,15 +317,15 @@ msgstr "" #: library/stat.rst:307 msgid "Group has read permission." -msgstr "" +msgstr "Le groupe possède le droit de lecture." #: library/stat.rst:311 msgid "Group has write permission." -msgstr "" +msgstr "Le groupe possède le droit d'écriture." #: library/stat.rst:315 msgid "Group has execute permission." -msgstr "" +msgstr "Le groupe possède le droit d'exécution." #: library/stat.rst:319 msgid "Mask for permissions for others (not in group)." @@ -354,7 +374,7 @@ msgstr "" #: library/stat.rst:387 msgid "The file may not be changed." -msgstr "" +msgstr "Le fichier ne peut pas être modifié." #: library/stat.rst:391 msgid "The file may only be appended to." @@ -366,7 +386,7 @@ msgstr "" #: library/stat.rst:395 msgid "The file may not be renamed or deleted." -msgstr "" +msgstr "Le fichier ne peut pas être renommé ou supprimé." #: library/stat.rst:375 msgid "The file is stored compressed (macOS 10.6+)." @@ -374,11 +394,11 @@ msgstr "" #: library/stat.rst:379 msgid "The file should not be displayed in a GUI (macOS 10.5+)." -msgstr "" +msgstr "Le fichier ne peut pas être affiché dans une GUI (macOS 10.5+)." #: library/stat.rst:383 msgid "The file may be archived." -msgstr "" +msgstr "Le fichier peut être archivé." #: library/stat.rst:399 msgid "The file is a snapshot file." From 5c5eb77c0052768d59d51bb102811befc27e65aa Mon Sep 17 00:00:00 2001 From: Melcore Date: Wed, 27 Oct 2021 21:38:51 +0200 Subject: [PATCH 02/10] Prise en compte des remarques --- library/stat.po | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/library/stat.po b/library/stat.po index 17efc4134..731d72cdf 100644 --- a/library/stat.po +++ b/library/stat.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-09-23 16:16+0200\n" -"PO-Revision-Date: 2021-10-27 20:38+0200\n" +"PO-Revision-Date: 2021-10-27 21:29+0200\n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" @@ -31,57 +31,59 @@ msgid "" "c:func:`lstat` calls, consult the documentation for your system." msgstr "" "Le module :mod:'stat' définit des constantes et des fonctions pour " -"interpréter les résultats de :func:'os.stat', :func:'os.fstat' et :func:'os." -"lstat' (s’ils existent). Pour plus de détails sur les appels :c:" -"func:'stat', :c:func:'fstat' et :c:func:'lstat', consultez la documentation " -"pour votre système." +"interpréter les résultats de :func:`os.stat`, :func:`os.fstat` et :func:`os." +"lstat` (si elles existent). Pour plus de détails sur les appels :c:func:" +"`stat`, :c:func:`fstat` et :c:func:`lstat`, consultez la documentation pour " +"votre système." #: library/stat.rst:19 msgid "The stat module is backed by a C implementation." -msgstr "Le module stat est soutenu par une implémentation en C." +msgstr "Le module stat est implémenté en C." #: library/stat.rst:22 msgid "" "The :mod:`stat` module defines the following functions to test for specific " "file types:" msgstr "" -"Le module :mod:'stat' définit les fonctions suivantes pour tester sur des " -"types de fichiers spécifiques :" +"Le module :mod:`stat` définit les fonctions suivantes pour tester des types " +"de fichiers spécifiques :" #: library/stat.rst:28 msgid "Return non-zero if the mode is from a directory." -msgstr "Renvoie une valeur différente de zéro si le mode est un répertoire." +msgstr "" +"Renvoie une valeur différente de zéro si c'est un mode d'un répertoire." #: library/stat.rst:33 msgid "Return non-zero if the mode is from a character special device file." msgstr "" -"Renvoie une valeur différente de zéro si le mode est un caractère spécial de " -"fichier de périphérique." +"Renvoie une valeur différente de zéro si c'est le mode d'un caractère " +"spécial de fichier de périphérique." #: library/stat.rst:38 msgid "Return non-zero if the mode is from a block special device file." msgstr "" -"Renvoie une valeur différente de zéro si le mode est un bloc spécial de " +"Renvoie une valeur différente de zéro si c'est le mode d'un bloc spécial de " "fichier de périphérique." #: library/stat.rst:43 msgid "Return non-zero if the mode is from a regular file." msgstr "" -"Renvoyer une valeur différente de zéro si le mode est un fichier normal." +"Renvoie une valeur différente de zéro si c'est le mode d'un fichier normal." #: library/stat.rst:48 msgid "Return non-zero if the mode is from a FIFO (named pipe)." msgstr "" -"Renvoyer une valeur différente de zéro si le mode est une FIFO (nommé tube)" +"Renvoie une valeur différente de zéro si c'est le mode d'une FIFO (nommé " +"tube)" #: library/stat.rst:53 msgid "Return non-zero if the mode is from a symbolic link." msgstr "" -"Renvoyer une valeur différente de zéro si le mode est un lien symbolique." +"Renvoie une valeur différente de zéro si c'est le mode d'un lien symbolique." #: library/stat.rst:58 msgid "Return non-zero if the mode is from a socket." -msgstr "Renvoyer une valeur différente de zéro si le mode est un socket." +msgstr "Renvoie une valeur différente de zéro si c'est le mode d'un socket." #: library/stat.rst:62 msgid "Return non-zero if the mode is from a door." @@ -153,7 +155,7 @@ msgstr "" #: library/stat.rst:149 msgid "Inode protection mode." -msgstr "Mode de protection de l'inode." +msgstr "Mode de protection de l'*inode*." #: library/stat.rst:154 msgid "Inode number." @@ -231,7 +233,7 @@ msgstr "Fichier normal." #: library/stat.rst:225 msgid "Block device." -msgstr "Block de périphérique." +msgstr "Bloc de périphérique." #: library/stat.rst:229 msgid "Directory." @@ -275,7 +277,7 @@ msgstr "" #: library/stat.rst:266 msgid "Set UID bit." -msgstr "Défini le bit UID." +msgstr "Définit le bit UID." #: library/stat.rst:270 msgid "" From 6ed66fd32c180343a10eed1565df4e459af24a8e Mon Sep 17 00:00:00 2001 From: Melcore Date: Wed, 27 Oct 2021 21:49:24 +0200 Subject: [PATCH 03/10] Update library/stat.po Co-authored-by: Julien Palard --- library/stat.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/stat.po b/library/stat.po index 731d72cdf..0b381330c 100644 --- a/library/stat.po +++ b/library/stat.po @@ -30,7 +30,7 @@ msgid "" "exist). For complete details about the :c:func:`stat`, :c:func:`fstat` and :" "c:func:`lstat` calls, consult the documentation for your system." msgstr "" -"Le module :mod:'stat' définit des constantes et des fonctions pour " +"Le module :mod:`stat` définit des constantes et des fonctions pour " "interpréter les résultats de :func:`os.stat`, :func:`os.fstat` et :func:`os." "lstat` (si elles existent). Pour plus de détails sur les appels :c:func:" "`stat`, :c:func:`fstat` et :c:func:`lstat`, consultez la documentation pour " From 6a73070d6720374b5c98a03b653f4dbed5d9757d Mon Sep 17 00:00:00 2001 From: Melcore Date: Wed, 27 Oct 2021 21:56:46 +0200 Subject: [PATCH 04/10] Update library/stat.po Co-authored-by: Julien Palard --- library/stat.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/stat.po b/library/stat.po index 0b381330c..44760c44d 100644 --- a/library/stat.po +++ b/library/stat.po @@ -83,7 +83,7 @@ msgstr "" #: library/stat.rst:58 msgid "Return non-zero if the mode is from a socket." -msgstr "Renvoie une valeur différente de zéro si c'est le mode d'un socket." +msgstr "Renvoie une valeur différente de zéro si c'est le mode d'un *socket*." #: library/stat.rst:62 msgid "Return non-zero if the mode is from a door." From ed76539d89624194dc04136f977abb43ee7d2db5 Mon Sep 17 00:00:00 2001 From: Melcore Date: Wed, 27 Oct 2021 21:58:51 +0200 Subject: [PATCH 05/10] Update library/stat.po Co-authored-by: Julien Palard --- library/stat.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/stat.po b/library/stat.po index 44760c44d..5f2655a5b 100644 --- a/library/stat.po +++ b/library/stat.po @@ -233,7 +233,7 @@ msgstr "Fichier normal." #: library/stat.rst:225 msgid "Block device." -msgstr "Bloc de périphérique." +msgstr "Périphérique en mode bloc." #: library/stat.rst:229 msgid "Directory." From 40072b3480bf72c3bdcc902d5e1a41e293b0ddd2 Mon Sep 17 00:00:00 2001 From: Melcore Date: Wed, 27 Oct 2021 22:01:42 +0200 Subject: [PATCH 06/10] Update library/stat.po Co-authored-by: Julien Palard --- library/stat.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/stat.po b/library/stat.po index 5f2655a5b..f2380dc77 100644 --- a/library/stat.po +++ b/library/stat.po @@ -315,7 +315,7 @@ msgstr "Le propriétaire possède le droit d'exécution." #: library/stat.rst:303 msgid "Mask for group permissions." -msgstr "" +msgstr "Masque pour extraire les permissions du groupe." #: library/stat.rst:307 msgid "Group has read permission." From 64aeec87f0d939548fc8fcfa5172537ad622a88d Mon Sep 17 00:00:00 2001 From: Melcore Date: Wed, 27 Oct 2021 22:04:25 +0200 Subject: [PATCH 07/10] Update stat.po --- library/stat.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/stat.po b/library/stat.po index f2380dc77..624e97702 100644 --- a/library/stat.po +++ b/library/stat.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-09-23 16:16+0200\n" -"PO-Revision-Date: 2021-10-27 21:29+0200\n" +"PO-Revision-Date: 2021-10-27 22:03+0200\n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" @@ -167,15 +167,15 @@ msgstr "" #: library/stat.rst:164 msgid "Number of links to the inode." -msgstr "Nombre de lien dans l'inode" +msgstr "Nombre de liens vers l'inode." #: library/stat.rst:169 msgid "User id of the owner." -msgstr "Identifiant utilisateur du propriétaire" +msgstr "Identifiant utilisateur du propriétaire." #: library/stat.rst:174 msgid "Group id of the owner." -msgstr "Identifiant de groupe du propriétaire" +msgstr "Identifiant de groupe du propriétaire." #: library/stat.rst:179 msgid "" @@ -184,7 +184,7 @@ msgstr "" #: library/stat.rst:184 msgid "Time of last access." -msgstr "L'heure du dernier accès" +msgstr "L'heure du dernier accès." #: library/stat.rst:189 msgid "Time of last modification." From b009ed7311b7811263370b15e1759b75a982f1e2 Mon Sep 17 00:00:00 2001 From: Mathieu Dupuy Date: Mon, 23 May 2022 09:54:04 +0200 Subject: [PATCH 08/10] Apply suggestions from code review Co-authored-by: Julien Palard Co-authored-by: Jean Abou-Samra --- library/stat.po | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/library/stat.po b/library/stat.po index 624e97702..ee3d4faa8 100644 --- a/library/stat.po +++ b/library/stat.po @@ -56,14 +56,13 @@ msgstr "" #: library/stat.rst:33 msgid "Return non-zero if the mode is from a character special device file." msgstr "" -"Renvoie une valeur différente de zéro si c'est le mode d'un caractère " -"spécial de fichier de périphérique." +"Renvoie une valeur différente de zéro si c'est le mode d'un fichier spécial caractère " +"de périphérique." #: library/stat.rst:38 msgid "Return non-zero if the mode is from a block special device file." msgstr "" -"Renvoie une valeur différente de zéro si c'est le mode d'un bloc spécial de " -"fichier de périphérique." +"Renvoie une valeur différente de zéro si c'est le mode d'un fichier spécial bloc." #: library/stat.rst:43 msgid "Return non-zero if the mode is from a regular file." @@ -73,8 +72,8 @@ msgstr "" #: library/stat.rst:48 msgid "Return non-zero if the mode is from a FIFO (named pipe)." msgstr "" -"Renvoie une valeur différente de zéro si c'est le mode d'une FIFO (nommé " -"tube)" +"Renvoie une valeur différente de zéro si c'est le mode d'une FIFO (tube " +"nommé)" #: library/stat.rst:53 msgid "Return non-zero if the mode is from a symbolic link." @@ -241,7 +240,7 @@ msgstr "Dossier." #: library/stat.rst:233 msgid "Character device." -msgstr "Caractère de périphérique." +msgstr "Périphérique en mode caractère." #: library/stat.rst:237 msgid "FIFO." @@ -265,7 +264,7 @@ msgid "" "the platform does not have support for the file types." msgstr "" ":data:`S_IFDOOR`, :data:`S_IFPORT` or :data:`S_IFWHT` sont définies à 0 si " -"la plateforme n'a pas de support pour le type de fichier." +"la plateforme ne prend pas en charge les types de fichiers." #: library/stat.rst:262 msgid "" From 834c5e57f4d552f764d38eac379f35845b98511d Mon Sep 17 00:00:00 2001 From: Mathieu Dupuy Date: Mon, 23 May 2022 09:54:31 +0200 Subject: [PATCH 09/10] powrap --- library/stat.po | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/library/stat.po b/library/stat.po index ee3d4faa8..79b843ab4 100644 --- a/library/stat.po +++ b/library/stat.po @@ -56,13 +56,14 @@ msgstr "" #: library/stat.rst:33 msgid "Return non-zero if the mode is from a character special device file." msgstr "" -"Renvoie une valeur différente de zéro si c'est le mode d'un fichier spécial caractère " -"de périphérique." +"Renvoie une valeur différente de zéro si c'est le mode d'un fichier spécial " +"caractère de périphérique." #: library/stat.rst:38 msgid "Return non-zero if the mode is from a block special device file." msgstr "" -"Renvoie une valeur différente de zéro si c'est le mode d'un fichier spécial bloc." +"Renvoie une valeur différente de zéro si c'est le mode d'un fichier spécial " +"bloc." #: library/stat.rst:43 msgid "Return non-zero if the mode is from a regular file." From ef4a0382fa4717f9468b2d606560d6d67a66aa27 Mon Sep 17 00:00:00 2001 From: Mathieu Dupuy Date: Tue, 24 May 2022 12:45:10 +0200 Subject: [PATCH 10/10] pospell --- library/stat.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/stat.po b/library/stat.po index 79b843ab4..b896efbbc 100644 --- a/library/stat.po +++ b/library/stat.po @@ -38,7 +38,7 @@ msgstr "" #: library/stat.rst:19 msgid "The stat module is backed by a C implementation." -msgstr "Le module stat est implémenté en C." +msgstr "Le module *stat* est implémenté en C." #: library/stat.rst:22 msgid "" @@ -167,7 +167,7 @@ msgstr "" #: library/stat.rst:164 msgid "Number of links to the inode." -msgstr "Nombre de liens vers l'inode." +msgstr "Nombre de liens vers l'*inode*." #: library/stat.rst:169 msgid "User id of the owner."