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

Skip to content

Commit 76d87bf

Browse files
[po] auto sync
1 parent bf20230 commit 76d87bf

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

library/urllib.request.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# ppcfish <[email protected]>, 2019
99
# 汪心禾 <[email protected]>, 2020
1010
# Freesand Leo <[email protected]>, 2021
11-
# Dai Xu <[email protected]>, 2021
1211
# Jiuh-star <[email protected]>, 2021
12+
# Dai Xu <[email protected]>, 2021
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2021-03-02 05:36+0000\n"
2020
"PO-Revision-Date: 2017-02-16 23:34+0000\n"
21-
"Last-Translator: Jiuh-star <jiuh.star@gmail.com>, 2021\n"
21+
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1050,7 +1050,7 @@ msgstr "一个可用的 :class:`OpenerDirector`,可用于以其他协议打开
10501050
msgid ""
10511051
"This method is *not* defined in :class:`BaseHandler`, but subclasses should "
10521052
"define it if they want to catch all URLs."
1053-
msgstr ""
1053+
msgstr "本方法在 :class:`BaseHandler` 中 *未* 予定义,但其子类若要捕获所有 URL 则应进行定义。"
10541054

10551055
#: ../../library/urllib.request.rst:733
10561056
msgid ""

library/xml.dom.minidom.po

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,17 @@ msgid ""
314314
"operations (and attributes) from the base interfaces, plus any new "
315315
"operations."
316316
msgstr ""
317+
"接口是通过实例对象来访问的。 应用程序不应实例化这些类本身;它们应当使用 :class:`Document` 对象提供的创建器函数。 "
318+
"派生的接口支持上级接口的所有操作(和属性),并添加了新的操作。"
317319

318320
#: ../../library/xml.dom.minidom.rst:221
319321
msgid ""
320322
"Operations are used as methods. Since the DOM uses only :keyword:`in` "
321323
"parameters, the arguments are passed in normal order (from left to right). "
322324
"There are no optional arguments. ``void`` operations return ``None``."
323325
msgstr ""
326+
"操作以方法的形式使用。 因由 DOM 只使用 :keyword:`in` 形参,参数是以正常顺序传入的(从左至右)。 不存在可选参数。 ``void``"
327+
" 操作返回 ``None``。"
324328

325329
#: ../../library/xml.dom.minidom.rst:225
326330
msgid ""
@@ -330,12 +334,16 @@ msgid ""
330334
"``readonly`` attributes must not be changed; this is not enforced at "
331335
"runtime."
332336
msgstr ""
337+
"IDL 属性会映射到实例属性。 为了兼容针对 Python 的 OMG IDL 语言映射,属性 ``foo`` 也可通过访问器方法 "
338+
":meth:`_get_foo` 和 :meth:`_set_foo` 来访问。 ``readonly`` 属性不可被修改;运行时并不强制要求这一点。"
333339

334340
#: ../../library/xml.dom.minidom.rst:230
335341
msgid ""
336342
"The types ``short int``, ``unsigned int``, ``unsigned long long``, and "
337343
"``boolean`` all map to Python integer objects."
338344
msgstr ""
345+
"``short int``, ``unsigned int``, ``unsigned long long`` 和 ``boolean`` "
346+
"类型都会映射为 Python 整数类型。"
339347

340348
#: ../../library/xml.dom.minidom.rst:233
341349
msgid ""
@@ -344,20 +352,26 @@ msgid ""
344352
"of type ``DOMString`` may also be ``None`` where allowed to have the IDL "
345353
"``null`` value by the DOM specification from the W3C."
346354
msgstr ""
355+
"``DOMString`` 类型会映射为 Python 字符串。 :mod:`xml.dom.minidom` 支持字节串或字符串,但通常是产生字符串。"
356+
" ``DOMString`` 类型的值也可以为 ``None``,W3C 的 DOM 规格说明允许其具有 IDL ``null`` 值。"
347357

348358
#: ../../library/xml.dom.minidom.rst:238
349359
msgid ""
350360
"``const`` declarations map to variables in their respective scope (e.g. "
351361
"``xml.dom.minidom.Node.PROCESSING_INSTRUCTION_NODE``); they must not be "
352362
"changed."
353363
msgstr ""
364+
"``const`` 声明会映射为它们各自的作用域内的变量 (例如 "
365+
"``xml.dom.minidom.Node.PROCESSING_INSTRUCTION_NODE``);它们不可被修改。"
354366

355367
#: ../../library/xml.dom.minidom.rst:241
356368
msgid ""
357369
"``DOMException`` is currently not supported in :mod:`xml.dom.minidom`. "
358370
"Instead, :mod:`xml.dom.minidom` uses standard Python exceptions such as "
359371
":exc:`TypeError` and :exc:`AttributeError`."
360372
msgstr ""
373+
"``DOMException`` 目前不被 :mod:`xml.dom.minidom` 所支持。 :mod:`xml.dom.minidom` "
374+
"会改为使用标准 Python 异常例如 :exc:`TypeError` 和 :exc:`AttributeError`。"
361375

362376
#: ../../library/xml.dom.minidom.rst:245
363377
msgid ""
@@ -367,6 +381,8 @@ msgid ""
367381
"are, however, much more \"Pythonic\" than the interface defined in the W3C "
368382
"recommendations."
369383
msgstr ""
384+
":class:`NodeList` 对象是使用 Python 内置列表类型来实现的。 这些对象提供了 DOM 规格说明中定义的接口,但在较早版本的 "
385+
"Python 中它们不支持官方 API。 相比在 W3C 建议中定义的接口,它们要更加的 \"Pythonic\"。"
370386

371387
#: ../../library/xml.dom.minidom.rst:251
372388
msgid ""

0 commit comments

Comments
 (0)