Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit50646d0

Browse files
committed
feat: translatelibrary/urllib.error.po
1 parent30f395c commit50646d0

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

‎library/urllib.error.po

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,28 @@
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Liang-Bo Wang <me@liang2.tw>, 2016
7+
# Matt Wang <mattwang44@gmail.com>, 2021
8+
#
69
msgid ""
710
msgstr ""
811
"Project-Id-Version:Python 3.10\n"
912
"Report-Msgid-Bugs-To:\n"
1013
"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"
1316
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1417
"tw)\n"
1518
"Language:zh_TW\n"
1619
"MIME-Version:1.0\n"
1720
"Content-Type:text/plain; charset=UTF-8\n"
1821
"Content-Transfer-Encoding:8bit\n"
1922
"Plural-Forms:nplurals=1; plural=0;\n"
23+
"X-Generator:Poedit 3.1\n"
2024

2125
#:../../library/urllib.error.rst:2
2226
msgid":mod:`urllib.error` --- Exception classes raised by urllib.request"
23-
msgstr""
27+
msgstr":mod:`urllib.error` --- urllib.request 引發的例外類別"
2428

2529
#:../../library/urllib.error.rst:10
2630
msgid"**Source code:** :source:`Lib/urllib/error.py`"
@@ -32,29 +36,34 @@ msgid ""
3236
"raised by :mod:`urllib.request`. The base exception class is :exc:"
3337
"`URLError`."
3438
msgstr""
39+
":mod:`urllib.error` module(模組)為 :mod:`urllib.request` 所引發的例外定義了"
40+
"例外 (exception) 類別。基礎例外類別是 :exc:`URLError`。"
3541

3642
#:../../library/urllib.error.rst:17
3743
msgid""
3844
"The following exceptions are raised by :mod:`urllib.error` as appropriate:"
39-
msgstr""
45+
msgstr"下列例外會被 :mod:`urllib.error` 適時引發:"
4046

4147
#:../../library/urllib.error.rst:21
4248
msgid""
4349
"The handlers raise this exception (or derived exceptions) when they run into "
4450
"a problem. It is a subclass of :exc:`OSError`."
4551
msgstr""
52+
"處理程式 (handler) 在遇到問題時會引發此例外(或其衍生例外)。它是 :exc:"
53+
"`OSError` 的一個子類別。"
4654

4755
#:../../library/urllib.error.rst:26
4856
msgid""
4957
"The reason for this error. It can be a message string or another exception "
5058
"instance."
51-
msgstr""
59+
msgstr"此錯誤的原因。它可以是一個訊息字串或另一個例外實例。"
5260

5361
#:../../library/urllib.error.rst:29
5462
msgid""
5563
":exc:`URLError` has been made a subclass of :exc:`OSError` instead of :exc:"
5664
"`IOError`."
5765
msgstr""
66+
":exc:`URLError` 已被設為 :exc:`OSError` 而不是 :exc:`IOError` 的子類別。"
5867

5968
#:../../library/urllib.error.rst:36
6069
msgid""
@@ -63,23 +72,28 @@ msgid ""
6372
"(the same thing that :func:`~urllib.request.urlopen` returns). This is "
6473
"useful when handling exotic HTTP errors, such as requests for authentication."
6574
msgstr""
75+
"雖然是一個例外(:exc:`URLError` 的一個子類別),:exc:`HTTPError` 也可以作為一"
76+
"個非例外的類檔案回傳值(與 :func:`~urllib.request.urlopen` 所回傳的物件相"
77+
"同)。這適用於處理特殊 HTTP 錯誤,例如為請求認證。"
6678

6779
#:../../library/urllib.error.rst:44
6880
msgid""
6981
"An HTTP status code as defined in :rfc:`2616`. This numeric value "
7082
"corresponds to a value found in the dictionary of codes as found in :attr:"
7183
"`http.server.BaseHTTPRequestHandler.responses`."
7284
msgstr""
85+
"一個 HTTP 狀態碼,具體定義見 :rfc:`2616`。這個數值會對應到存放在 :attr:`http."
86+
"server.BaseHTTPRequestHandler.responses` 程式碼 dictionary 中的某個值。"
7387

7488
#:../../library/urllib.error.rst:50
7589
msgid"This is usually a string explaining the reason for this error."
76-
msgstr""
90+
msgstr"這通常是一個解釋本次錯誤原因的字串。"
7791

7892
#:../../library/urllib.error.rst:54
7993
msgid""
8094
"The HTTP response headers for the HTTP request that caused the :exc:"
8195
"`HTTPError`."
82-
msgstr""
96+
msgstr"導致 :exc:`HTTPError` 的特定 HTTP 請求的 HTTP 回應 header。"
8397

8498
#:../../library/urllib.error.rst:61
8599
msgid""
@@ -88,3 +102,6 @@ msgid ""
88102
"expected amount (given by the *Content-Length* header). The :attr:`content` "
89103
"attribute stores the downloaded (and supposedly truncated) data."
90104
msgstr""
105+
"此例外會在 :func:`~urllib.request.urlretrieve` 函式檢查到已下載的資料量小於期"
106+
"待的資料量(由 *Content-Length* header 給定)時被引發。:attr:`content` 屬性中"
107+
"將存放已下載(可能已被截斷)的資料。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp