Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43762dc

Browse files
vpoulailleauawecx
authored andcommitted
Traduction de pathlib (#945)
* update pathlib * Update library/pathlib.po Co-Authored-By: Christophe Nanteuil <[email protected]> * Update library/pathlib.po Co-Authored-By: Christophe Nanteuil <[email protected]> * Update library/pathlib.po Co-Authored-By: Christophe Nanteuil <[email protected]> * Update library/pathlib.po Co-Authored-By: Christophe Nanteuil <[email protected]> * Update library/pathlib.po Co-Authored-By: Antoine <[email protected]> * powrap
1 parent 9ce955e commit 43762dc

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

library/pathlib.po

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
9-
"PO-Revision-Date: 2019-06-18 21:54+0200\n"
10-
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
9+
"PO-Revision-Date: 2019-11-01 12:00+0100\n"
10+
"Last-Translator: Vincent Poulailleau <vpoulailleau@gmail.com>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=UTF-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
16-
"X-Generator: Poedit 2.2.1\n"
16+
"X-Generator: Poedit 2.0.6\n"
1717

1818
#: ../Doc/library/pathlib.rst:3
1919
msgid ":mod:`pathlib` --- Object-oriented filesystem paths"
@@ -570,15 +570,14 @@ msgid "Methods"
570570
msgstr "Méthodes"
571571

572572
#: ../Doc/library/pathlib.rst:639
573-
#, fuzzy
574573
msgid ""
575574
"Concrete paths provide the following methods in addition to pure paths "
576575
"methods. Many of these methods can raise an :exc:`OSError` if a system call "
577576
"fails (for example because the path doesn't exist)."
578577
msgstr ""
579578
"Les chemins concrets fournissent les méthodes suivantes en plus des méthodes "
580579
"des chemins purs. Beaucoup de ces méthodes peuvent lever :exc:`OSError` si "
581-
"un appel au système échoue (par exemple car le chemin n'existe pas) :"
580+
"un appel au système échoue (par exemple car le chemin n'existe pas)."
582581

583582
#: ../Doc/library/pathlib.rst:645
584583
msgid ""
@@ -589,6 +588,12 @@ msgid ""
589588
"raising an exception for paths that contain characters unrepresentable at "
590589
"the OS level."
591590
msgstr ""
591+
":meth:`~Path.exists()`, :meth:`~Path.is_dir()`, :meth:`~Path.is_file()`, :"
592+
"meth:`~Path.is_mount()`, :meth:`~Path.is_symlink()`, :meth:`~Path."
593+
"is_block_device()`, :meth:`~Path.is_char_device()`, :meth:`~Path.is_fifo()` "
594+
"et :meth:`~Path.is_socket()` renvoient maintenant ``False`` au lieu de lever "
595+
"une exception pour les chemins qui contiennent des caractères non "
596+
"représentables au niveau du système d'exploitation."
592597

593598
#: ../Doc/library/pathlib.rst:655
594599
msgid ""
@@ -883,32 +888,31 @@ msgstr ""
883888
"signification que dans :func:`open`."
884889

885890
#: ../Doc/library/pathlib.rst:936
886-
#, fuzzy
887891
msgid ""
888892
"Rename this file or directory to the given *target*, and return a new Path "
889893
"instance pointing to *target*. On Unix, if *target* exists and is a file, "
890894
"it will be replaced silently if the user has permission. *target* can be "
891895
"either a string or another path object::"
892896
msgstr ""
893-
"Renomme ce fichier ou dossier vers la cible *target* fournie. Sur Unix, si "
894-
"*target* existe et que c'est un fichier, il sera remplacé silencieusement si "
895-
"l'utilisateur a la permission. *target* peut être soit une chaîne de "
897+
"Renomme ce fichier ou dossier vers la cible *target* fournie et renvoie une "
898+
"nouvelle instance de *Path* pointant sur *target*. Sous Unix, si *target* "
899+
"existe et est un fichier, il est remplacé sans avertissement si "
900+
"l'utilisateur en a la permission. *target* peut être soit une chaîne de "
896901
"caractères, soit un autre chemin ::"
897902

898903
#: ../Doc/library/pathlib.rst:950 ../Doc/library/pathlib.rst:960
899904
msgid "Added return value, return the new Path instance."
900-
msgstr ""
905+
msgstr "Ajout de la valeur de retour, renvoie une nouvelle instance *Path*."
901906

902907
#: ../Doc/library/pathlib.rst:956
903-
#, fuzzy
904908
msgid ""
905909
"Rename this file or directory to the given *target*, and return a new Path "
906910
"instance pointing to *target*. If *target* points to an existing file or "
907911
"directory, it will be unconditionally replaced."
908912
msgstr ""
909-
"Renomme ce fichier ou dossier vers la cible *target* fournie. Si *target* "
910-
"pointe sur un fichier ou un dossier existant, il sera remplacé de manière "
911-
"inconditionnelle."
913+
"Renomme ce fichier ou dossier vers la cible *target* fournie, et renvoie une "
914+
"nouvelle instance de *Path* pointant sur *target*. Si *target* pointe sur un "
915+
"fichier ou un dossier existant, il est systématiquement remplacé."
912916

913917
#: ../Doc/library/pathlib.rst:966
914918
msgid ""
@@ -1015,32 +1019,28 @@ msgstr ""
10151019
"utilisez :func:`Path.rmdir` à la place."
10161020

10171021
#: ../Doc/library/pathlib.rst:1065
1018-
#, fuzzy
10191022
msgid ""
10201023
"If *missing_ok* is false (the default), :exc:`FileNotFoundError` is raised "
10211024
"if the path does not exist."
10221025
msgstr ""
1023-
"Si *exist_ok* est faux (valeur par défaut), :exc:`FileExistsError` est levé "
1024-
"si le dossier cible existe déjà."
1026+
"Si *missing_ok* est faux (valeur par défaut), une :exc:`FileNotFoundError` "
1027+
"est levée si le chemin n'existe pas."
10251028

10261029
#: ../Doc/library/pathlib.rst:1068
1027-
#, fuzzy
10281030
msgid ""
10291031
"If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be ignored "
10301032
"(same behavior as the POSIX ``rm -f`` command)."
10311033
msgstr ""
1032-
"If *exist_ok* est vrai, les exceptions :exc:`FileExistsError` seront "
1033-
"ignorée (même comportement que la commande POSIX ``mkdir -p``), mais "
1034-
"seulement si le dernier segment de chemin existe et n'est pas un dossier."
1034+
"Si *missing_ok* est vrai, les exceptions :exc:`FileNotFoundError` sont "
1035+
"ignorées (même comportement que la commande POSIX ``rm -f``)."
10351036

10361037
#: ../Doc/library/pathlib.rst:1071
1037-
#, fuzzy
10381038
msgid "The *missing_ok* parameter was added."
1039-
msgstr "Le paramètre *exist_ok* a été ajouté."
1039+
msgstr "Ajout du paramètre *missing_ok*."
10401040

10411041
#: ../Doc/library/pathlib.rst:1077
10421042
msgid "Create a hard link pointing to a path named *target*."
1043-
msgstr ""
1043+
msgstr "Crée un lien matériel pointant sur le chemin nommé *target*."
10441044

10451045
#: ../Doc/library/pathlib.rst:1084
10461046
msgid ""
@@ -1052,7 +1052,7 @@ msgstr ""
10521052

10531053
#: ../Doc/library/pathlib.rst:1093
10541054
msgid "An existing file of the same name is overwritten."
1055-
msgstr "Un fichier existant au même nom est écrasé."
1055+
msgstr "Le fichier du même nom, s'il existe, est écrasé."
10561056

10571057
#: ../Doc/library/pathlib.rst:1100
10581058
msgid ""
@@ -1063,13 +1063,12 @@ msgstr ""
10631063
"fichier ::"
10641064

10651065
#: ../Doc/library/pathlib.rst:1109
1066-
#, fuzzy
10671066
msgid ""
10681067
"An existing file of the same name is overwritten. The optional parameters "
10691068
"have the same meaning as in :func:`open`."
10701069
msgstr ""
1071-
"Le fichier est ouvert, puis fermé. Les paramètres optionnels ont la même "
1072-
"signification que dans :func:`open`."
1070+
"Le fichier du même nom, s'il existe, est écrasé. Les paramètres optionnels "
1071+
"ont la même signification que dans :func:`open`."
10731072

10741073
#: ../Doc/library/pathlib.rst:1115
10751074
msgid "Correspondence to tools in the :mod:`os` module"

0 commit comments

Comments
 (0)