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

Skip to content

Commit 707bcc6

Browse files
[po] auto sync
1 parent 1c72d2a commit 707bcc6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

library/http.server.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,23 +248,28 @@ msgid ""
248248
"*message* key in an error response, and *longmessage* as the *explain* key."
249249
" It is used by :meth:`send_response_only` and :meth:`send_error` methods."
250250
msgstr ""
251+
"该属性包含一个整数错误代码与由短消息和长消息组成的二元组的映射。 例如,``{code: (shortmessage, longmessage)}``。"
252+
" *shortmessage* 通常是作为消息响应中的 *message* 键,而 *longmessage* 则是作为 *explain* 键。 "
253+
"该属性会被 :meth:`send_response_only` 和 :meth:`send_error` 方法所使用。"
251254

252255
#: ../../library/http.server.rst:180
253256
msgid "A :class:`BaseHTTPRequestHandler` instance has the following methods:"
254-
msgstr ""
257+
msgstr ":class:`BaseHTTPRequestHandler` 实例具有下列方法:"
255258

256259
#: ../../library/http.server.rst:184
257260
msgid ""
258261
"Calls :meth:`handle_one_request` once (or, if persistent connections are "
259262
"enabled, multiple times) to handle incoming HTTP requests. You should never "
260263
"need to override it; instead, implement appropriate :meth:`do_\\*` methods."
261264
msgstr ""
265+
"调用 :meth:`handle_one_request` 一次(或者如果启用了永久连接则为多次)来处理传入的 HTTP 请求。 "
266+
"你应该完全不需要重载它;而是要实现适当的 :meth:`do_\\*` 方法。"
262267

263268
#: ../../library/http.server.rst:191
264269
msgid ""
265270
"This method will parse and dispatch the request to the appropriate "
266271
":meth:`do_\\*` method. You should never need to override it."
267-
msgstr ""
272+
msgstr "此方法将解析并将请求分配给适当的 :meth:`do_\\*` 方法。 你应该完全不需要重载它。"
268273

269274
#: ../../library/http.server.rst:196
270275
msgid ""

0 commit comments

Comments
 (0)