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

Skip to content

Commit 161a1ee

Browse files
[po] auto sync
1 parent c3662e5 commit 161a1ee

6 files changed

Lines changed: 26 additions & 7 deletions

File tree

library/typing.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Meng Du <[email protected]>, 2020
1010
# MuSheng Chen <[email protected]>, 2020
1111
# Siyuan Xu <[email protected]>, 2020
12-
# Freesand Leo <[email protected]>, 2021
1312
# jaystone776 <[email protected]>, 2021
13+
# Freesand Leo <[email protected]>, 2021
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2021-05-05 06:14+0000\n"
2121
"PO-Revision-Date: 2017-02-16 23:32+0000\n"
22-
"Last-Translator: jaystone776 <1732865113@qq.com>, 2021\n"
22+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -685,6 +685,8 @@ msgid ""
685685
"now raise a :exc:`TypeError` exception during equality comparisons if one of"
686686
" their parameters are not :term:`hashable`."
687687
msgstr ""
688+
"``Literal`` 现在能去除形参的重复。 ``Literal`` 对象的相等性比较不再依赖顺序。 现在如果有某个参数不为 "
689+
":term:`hashable`,``Literal`` 对象在相等性比较期间将引发 :exc:`TypeError`。"
688690

689691
#: ../../library/typing.rst:666
690692
msgid "Special type construct to mark class variables."

library/xml.dom.minidom.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Jerry Chen <[email protected]>, 2017
8+
# Freesand Leo <[email protected]>, 2021
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1516
"PO-Revision-Date: 2017-02-16 23:36+0000\n"
16-
"Last-Translator: Jerry Chen <jerrychen9657@gmail.com>, 2017\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
1718
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -128,7 +129,7 @@ msgstr ""
128129
msgid ""
129130
"`Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR"
130131
"/REC-DOM-Level-1/>`_"
131-
msgstr ""
132+
msgstr "`文档对象模型 (DOM) 第 1 层级规格说明 <https://www.w3.org/TR/REC-DOM-Level-1/>`_"
132133

133134
#: ../../library/xml.dom.minidom.rst:105
134135
msgid ""

library/xml.dom.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ msgid ""
114114
"`Document Object Model (DOM) Level 2 Specification "
115115
"<https://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/>`_"
116116
msgstr ""
117+
"`文档对象模型 (DOM) 第 2 层级规格说明 <https://www.w3.org/TR/2000/REC-DOM-"
118+
"Level-2-Core-20001113/>`_"
117119

118120
#: ../../library/xml.dom.rst:71
119121
msgid "The W3C recommendation upon which the Python DOM API is based."
@@ -123,7 +125,7 @@ msgstr ""
123125
msgid ""
124126
"`Document Object Model (DOM) Level 1 Specification <https://www.w3.org/TR"
125127
"/REC-DOM-Level-1/>`_"
126-
msgstr ""
128+
msgstr "`文档对象模型 (DOM) 第 1 层级规格说明 <https://www.w3.org/TR/REC-DOM-Level-1/>`_"
127129

128130
#: ../../library/xml.dom.rst:74
129131
msgid ""

library/xml.etree.elementtree.po

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,10 @@ msgid ""
969969
"\"text\", this is a Unicode string. If the loader fails, it can return None"
970970
" or raise an exception."
971971
msgstr ""
972+
"默认的加载器。 这个默认的加载器会从磁盘读取所包括的资源。 *href* 是一个 URL。 *parse* 是 \"xml\"\"text\" "
973+
"表示解析模式。 *encoding* 是可选的文本编码格式。 如果未给出,则编码格式为 ``utf-8``。 返回已扩展的资源。 如果解析模式为 "
974+
"``\"xml\"``,则它是一个 ElementTree 实例。 如果解析模式为 \"text\",则它是一个 Unicode 字符串。 "
975+
"如果加载器失败,它可以返回 None 或者引发异常。"
972976

973977
#: ../../library/xml.etree.elementtree.rst:830
974978
msgid ""
@@ -981,17 +985,23 @@ msgid ""
981985
"malicious content explosion. Pass a negative value to disable the "
982986
"limitation."
983987
msgstr ""
988+
"这个函数会扩展 XInclude 指令。 *elem* 是根元素。 *loader* 是可选的资源加载器。 如果省略,则它默认为 "
989+
":func:`default_loader`。 如果给出,则它应当是一个实现了与 :func:`default_loader` 相同的接口的可调用对象。"
990+
" *base_url* 是原文件的基准 URL,用于求解相对的包括文件引用。 *max_depth* 是递归包括的最大数量。 "
991+
"此限制是为了降低恶意内容爆破的风险。 传入一个负值可禁用此限制。"
984992

985993
#: ../../library/xml.etree.elementtree.rst:838
986994
msgid ""
987995
"Returns the expanded resource. If the parse mode is ``\"xml\"``, this is an"
988996
" ElementTree instance. If the parse mode is \"text\", this is a Unicode "
989997
"string. If the loader fails, it can return None or raise an exception."
990998
msgstr ""
999+
"返回已扩展的资源。 如果解析模式为 ``\"xml\"``,则它是一个 ElementTree 实例。 如果解析模式为 \"text\",则它是一个 "
1000+
"Unicode 字符串。 如果加载器失败,它可以返回 None 或者引发异常。"
9911001

9921002
#: ../../library/xml.etree.elementtree.rst:843
9931003
msgid "The *base_url* and *max_depth* parameters."
994-
msgstr ""
1004+
msgstr "*base_url* 和 *max_depth* 形参。"
9951005

9961006
#: ../../library/xml.etree.elementtree.rst:850
9971007
msgid "Element Objects"
@@ -1001,7 +1011,7 @@ msgstr "元素对象"
10011011
msgid ""
10021012
"Element class. This class defines the Element interface, and provides a "
10031013
"reference implementation of this interface."
1004-
msgstr ""
1014+
msgstr "元素类。 这个类定义了 Element 接口,并提供了这个接口的引用实现。"
10051015

10061016
#: ../../library/xml.etree.elementtree.rst:857
10071017
msgid ""

tutorial/errors.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ msgid ""
405405
":keyword:`continue` or :keyword:`return` statement, exceptions are not re-"
406406
"raised."
407407
msgstr ""
408+
"如果 :keyword:`!finally` 子句执行了 :keyword:`break`, :keyword:`continue` 或 "
409+
":keyword:`return` 语句,异常不会被重新引发。"
408410

409411
#: ../../tutorial/errors.rst:412
410412
msgid ""

whatsnew/3.9.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2776,6 +2776,8 @@ msgid ""
27762776
"Note that declaring ``Literal`` with mutable parameters will not throw an "
27772777
"error::"
27782778
msgstr ""
2779+
"现在如果有任何一个参数不为 :term:`hashable`,``Literal`` 对象将在相等性比较期间引发 :exc:`TypeError`。 "
2780+
"请注意使用可变参数声明 ``Literal`` 将不会抛出异常::"
27792781

27802782
#: ../../whatsnew/3.9.rst:1507
27812783
msgid "(Contributed by Yurii Karabas in :issue:`42345`.)"

0 commit comments

Comments
 (0)