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

Skip to content

Commit 80d3ea8

Browse files
[po] auto sync
1 parent bf1a2d6 commit 80d3ea8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

howto/logging-cookbook.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,17 +1425,18 @@ msgid ""
14251425
"even when exception information is present. You can do this with a custom "
14261426
"formatter class, as shown in the following example::"
14271427
msgstr ""
1428+
"有时可能需要设置自定义的异常信息格式——考虑到会用到参数,假定要让每条日志事件只占一行,即便存在异常信息也一样。这可以用自定义格式化类来实现,如下所示:"
14281429

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

14331434
#: ../../howto/logging-cookbook.rst:2214
14341435
msgid ""
14351436
"While the above treatment is simplistic, it points the way to how exception "
14361437
"information can be formatted to your liking. The :mod:`traceback` module may"
14371438
" be helpful for more specialized needs."
1438-
msgstr ""
1439+
msgstr "虽然上述处理方式很简单,但也给出了根据喜好对异常信息进行格式化输出的方案。或许 :mod:`traceback` 模块能满足更专门的需求。"
14391440

14401441
#: ../../howto/logging-cookbook.rst:2221
14411442
msgid "Speaking logging messages"

0 commit comments

Comments
 (0)