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

Skip to content

Commit 6c48d0b

Browse files
[po] auto sync
1 parent 563143f commit 6c48d0b

3 files changed

Lines changed: 39 additions & 12 deletions

File tree

library/ftplib.po

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# sgqy <[email protected]>, 2019
99
# Yi Cao <[email protected]>, 2019
1010
# Arisaka97 <[email protected]>, 2020
11+
# Freesand Leo <[email protected]>, 2020
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2020-04-10 22:51+0000\n"
1819
"PO-Revision-Date: 2019-09-01 03:20+0000\n"
19-
"Last-Translator: Arisaka97 <solitaire2312@gmail.com>, 2020\n"
20+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2021
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -125,7 +126,7 @@ msgstr ""
125126

126127
#: ../../library/ftplib.rst:108
127128
msgid "Here's a sample session using the :class:`FTP_TLS` class::"
128-
msgstr ""
129+
msgstr "以下是使用 :class:`FTP_TLS` 类的会话示例::"
129130

130131
#: ../../library/ftplib.rst:121
131132
msgid "Exception raised when an unexpected reply is received from the server."
@@ -231,6 +232,11 @@ msgid ""
231232
"FTP commands are only allowed after the client has logged in. The *acct* "
232233
"parameter supplies \"accounting information\"; few systems implement this."
233234
msgstr ""
235+
"以 *user* 的身份登录。*passwd* 和 *acct* 是可选参数,默认为空字符串。如果没有指定 *user*,则默认为 "
236+
"``'anonymous'``。如果 *user* 为 ``'anonymous'``,那么默认的 *passwd* 是 "
237+
"``'anonymous@'``。连接建立后,每个实例只应调用一次本函数;如果在创建实例时传入了 host 和 "
238+
"user,则完全不应该调用本函数。在客户端登录后,才允许执行大多数 FTP 命令。*acct* 参数提供记账信息 (\"accounting "
239+
"information\");仅少数系统实现了该特性。"
234240

235241
#: ../../library/ftplib.rst:219
236242
msgid ""
@@ -261,6 +267,10 @@ msgid ""
261267
"*callback*). A reasonable default is chosen. *rest* means the same thing as"
262268
" in the :meth:`transfercmd` method."
263269
msgstr ""
270+
"以二进制传输模式下载文件。*cmd* 应为恰当的 ``RETR`` 命令:``'RETR 文件名'``。*callback* "
271+
"函数会在收到每个数据块时调用,传入的参数是表示数据块的一个字节。为执行实际传输,创建了底层套接字对象,可选参数 *blocksize* "
272+
"指定了读取该对象时的最大块大小(这也是传入 *callback* 的数据块的最大大小)。已经选择了合理的默认值。*rest* 的含义与 "
273+
":meth:`transfercmd` 方法中的含义相同。"
264274

265275
#: ../../library/ftplib.rst:249
266276
msgid ""
@@ -290,6 +300,11 @@ msgid ""
290300
"after it is sent. *rest* means the same thing as in the :meth:`transfercmd` "
291301
"method."
292302
msgstr ""
303+
"以二进制传输模式存储文件。 *cmd* 应为恰当的 ``STOR`` 命令: ``\"STOR filename\"``。*fp* 是一个 "
304+
":term:`文件对象 <file object>` (以二进制模式打开),将使用它的 :meth:`~io.IOBase.read` "
305+
"方法读取它,用于提供要存储的数据,直到遇到 EOF,读取时的块大小为 *blocksize*。 参数 *blocksize* 的默认值为 8192。 "
306+
"可选参数 *callback* 是单参数函数,在每个数据块发送后都会用该数据块调用它。*rest* 的含义与 :meth:`transfercmd` "
307+
"方法中的含义相同。"
293308

294309
#: ../../library/ftplib.rst:275
295310
msgid "*rest* parameter added."
@@ -348,6 +363,10 @@ msgid ""
348363
"about the file name. Content of this dictionary might be limited by the "
349364
"*facts* argument but server is not guaranteed to return all requested facts."
350365
msgstr ""
366+
"使用 ``MLSD`` 命令以标准格式列出目录内容 (:rfc:`3659`)。如果省略 *path* 则使用当前目录。*facts* "
367+
"是字符串列表,表示所需的信息类型(如 ``[\"type\", \"size\", \"perm\"]``)。返回一个生成器对象,每个在 path "
368+
"中找到的文件都将在该对象中生成两个元素的元组。第一个元素是文件名,第二个元素是该文件的 facts 的字典。该字典的内容受 *facts* "
369+
"参数限制,但不能保证服务器会返回所有请求的 facts。"
351370

352371
#: ../../library/ftplib.rst:332
353372
msgid ""
@@ -384,11 +403,11 @@ msgstr ""
384403

385404
#: ../../library/ftplib.rst:366
386405
msgid "Set the current directory on the server."
387-
msgstr ""
406+
msgstr "设置服务器端的当前目录。"
388407

389408
#: ../../library/ftplib.rst:371
390409
msgid "Create a new directory on the server."
391-
msgstr ""
410+
msgstr "在服务器上创建一个新目录。"
392411

