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

Skip to content

Commit 9f1a5e5

Browse files
[po] auto sync
1 parent 7bc4352 commit 9f1a5e5

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

howto/logging-cookbook.po

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# 浩听 王 <[email protected]>, 2019
1111
# Shengjing Zhu <[email protected]>, 2019
1212
# Meng Du <[email protected]>, 2020
13-
# Dai Xu <[email protected]>, 2021
1413
# Freesand Leo <[email protected]>, 2021
14+
# Dai Xu <[email protected]>, 2021
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2021-07-26 07:02+0000\n"
2222
"PO-Revision-Date: 2017-02-16 17:45+0000\n"
23-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
23+
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1411,10 +1411,12 @@ msgid ""
14111411
"configuration, and see the other cookbook recipe :ref:`custom-handlers` "
14121412
"above."
14131413
msgstr ""
1414+
"与过滤器一样,上述技术还可用于配置自定义 handler 和格式化对象。有关如何在日志配置中使用用户自定义对象的更多信息,请参阅 :ref"
1415+
":`logging-config-dict-userdef`,以及上述 :ref:`custom-handlers` 的其他指南。 "
14141416

14151417
#: ../../howto/logging-cookbook.rst:2164
14161418
msgid "Customized exception formatting"
1417-
msgstr ""
1419+
msgstr "异常信息的自定义格式化"
14181420

14191421
#: ../../howto/logging-cookbook.rst:2166
14201422
msgid ""
@@ -1423,10 +1425,11 @@ msgid ""
14231425
"even when exception information is present. You can do this with a custom "
14241426
"formatter class, as shown in the following example::"
14251427
msgstr ""
1428+
"有时可能需要设置自定义的异常信息格式——考虑到会用到参数,假定要让每条日志事件只占一行,即便存在异常信息也一样。这可以用自定义格式化类来实现,如下所示:"
14261429

14271430
#: ../../howto/logging-cookbook.rst:2207
14281431
msgid "When run, this produces a file with exactly two lines:"
1429-
msgstr ""
1432+
msgstr "运行后将会生成只有两行信息的文件:"
14301433

14311434
#: ../../howto/logging-cookbook.rst:2214
14321435
msgid ""

0 commit comments

Comments
 (0)