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

Skip to content

Commit 4f6040b

Browse files
[po] auto sync
1 parent 55f5998 commit 4f6040b

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

library/urllib.request.po

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# nick <[email protected]>, 2019
99
# ppcfish <[email protected]>, 2019
1010
# 汪心禾 <[email protected]>, 2020
11+
# Dai Xu <[email protected]>, 2021
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2021-01-01 16:02+0000\n"
1819
"PO-Revision-Date: 2019-09-01 03:31+0000\n"
19-
"Last-Translator: 汪心禾 <wangxinhe06@gmail.com>, 2020\n"
20+
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
2021
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -63,6 +64,8 @@ msgid ""
6364
"server, or ``None`` if no such data is needed. See :class:`Request` for "
6465
"details."
6566
msgstr ""
67+
"*data* 必须是一个对象,用于给出要发送到服务器的附加数据,若不需要发送数据则为 ``None``。详情请参阅 :class:`Request` 。"
68+
" "
6669

6770
#: ../../library/urllib.request.rst:37
6871
msgid ""
@@ -77,13 +80,17 @@ msgid ""
7780
"default timeout setting will be used). This actually only works for HTTP, "
7881
"HTTPS and FTP connections."
7982
msgstr ""
83+
"*timeout* 为可选参数,用于指定阻塞操作(如连接尝试)的超时时间,单位为秒。如未指定,将使用全局默认超时参数)。本参数实际仅对 "
84+
"HTTP、HTTPS 和 FTP 连接有效。"
8085

8186
#: ../../library/urllib.request.rst:45
8287
msgid ""
8388
"If *context* is specified, it must be a :class:`ssl.SSLContext` instance "
8489
"describing the various SSL options. See "
8590
":class:`~http.client.HTTPSConnection` for more details."
8691
msgstr ""
92+
"如果给定了 *context* 参数,则必须是一个 :class:`ssl.SSLContext` 实例,用于描述各种 SSL 参数。更多详情请参阅 "
93+
":class:`~http.client.HTTPSConnection` 。 "
8794

8895
#: ../../library/urllib.request.rst:49
8996
msgid ""
@@ -93,10 +100,13 @@ msgid ""
93100
"directory of hashed certificate files. More information can be found in "
94101
":meth:`ssl.SSLContext.load_verify_locations`."
95102
msgstr ""
103+
"*cafile* 和 *capath* 为可选参数,用于为 HTTPS 请求指定一组受信 CA 证书。*cafile* 应指向包含CA 证书的单个文件,"
104+
" *capath* 则应指向哈希证书文件的目录。更多信息可参阅 :meth:`ssl.SSLContext.load_verify_locations`"
105+
" 。 "
96106

97107
#: ../../library/urllib.request.rst:55
98108
msgid "The *cadefault* parameter is ignored."
99-
msgstr ""
109+
msgstr "*cadefault* 将被忽略。"
100110

101111
#: ../../library/urllib.request.rst:57
102112
msgid ""
@@ -133,6 +143,9 @@ msgid ""
133143
"phrase returned by server --- instead of the response headers as it is "
134144
"specified in the documentation for :class:`~http.client.HTTPResponse`."
135145
msgstr ""
146+
"对于 HTTP 和 HTTPS 的 URL 而言,本函数将返回一个稍经修改的 :class:`http.client.HTTPResponse` "
147+
"对象。除了上述 3 个新的方法之外,还有 msg 属性包含了与 :attr:`~http.client.HTTPResponse.reason` "
148+
"属性相同的信息---服务器返回的原因描述文字,而不是 :class:`~http.client.HTTPResponse` 的文档所述的响应头部信息。"
136149

137150
#: ../../library/urllib.request.rst:77
138151
msgid ""

0 commit comments

Comments
 (0)