393412
#: ../../library/ftplib.rst:376
394413
msgid "Return the pathname of the current directory on the server."

library/signal.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,19 +394,21 @@ msgstr ""
394394
msgid ""
395395
"Cause the process to sleep until a signal is received; the appropriate "
396396
"handler will then be called. Returns nothing."
397-
msgstr ""
397+
msgstr "使进程休眠直至接收到一个信号;然后将会调用适当的处理程序。 返回空值。"
398398

399399
#: ../../library/signal.rst:324
400400
msgid ""
401401
":ref:`Availability <availability>`: Unix. See the man page "
402402
":manpage:`signal(2)` for further information."
403-
msgstr ""
403+
msgstr ":ref:`可用性 <availability>`: Unix。 更多信息请参见手册页面 :manpage:`signal(2)`。"
404404

405405
#: ../../library/signal.rst:325
406406
msgid ""
407407
"See also :func:`sigwait`, :func:`sigwaitinfo`, :func:`sigtimedwait` and "
408408
":func:`sigpending`."
409409
msgstr ""
410+
"另请参阅 :func:`sigwait`, :func:`sigwaitinfo`, :func:`sigtimedwait` 和 "
411+
":func:`sigpending`。"
410412

411413
#: ../../library/signal.rst:331
412414
msgid ""

library/typing.po

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#
66
# Translators:
77
# ww song <[email protected]>, 2019
8-
# Freesand Leo <[email protected]>, 2019
98
# Kder <[email protected]>, 2019
109
# dannyvi <[email protected]>, 2019
1110
# Trim21 <[email protected]>, 2019
@@ -14,6 +13,7 @@
1413
# JW H <[email protected]>, 2019
1514
# Siyuan Xu <[email protected]>, 2020
1615
# jaystone776 <[email protected]>, 2020
16+
# Freesand Leo <[email protected]>, 2020
1717
#
1818
#, fuzzy
1919
msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222
"Report-Msgid-Bugs-To: \n"
2323
"POT-Creation-Date: 2020-04-10 22:51+0000\n"
2424
"PO-Revision-Date: 2019-09-01 03:30+0000\n"
25-
"Last-Translator: jaystone776 <1732865113@qq.com>, 2020\n"
25+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\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"
@@ -507,7 +507,7 @@ msgstr ""
507507
msgid ""
508508
"An ABC with one abstract method ``__abs__`` that is covariant in its return "
509509
"type."
510-
msgstr ""
510+
msgstr "含抽象方法 ``__abs__`` 的抽象基类(ABC)是其返回类型里的协变量。"
511511

512512
#: ../../library/typing.rst:539
513513
msgid ""
@@ -571,7 +571,7 @@ msgstr ""
571571
msgid ""
572572
"As a shorthand for this type, :class:`bytes` can be used to annotate "
573573
"arguments of any of the types mentioned above."
574-
msgstr ""
574+
msgstr "作为该类型的简称,:class:`bytes` 可用于标注上述任意类型的参数。"
575575

576576
#: ../../library/typing.rst:600
577577
msgid "A generic version of :class:`collections.deque`."
@@ -596,10 +596,12 @@ msgid ""
596596
"return types. To annotate arguments it is preferred to use an abstract "
597597
"collection type such as :class:`AbstractSet`."
598598
msgstr ""
599+
":class:`builtins.set <set>` 的泛型版本。适用于注解返回类型。注解参数时,最好使用 :class:`AbstractSet` "
600+
"等抽象容器类型。"
599601

600602
#: ../../library/typing.rst:630
601603
msgid "A generic version of :class:`builtins.frozenset <frozenset>`."
602-
msgstr ""
604+
msgstr ":class:`builtins.frozenset <frozenset>` 的泛型版本。"
603605

604606
#: ../../library/typing.rst:634
605607
msgid "A generic version of :class:`collections.abc.MappingView`."
@@ -728,19 +730,23 @@ msgid ""
728730
"compatible path for Python 2 code: in Python 2, ``Text`` is an alias for "
729731
"``unicode``."
730732
msgstr ""
733+
"``Text`` 是 ``str`` 的别名。提供了对 Python 2 代码的向下兼容:Python 2 中,``Text`` "
734+
"是``unicode`` 的别名。"
731735

732736
#: ../../library/typing.rst:802
733737
msgid ""
734738
"Use ``Text`` to indicate that a value must contain a unicode string in a "
735739
"manner that is compatible with both Python 2 and Python 3::"
736-
msgstr ""
740+
msgstr ""
737741

738742
#: ../../library/typing.rst:814
739743
msgid ""
740744
"Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and "
741745
"``BinaryIO(IO[bytes])`` represent the types of I/O streams such as returned "
742746
"by :func:`open`."
743747
msgstr ""
748+
"泛型类型 ``IO[AnyStr]`` 及其子类 ``TextIO(IO[str])`` 与 ``BinaryIO(IO[bytes])`` 表示 "
749+
"I/O 流的类型,例如 :func:`open` 所返回的对象。"
744750

745751
#: ../../library/typing.rst:822
746752
msgid ""

0 commit comments

Comments
 (0)