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

Skip to content

Commit 1d89eaa

Browse files
[po] auto sync
1 parent f25d478 commit 1d89eaa

2 files changed

Lines changed: 23 additions & 9 deletions

File tree

library/urllib.request.po

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2019
87
# nick <[email protected]>, 2019
98
# ppcfish <[email protected]>, 2019
109
# 汪心禾 <[email protected]>, 2020
1110
# Dai Xu <[email protected]>, 2021
11+
# Freesand Leo <[email protected]>, 2021
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2021-01-01 16:02+0000\n"
1919
"PO-Revision-Date: 2019-09-01 03:31+0000\n"
20-
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
20+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
2121
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -252,6 +252,12 @@ msgid ""
252252
":class:`HTTPRedirectHandler`, :class:`FTPHandler`, :class:`FileHandler`, "
253253
":class:`HTTPErrorProcessor`."
254254
msgstr ""
255+
"返回一个 :class:`OpenerDirector` 实例,以给定顺序把处理函数串联起来。处理函数可以是 :class:`BaseHandler` "
256+
"的实例,也可以是 :class:`BaseHandler` 的子类(这时构造函数必须允许不带任何参数的调用)。以下类的实例将位于 *处理函数* "
257+
"之前,除非 *处理函数* 已包含这些类、其实例或其子类: :class:`ProxyHandler` "
258+
"(如果检测到代理设置)、:class:`UnknownHandler` 、:class:`HTTPHandler` "
259+
"、:class:`HTTPDefaultErrorHandler` 、:class:`HTTPRedirectHandler` 、 "
260+
":class:`FTPHandler` 、 :class:`FileHandler` 、:class:`HTTPErrorProcessor` 。"
255261

256262
#: ../../library/urllib.request.rst:143
257263
msgid ""
@@ -264,6 +270,7 @@ msgid ""
264270
"A :class:`BaseHandler` subclass may also change its :attr:`handler_order` "
265271
"attribute to modify its position in the handlers list."
266272
msgstr ""
273+
" :class:`BaseHandler` 的子类还可以修改 :attr:`handler_order` 属性,以便改变其在处理函数列表中的位置。"
267274

268275
#: ../../library/urllib.request.rst:152
269276
msgid ""
@@ -272,6 +279,8 @@ msgid ""
272279
" The return value will already be quoted using the "
273280
":func:`~urllib.parse.quote` function."
274281
msgstr ""
282+
"将路径名 *path* 从路径本地写法转换为 URL 路径部件采用的格式。这不会生成完整的 URL。返回值将会用 "
283+
":func:`~urllib.parse.quote` 函数加以编码。 "
275284

276285
#: ../../library/urllib.request.rst:159
277286
msgid ""

library/xml.dom.po

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,19 +1101,19 @@ msgstr "ProcessingInstruction 对象"
11011101
msgid ""
11021102
"Represents a processing instruction in the XML document; this inherits from "
11031103
"the :class:`Node` interface and cannot have child nodes."
1104-
msgstr ""
1104+
msgstr "代表 XML 文档中的处理指令。 它继承自 :class:`Node` 接口并且不能拥有下级节点。"
11051105

11061106
#: ../../library/xml.dom.rst:796
11071107
msgid ""
11081108
"The content of the processing instruction up to the first whitespace "
11091109
"character. This is a read-only attribute."
1110-
msgstr ""
1110+
msgstr "处理指令的内容至第一个空格符为止。 这是个只读属性。"
11111111

11121112
#: ../../library/xml.dom.rst:802
11131113
msgid ""
11141114
"The content of the processing instruction following the first whitespace "
11151115
"character."
1116-
msgstr ""
1116+
msgstr "在第一个空格符之后的处理指令内容。"
11171117

11181118
#: ../../library/xml.dom.rst:809
11191119
msgid "Exceptions"
@@ -1127,6 +1127,8 @@ msgid ""
11271127
" :attr:`code` attribute that provides the appropriate value for the specific"
11281128
" exception."
11291129
msgstr ""
1130+
"DOM 第 2 层级推荐定义一个异常 :exc:`DOMException`,以及多个变量用来允许应用程序确定发生了何种错误。 "
1131+
":exc:`DOMException` 实例带有 :attr:`code` 属性用来提供特定异常的对应值。"
11301132

11311133
#: ../../library/xml.dom.rst:816
11321134
msgid ""
@@ -1136,37 +1138,40 @@ msgid ""
11361138
"specific exception, each of which carries the appropriate value for the "
11371139
":attr:`code` attribute."
11381140
msgstr ""
1141+
"Python DOM 接口提供了一些常量,但还扩展了异常集以使 DOM 所定义的每个异常代码都存在特定的异常。 "
1142+
"接口的具体实现必须引发正确的特定异常,它们各自带有正确的 :attr:`code` 属性值。"
11391143

11401144
#: ../../library/xml.dom.rst:825
11411145
msgid ""
11421146
"Base exception class used for all specific DOM exceptions. This exception "
11431147
"class cannot be directly instantiated."
1144-
msgstr ""
1148+
msgstr "所有特定 DOM 异常所使用的异常基类。 该异常类不可被直接实例化。"
11451149

11461150
#: ../../library/xml.dom.rst:831
11471151
msgid ""
11481152
"Raised when a specified range of text does not fit into a string. This is "
11491153
"not known to be used in the Python DOM implementations, but may be received "
11501154
"from DOM implementations not written in Python."
11511155
msgstr ""
1156+
"当指定范围的文本不能适配一个字符串时被引发。 此异常在 Python DOM 实现中尚不可用,但可从不是以 Python 编写的 DOM 实现中接收。"
11521157

11531158
#: ../../library/xml.dom.rst:838
11541159
msgid ""
11551160
"Raised when an attempt is made to insert a node where the node type is not "
11561161
"allowed."
1157-
msgstr ""
1162+
msgstr "当尝试插入一个节点但该节点类型不被允许时被引发。"
11581163

11591164
#: ../../library/xml.dom.rst:844
11601165
msgid ""
11611166
"Raised when an index or size parameter to a method is negative or exceeds "
11621167
"the allowed values."
1163-
msgstr ""
1168+
msgstr "当一个方法的索引或大小参数为负值或超出允许的值范围时被引发。"
11641169

11651170
#: ../../library/xml.dom.rst:850
11661171
msgid ""
11671172
"Raised when an attempt is made to insert an :class:`Attr` node that is "
11681173
"already present elsewhere in the document."
1169-
msgstr ""
1174+
msgstr "当尝试插入一个 :class:`Attr` 节点但该节点已存在于文档中的某处时被引发。"
11701175

11711176
#: ../../library/xml.dom.rst:856
11721177
msgid ""

0 commit comments

Comments
 (0)