77# Fei Yin <[email protected] >, 20188899# Meng Du <[email protected] >, 201910- 1110# Freesand Leo <[email protected] >, 201911+ 1212#
1313#, fuzzy
1414msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717"Report-Msgid-Bugs-To : \n "
1818"POT-Creation-Date : 2019-01-01 10:14+0900\n "
1919"PO-Revision-Date : 2017-02-16 17:45+0000\n "
20- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2019\n "
20+ "Last-Translator : 非法操作 <ultrahe@gmail .com>, 2019\n "
2121"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2222"MIME-Version : 1.0\n "
2323"Content-Type : text/plain; charset=UTF-8\n "
@@ -274,26 +274,28 @@ msgstr ""
274274
275275#: ../../howto/logging-cookbook.rst:407
276276msgid "Sending and receiving logging events across a network"
277- msgstr ""
277+ msgstr "通过网络发送和接收日志 "
278278
279279#: ../../howto/logging-cookbook.rst:409
280280msgid ""
281281"Let's say you want to send logging events across a network, and handle them "
282282"at the receiving end. A simple way of doing this is attaching a "
283283":class:`SocketHandler` instance to the root logger at the sending end::"
284284msgstr ""
285+ "如果你想在网络上发送日志,并在接收端处理它们。一个简单的方式是通过附加一个:class:`SocketHandler` "
286+ "的实例在发送端的根日志处理器中::"
285287
286288#: ../../howto/logging-cookbook.rst:437
287289msgid ""
288290"At the receiving end, you can set up a receiver using the "
289291":mod:`socketserver` module. Here is a basic working example::"
290- msgstr ""
292+ msgstr "在接收端,你可以使用 :mod:`socketserver` 模块设置一个接收器。这里是一个基础示例:: "
291293
292294#: ../../howto/logging-cookbook.rst:525
293295msgid ""
294296"First run the server, and then the client. On the client side, nothing is "
295297"printed on the console; on the server side, you should see something like:"
296- msgstr ""
298+ msgstr "首先运行服务端,然后是客户端。在客户端,没有什么内容会打印在控制台中;在服务端,你应该会看到如下内容: "
297299
298300#: ../../howto/logging-cookbook.rst:537
299301msgid ""
@@ -303,10 +305,11 @@ msgid ""
303305"implementing your alternative there, as well as adapting the above script to"
304306" use your alternative serialization."
305307msgstr ""
308+ "请注意,在某些情况下序列化会存在一些安全。如果这影响到你,那么你可以通过覆盖:meth:`~handlers.SocketHandler.makePickle`方法,使用自己的实现来解决,并调整上述脚本也使用覆盖后的序列化方法。"
306309
307310#: ../../howto/logging-cookbook.rst:547
308311msgid "Adding contextual information to your logging output"
309- msgstr ""
312+ msgstr "在日志记录中添加上下文信息 "
310313
311314#: ../../howto/logging-cookbook.rst:549
312315msgid ""
0 commit comments