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

Skip to content

Commit f063821

Browse files
[po] auto sync
1 parent 124c9a5 commit f063821

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
@@ -244,23 +244,28 @@ msgid ""
244244
"*message* key in an error response, and *longmessage* as the *explain* key."
245245
" It is used by :meth:`send_response_only` and :meth:`send_error` methods."
246246
msgstr ""
247+
"该属性包含一个整数错误代码与由短消息和长消息组成的二元组的映射。 例如,``{code: (shortmessage, longmessage)}``。"
248+
" *shortmessage* 通常是作为消息响应中的 *message* 键,而 *longmessage* 则是作为 *explain* 键。 "
249+
"该属性会被 :meth:`send_response_only` 和 :meth:`send_error` 方法所使用。"
247250

248251
#: ../../library/http.server.rst:177
249252
msgid "A :class:`BaseHTTPRequestHandler` instance has the following methods:"
250-
msgstr ""
253+
msgstr ":class:`BaseHTTPRequestHandler` 实例具有下列方法:"
251254

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

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

265270
#: ../../library/http.server.rst:193
266271
msgid ""

0 commit comments

Comments
 (0)