1313# ppcfish <[email protected] >, 20191414# WH-2099 <[email protected] >, 20201515# Leo Li <[email protected] >, 202016- # Freesand Leo <[email protected] >, 2020 16+ # Freesand Leo <[email protected] >, 2021 1717#
1818#, fuzzy
1919msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222"Report-Msgid-Bugs-To : \n "
2323"POT-Creation-Date : 2021-03-13 05:42+0000\n "
2424"PO-Revision-Date : 2017-02-16 23:17+0000\n "
25- "
Last-Translator :
Freesand Leo <[email protected] >, 2020 \n "
25+ "
Last-Translator :
Freesand Leo <[email protected] >, 2021 \n "
2626"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2727"MIME-Version : 1.0\n "
2828"Content-Type : text/plain; charset=UTF-8\n "
@@ -1781,7 +1781,7 @@ msgstr "如果你考虑要定义你自己的级别,请参阅 :ref:`custom-leve
17811781#: ../../library/logging.rst:1109
17821782msgid ""
17831783"Returns the textual or numeric representation of logging level *level*."
1784- msgstr ""
1784+ msgstr "返回日志记录级别 *level* 的字符串表示。 "
17851785
17861786#: ../../library/logging.rst:1111
17871787msgid ""
@@ -1792,19 +1792,22 @@ msgid ""
17921792"returned. If a numeric value corresponding to one of the defined levels is "
17931793"passed in, the corresponding string representation is returned."
17941794msgstr ""
1795+ "如果 *level* 为预定义的级别 :const:`CRITICAL`, :const:`ERROR`, :const:`WARNING`, "
1796+ ":const:`INFO` 或 :const:`DEBUG` 之一则你会得到相应的字符串。 如果你使用 :func:`addLevelName` "
1797+ "将级别关联到名称则返回你为 *level* 所关联的名称。 如果传入了与已定义级别相对应的数字值,则返回对应的字符串表示。"
17951798
17961799#: ../../library/logging.rst:1118
17971800msgid ""
17981801"The *level* parameter also accepts a string representation of the level such"
17991802" as 'INFO'. In such cases, this functions returns the corresponding numeric "
18001803"value of the level."
1801- msgstr ""
1804+ msgstr "*level* 形参也接受级别的字符串表示例如 'INFO'。 在这种情况下,此函数将返回级别所对应的数字值。 "
18021805
18031806#: ../../library/logging.rst:1122
18041807msgid ""
18051808"If no matching numeric or string value is passed in, the string 'Level %s' %"
18061809" level is returned."
1807- msgstr ""
1810+ msgstr "如果未传入可匹配的数字或字符串值,则返回字符串 'Level %s' % level。 "
18081811
18091812#: ../../library/logging.rst:1125
18101813msgid ""
@@ -1814,6 +1817,8 @@ msgid ""
18141817"``%(levelname)s`` format specifier (see :ref:`logrecord-attributes`), and "
18151818"vice versa."
18161819msgstr ""
1820+ "级别在内部以整数表示(因为它们在日志记录逻辑中需要进行比较)。 此函数被用于在整数级别与通过 ``%(levelname)s`` "
1821+ "格式描述符方式在格式化日志输出中显示的级别名称之间进行相互的转换 (参见 :ref:`logrecord-attributes`)。"
18171822
18181823#: ../../library/logging.rst:1131
18191824msgid ""
0 commit comments