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

Skip to content

Commit 54bcc07

Browse files
committed
[po] auto sync bot
1 parent 0f3012a commit 54bcc07

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

library/http.client.po

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,27 +146,30 @@ msgid ""
146146
":func:`ssl.create_default_context` select the system's trusted CA "
147147
"certificates for you."
148148
msgstr ""
149-
"*key_file*和*cert_file*被上下文弃用。请使用`ssl.SSLContext.load_cert_chain`方法代替,或者让`ssl.create_default_context`方法为你选择系统可信的证书。"
150-
" "
149+
"*key_file* 和 *cert_file* 已弃用并转而推荐 *context*。 请改用 "
150+
":meth:`ssl.SSLContext.load_cert_chain` 或让 :func:`ssl.create_default_context`"
151+
" 为你选择系统所信任的 CA 证书。"
151152

152153
#: ../../library/http.client.rst:104
153154
msgid ""
154155
"The *check_hostname* parameter is also deprecated; the "
155156
":attr:`ssl.SSLContext.check_hostname` attribute of *context* should be used "
156157
"instead."
157-
msgstr "*check_hostname* 参数也被弃用,应该使用上下文属性`ssl.SSLContext.check_hostname`去代替。"
158+
msgstr ""
159+
"*check_hostname* 参数也已弃用;应当改用 *context* 的 "
160+
":attr:`ssl.SSLContext.check_hostname` 属性。"
158161

159162
#: ../../library/http.client.rst:111
160163
msgid ""
161164
"Class whose instances are returned upon successful connection. Not "
162165
"instantiated directly by user."
163-
msgstr "在成功连接后返回实例,而不是通过用户实例化。"
166+
msgstr "在成功连接后返回类的实例,而不是由用户直接实例化。"
164167

165168
#: ../../library/http.client.rst:114
166169
msgid ""
167170
"The *strict* parameter was removed. HTTP 0.9 style \"Simple Responses\" are "
168171
"no longer supported."
169-
msgstr "删除了 *strict*参数,不再支持HTTP 0.9-风格的“简单响应”。"
172+
msgstr "删除了 *strict* 参数,不再支持HTTP 0.9 风格的“简单响应”。"
170173

171174
#: ../../library/http.client.rst:119
172175
msgid "The following exceptions are raised as appropriate:"

0 commit comments

Comments
 (0)