Skip to content

Commit b2b9757

Browse files
entwanneJulienPalard
authored andcommitted
Complete library/urllib.error.po
1 parent 3037fef commit b2b9757

File tree

1 file changed

+33
-4
lines changed

1 file changed

+33
-4
lines changed

library/urllib.error.po

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,57 +3,69 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#, fuzzy
76
msgid ""
87
msgstr ""
98
"Project-Id-Version: Python 3.6\n"
109
"Report-Msgid-Bugs-To: \n"
1110
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11+
"PO-Revision-Date: 2017-10-19 17:10+0100\n"
12+
"Last-Translator: \n"
1413
"Language-Team: LANGUAGE <LL@li.org>\n"
1514
"Language: fr\n"
1615
"MIME-Version: 1.0\n"
1716
"Content-Type: text/plain; charset=UTF-8\n"
1817
"Content-Transfer-Encoding: 8bit\n"
18+
"X-Generator: Poedit 1.6.10\n"
1919

2020
#: ../Doc/library/urllib.error.rst:2
2121
msgid ":mod:`urllib.error` --- Exception classes raised by urllib.request"
2222
msgstr ""
23+
":mod:`urllib.error` --- Classes d'exceptions levées par *urllib.request*"
2324

2425
#: ../Doc/library/urllib.error.rst:10
2526
msgid "**Source code:** :source:`Lib/urllib/error.py`"
26-
msgstr ""
27+
msgstr "**Code source :** :source:`Lib/urllib/error.py`"
2728

2829
#: ../Doc/library/urllib.error.rst:14
2930
msgid ""
3031
"The :mod:`urllib.error` module defines the exception classes for exceptions "
3132
"raised by :mod:`urllib.request`. The base exception class is :exc:"
3233
"`URLError`."
3334
msgstr ""
35+
"Le module :mod:`urllib.error` définit les classes des exceptions levées par :"
36+
"mod:`urllib.request`. La classe de base de ces exceptions est :exc:"
37+
"`URLError`."
3438

3539
#: ../Doc/library/urllib.error.rst:17
3640
msgid ""
3741
"The following exceptions are raised by :mod:`urllib.error` as appropriate:"
3842
msgstr ""
43+
"Les exceptions suivantes sont levées par :mod:`urllib.error` aux cas "
44+
"appropriés :"
3945

4046
#: ../Doc/library/urllib.error.rst:21
4147
msgid ""
4248
"The handlers raise this exception (or derived exceptions) when they run into "
4349
"a problem. It is a subclass of :exc:`OSError`."
4450
msgstr ""
51+
"Les gestionnaires lèvent cette exception (ou des exceptions dérivées) quand "
52+
"ils rencontrent un problème. Elle est une sous-classe de :exc:`OSError`."
4553

4654
#: ../Doc/library/urllib.error.rst:26
4755
msgid ""
4856
"The reason for this error. It can be a message string or another exception "
4957
"instance."
5058
msgstr ""
59+
"La raison de cette erreur. Il peut s'agir d'un message textuel ou d'une "
60+
"autre instance d'exception."
5161

5262
#: ../Doc/library/urllib.error.rst:29
5363
msgid ""
5464
":exc:`URLError` has been made a subclass of :exc:`OSError` instead of :exc:"
5565
"`IOError`."
5666
msgstr ""
67+
":exc:`URLError` est maintenant une sous-classe de :exc:`OSError` plutôt que :"
68+
"exc:`IOError`."
5769

5870
#: ../Doc/library/urllib.error.rst:36
5971
msgid ""
@@ -62,6 +74,11 @@ msgid ""
6274
"(the same thing that :func:`~urllib.request.urlopen` returns). This is "
6375
"useful when handling exotic HTTP errors, such as requests for authentication."
6476
msgstr ""
77+
"Bien qu'étant une exception (une sous-classe de :exc:`URLError`), une :exc:"
78+
"`HTTPError` peut aussi fonctionner comme une valeur de retour normale et "
79+
"fichier-compatible (la même chose que renvoyé par :func:`~urllib.request."
80+
"urlopen`). Cela est utile pour gérer les erreurs HTTP exotiques, comme les "
81+
"requêtes d'authentification."
6582

6683
#: ../Doc/library/urllib.error.rst:44
6784
msgid ""
@@ -70,16 +87,24 @@ msgid ""
7087
"dictionary of codes as found in :attr:`http.server.BaseHTTPRequestHandler."
7188
"responses`."
7289
msgstr ""
90+
"Un statut HTTP comme défini dans la `RFC 2616 <http://www.faqs.org/rfcs/"
91+
"rfc2616.html>`_. Cette valeur numérique correspond à une valeur trouvée "
92+
"dans le dictionnaire des codes comme dans :attr:`http.server."
93+
"BaseHTTPRequestHandler.responses`."
7394

7495
#: ../Doc/library/urllib.error.rst:51
7596
msgid "This is usually a string explaining the reason for this error."
7697
msgstr ""
98+
"Il s'agit habituellement d'une chaîne de caractères expliquant la raison de "
99+
"l'erreur."
77100

78101
#: ../Doc/library/urllib.error.rst:55
79102
msgid ""
80103
"The HTTP response headers for the HTTP request that caused the :exc:"
81104
"`HTTPError`."
82105
msgstr ""
106+
"Les en-têtes de la réponse HTTP correspondant à la requête HTTP qui a causé "
107+
"la :exc:`HTTPError`."
83108

84109
#: ../Doc/library/urllib.error.rst:62
85110
msgid ""
@@ -88,3 +113,7 @@ msgid ""
88113
"expected amount (given by the *Content-Length* header). The :attr:`content` "
89114
"attribute stores the downloaded (and supposedly truncated) data."
90115
msgstr ""
116+
"Cette exception est levée quand la fonction :func:`~urllib.request."
117+
"urlretrieve` détecte que le montant des données téléchargées est inférieur "
118+
"au montant attendu (donné par l'en-tête *Content-Length*). L'attribut :attr:"
119+
"`content` stocke les données téléchargées (et supposément tronquées)."

0 commit comments

Comments
 (0)