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

Skip to content

Commit c03fa0b

Browse files
[po] auto sync
1 parent 3a213a3 commit c03fa0b

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

library/logging.po

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,17 +1017,21 @@ msgid ""
10171017
"via :func:`makeLogRecord` (for example, from a pickled event received over "
10181018
"the wire)."
10191019
msgstr ""
1020+
":class:`LogRecord` 实例是每当有日志被记录时由 :class:`Logger` 自动创建的,并且可通过 "
1021+
":func:`makeLogRecord` 手动创建(例如根据从网络接收的已封存事件创建)。"
10201022

10211023
#: ../../library/logging.rst:695
10221024
msgid "Contains all the information pertinent to the event being logged."
1023-
msgstr ""
1025+
msgstr "包含与被记录的事件相关的所有信息。"
10241026

10251027
#: ../../library/logging.rst:697
10261028
msgid ""
10271029
"The primary information is passed in :attr:`msg` and :attr:`args`, which are"
10281030
" combined using ``msg % args`` to create the :attr:`message` field of the "
10291031
"record."
10301032
msgstr ""
1033+
"主要信息是在 :attr:`msg` 和 :attr:`args` 中传递的,它们使用 ``msg % args`` 组合到一起以创建记录的 "
1034+
":attr:`message` 字段。"
10311035

10321036
#: ../../library/logging.rst:0 ../../library/logging.rst:0
10331037
msgid "Parameters"
@@ -1039,13 +1043,17 @@ msgid ""
10391043
"Note that this name will always have this value, even though it may be "
10401044
"emitted by a handler attached to a different (ancestor) logger."
10411045
msgstr ""
1046+
"用于记录由此 LogRecord 所表示 的事件的日志记录器名称。 "
1047+
"请注意此名称将始终为该值,即使它可以是由附加到不同(祖先)日志记录器的处理程序所发出的。"
10421048

10431049
#: ../../library/logging.rst:705
10441050
msgid ""
10451051
"The numeric level of the logging event (one of DEBUG, INFO etc.) Note that "
10461052
"this is converted to *two* attributes of the LogRecord: ``levelno`` for the "
10471053
"numeric value and ``levelname`` for the corresponding level name."
10481054
msgstr ""
1055+
"以数字表示的日志记录事件层级(如 DEBUG, INFO 等)。 请注意这会转换为 LogRecord 的 *两个* 属性: ``levelno`` "
1056+
"为数字值而 ``levelname`` 为对应的层级名称。"
10491057

10501058
#: ../../library/logging.rst:709
10511059
msgid "The full pathname of the source file where the logging call was made."
@@ -1059,30 +1067,30 @@ msgstr "记录调用所在源文件中的行号。"
10591067
msgid ""
10601068
"The event description message, possibly a format string with placeholders "
10611069
"for variable data."
1062-
msgstr ""
1070+
msgstr "事件描述消息,可能为带有可变数据占位符的格式字符串。"
10631071

10641072
#: ../../library/logging.rst:715
10651073
msgid ""
10661074
"Variable data to merge into the *msg* argument to obtain the event "
10671075
"description."
1068-
msgstr ""
1076+
msgstr "要合并到 *msg* 参数以获得事件描述的可变数据。"
10691077

10701078
#: ../../library/logging.rst:717
10711079
msgid ""
10721080
"An exception tuple with the current exception information, or ``None`` if no"
10731081
" exception information is available."
1074-
msgstr ""
1082+
msgstr "包含当前异常信息的异常元组,或者如果没有可用异常信息则为 ``None``。"
10751083

10761084
#: ../../library/logging.rst:719
10771085
msgid ""
10781086
"The name of the function or method from which the logging call was invoked."
1079-
msgstr ""
1087+
msgstr "发起调用日志记录调用的函数或方法名称。"
10801088

10811089
#: ../../library/logging.rst:721
10821090
msgid ""
10831091
"A text string representing stack information from the base of the stack in "
10841092
"the current thread, up to the logging call."
1085-
msgstr ""
1093+
msgstr "一个文本字符串,表示当前线程中从堆栈底部直到日志记录调用的堆栈信息。"
10861094

10871095
#: ../../library/logging.rst:726
10881096
msgid ""

tutorial/stdlib.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ msgid ""
4444
"function which operates much differently."
4545
msgstr ""
4646
"一定要使用 ``import os`` 而不是 ``from os import *`` 。这将避免内建的 :func:`open` 函数被 "
47-
":func:`os.open` 隐式替换掉,它们的使用方式大不相同。"
47+
":func:`os.open` 隐式替换掉,因为它们的使用方式大不相同。"
4848

4949
#: ../../tutorial/stdlib.rst:29
5050
msgid ""

0 commit comments

Comments
 (0)