3
3
# This file is distributed under the same license as the Python package.
4
4
#
5
5
# Translators:
6
+ # Liang-Bo Wang <me@liang2.tw>, 2016
7
+ # Matt Wang <mattwang44@gmail.com>, 2021
8
+ #
6
9
msgid ""
7
10
msgstr ""
8
11
"Project-Id-Version : Python 3.10\n "
9
12
"Report-Msgid-Bugs-To : \n "
10
13
"POT-Creation-Date : 2018-06-26 18:54+0800\n "
11
- "PO-Revision-Date : 2016-11-19 00:35+0000 \n "
12
- "Last-Translator : Liang-Bo Wang <me@liang2.tw >\n "
14
+ "PO-Revision-Date : 2022-06-11 15:34+0800 \n "
15
+ "Last-Translator : Matt Wang <mattwang44@gmail.com >\n "
13
16
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
17
"tw)\n "
15
18
"Language : zh_TW\n "
16
19
"MIME-Version : 1.0\n "
17
20
"Content-Type : text/plain; charset=UTF-8\n "
18
21
"Content-Transfer-Encoding : 8bit\n "
19
22
"Plural-Forms : nplurals=1; plural=0;\n "
23
+ "X-Generator : Poedit 3.1\n "
20
24
21
25
#: ../../library/urllib.error.rst:2
22
26
msgid ":mod:`urllib.error` --- Exception classes raised by urllib.request"
23
- msgstr ""
27
+ msgstr ":mod:`urllib.error` --- urllib.request 引發的例外類別 "
24
28
25
29
#: ../../library/urllib.error.rst:10
26
30
msgid "**Source code:** :source:`Lib/urllib/error.py`"
@@ -32,29 +36,34 @@ msgid ""
32
36
"raised by :mod:`urllib.request`. The base exception class is :exc:"
33
37
"`URLError`."
34
38
msgstr ""
39
+ ":mod:`urllib.error` module(模組)為 :mod:`urllib.request` 所引發的例外定義了"
40
+ "例外 (exception) 類別。基礎例外類別是 :exc:`URLError`。"
35
41
36
42
#: ../../library/urllib.error.rst:17
37
43
msgid ""
38
44
"The following exceptions are raised by :mod:`urllib.error` as appropriate:"
39
- msgstr ""
45
+ msgstr "下列例外會被 :mod:`urllib.error` 適時引發: "
40
46
41
47
#: ../../library/urllib.error.rst:21
42
48
msgid ""
43
49
"The handlers raise this exception (or derived exceptions) when they run into "
44
50
"a problem. It is a subclass of :exc:`OSError`."
45
51
msgstr ""
52
+ "處理程式 (handler) 在遇到問題時會引發此例外(或其衍生例外)。它是 :exc:"
53
+ "`OSError` 的一個子類別。"
46
54
47
55
#: ../../library/urllib.error.rst:26
48
56
msgid ""
49
57
"The reason for this error. It can be a message string or another exception "
50
58
"instance."
51
- msgstr ""
59
+ msgstr "此錯誤的原因。它可以是一個訊息字串或另一個例外實例。 "
52
60
53
61
#: ../../library/urllib.error.rst:29
54
62
msgid ""
55
63
":exc:`URLError` has been made a subclass of :exc:`OSError` instead of :exc:"
56
64
"`IOError`."
57
65
msgstr ""
66
+ ":exc:`URLError` 已被設為 :exc:`OSError` 而不是 :exc:`IOError` 的子類別。"
58
67
59
68
#: ../../library/urllib.error.rst:36
60
69
msgid ""
@@ -63,23 +72,28 @@ msgid ""
63
72
"(the same thing that :func:`~urllib.request.urlopen` returns). This is "
64
73
"useful when handling exotic HTTP errors, such as requests for authentication."
65
74
msgstr ""
75
+ "雖然是一個例外(:exc:`URLError` 的一個子類別),:exc:`HTTPError` 也可以作為一"
76
+ "個非例外的類檔案回傳值(與 :func:`~urllib.request.urlopen` 所回傳的物件相"
77
+ "同)。這適用於處理特殊 HTTP 錯誤,例如為請求認證。"
66
78
67
79
#: ../../library/urllib.error.rst:44
68
80
msgid ""
69
81
"An HTTP status code as defined in :rfc:`2616`. This numeric value "
70
82
"corresponds to a value found in the dictionary of codes as found in :attr:"
71
83
"`http.server.BaseHTTPRequestHandler.responses`."
72
84
msgstr ""
85
+ "一個 HTTP 狀態碼,具體定義見 :rfc:`2616`。這個數值會對應到存放在 :attr:`http."
86
+ "server.BaseHTTPRequestHandler.responses` 程式碼 dictionary 中的某個值。"
73
87
74
88
#: ../../library/urllib.error.rst:50
75
89
msgid "This is usually a string explaining the reason for this error."
76
- msgstr ""
90
+ msgstr "這通常是一個解釋本次錯誤原因的字串。 "
77
91
78
92
#: ../../library/urllib.error.rst:54
79
93
msgid ""
80
94
"The HTTP response headers for the HTTP request that caused the :exc:"
81
95
"`HTTPError`."
82
- msgstr ""
96
+ msgstr "導致 :exc:`HTTPError` 的特定 HTTP 請求的 HTTP 回應 header。 "
83
97
84
98
#: ../../library/urllib.error.rst:61
85
99
msgid ""
@@ -88,3 +102,6 @@ msgid ""
88
102
"expected amount (given by the *Content-Length* header). The :attr:`content` "
89
103
"attribute stores the downloaded (and supposedly truncated) data."
90
104
msgstr ""
105
+ "此例外會在 :func:`~urllib.request.urlretrieve` 函式檢查到已下載的資料量小於期"
106
+ "待的資料量(由 *Content-Length* header 給定)時被引發。:attr:`content` 屬性中"
107
+ "將存放已下載(可能已被截斷)的資料。"
0 commit comments