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

Skip to content

Commit 5a39c19

Browse files
[po] auto sync
1 parent b508044 commit 5a39c19

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

library/email.header.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ msgid ""
9999
":mailheader:`Subject` field was properly :rfc:`2047` encoded. MIME-aware "
100100
"mail readers would show this header using the embedded ISO-8859-1 character."
101101
msgstr ""
102+
"是否注意到这里我们是如何希望 :mailheader:`Subject` 字段包含非 ASCII 字符的? 我们通过创建一个 "
103+
":class:`Header` 实例并传入字节串编码所用的字符集来做到这一点。 当后续的 :class:`~email.message.Message`"
104+
" 实例被展平时,:mailheader:`Subject` 字段会正确地按 :rfc:`2047` 来编码。 可感知 MIME "
105+
"的电子邮件阅读器将会使用嵌入的 ISO-8859-1 字符来显示此标头。"
102106

103107
#: ../../library/email.header.rst:57
104108
msgid "Here is the :class:`Header` class description:"

library/logging.po

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# ppcfish <[email protected]>, 2019
1414
# WH-2099 <[email protected]>, 2020
1515
# Leo Li <[email protected]>, 2020
16-
# Freesand Leo <[email protected]>, 2020
16+
# Freesand Leo <[email protected]>, 2021
1717
#
1818
#, fuzzy
1919
msgid ""
@@ -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
17821782
msgid ""
17831783
"Returns the textual or numeric representation of logging level *level*."
1784-
msgstr ""
1784+
msgstr "返回日志记录级别 *level* 的字符串表示。"
17851785

17861786
#: ../../library/logging.rst:1111
17871787
msgid ""
@@ -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."
17941794
msgstr ""
1795+
"如果 *level* 为预定义的级别 :const:`CRITICAL`, :const:`ERROR`, :const:`WARNING`, "
1796+
":const:`INFO` 或 :const:`DEBUG` 之一则你会得到相应的字符串。 如果你使用 :func:`addLevelName` "
1797+
"将级别关联到名称则返回你为 *level* 所关联的名称。 如果传入了与已定义级别相对应的数字值,则返回对应的字符串表示。"
17951798

17961799
#: ../../library/logging.rst:1118
17971800
msgid ""
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
18041807
msgid ""
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
18101813
msgid ""
@@ -1814,6 +1817,8 @@ msgid ""
18141817
"``%(levelname)s`` format specifier (see :ref:`logrecord-attributes`), and "
18151818
"vice versa."
18161819
msgstr ""
1820+
"级别在内部以整数表示(因为它们在日志记录逻辑中需要进行比较)。 此函数被用于在整数级别与通过 ``%(levelname)s`` "
1821+
"格式描述符方式在格式化日志输出中显示的级别名称之间进行相互的转换 (参见 :ref:`logrecord-attributes`)。"
18171822

18181823
#: ../../library/logging.rst:1131
18191824
msgid ""

0 commit comments

Comments
 (0)