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

Skip to content

Commit 5b3f22c

Browse files
[po] auto sync
1 parent d81a542 commit 5b3f22c

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

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

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

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

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

0 commit comments

Comments
 (0)