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

Skip to content

Commit 70952a8

Browse files
[po] auto sync
1 parent 42180ee commit 70952a8

6 files changed

Lines changed: 6324 additions & 6311 deletions

File tree

library/select.po

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
#
66
# Translators:
77
# 操旭 <[email protected]>, 2017
8+
# Freesand Leo <[email protected]>, 2018
89
# 林行众 <[email protected]>, 2019
910
# Zombie110year <[email protected]>, 2019
1011
# ppcfish <[email protected]>, 2019
11-
# Freesand Leo <[email protected]>, 2020
1212
# Arisaka97 <[email protected]>, 2020
1313
#
1414
#, fuzzy
1515
msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.8\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
19+
"POT-Creation-Date: 2020-05-26 14:03+0000\n"
2020
"PO-Revision-Date: 2017-02-16 23:25+0000\n"
2121
"Last-Translator: Arisaka97 <[email protected]>, 2020\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -177,13 +177,10 @@ msgstr "(仅支持 BSD)返回一个内核事件对象,请参阅下方 :ref
177177
#: ../../library/select.rst:119
178178
msgid ""
179179
"This is a straightforward interface to the Unix :c:func:`select` system "
180-
"call. The first three arguments are sequences of 'waitable objects': either "
180+
"call. The first three arguments are iterables of 'waitable objects': either "
181181
"integers representing file descriptors or objects with a parameterless "
182182
"method named :meth:`~io.IOBase.fileno` returning such an integer:"
183183
msgstr ""
184-
"这是 Unix :c:func:`select` "
185-
"系统调用的直接接口。前三个参数是由“等待对象”组成的序列,“等待对象”可以是表示文件描述符的整数,也可以是带有 "
186-
":meth:`~io.IOBase.fileno` 方法的对象(该方法没有参数,返回一个整数):"
187184

188185
#: ../../library/select.rst:124
189186
msgid "*rlist*: wait until ready for reading"
@@ -201,16 +198,13 @@ msgstr "*xlist*:等待“异常情况”(请参阅当前系统的手册,
201198

202199
#: ../../library/select.rst:129
203200
msgid ""
204-
"Empty sequences are allowed, but acceptance of three empty sequences is "
201+
"Empty iterables are allowed, but acceptance of three empty iterables is "
205202
"platform-dependent. (It is known to work on Unix but not on Windows.) The "
206203
"optional *timeout* argument specifies a time-out as a floating point number "
207204
"in seconds. When the *timeout* argument is omitted the function blocks "
208205
"until at least one file descriptor is ready. A time-out value of zero "
209206
"specifies a poll and never blocks."
210207
msgstr ""
211-
"允许使用空序列,但是否接受三个空序列取决于平台。(目前已知在 Unix 上可以但 Windows 上不行。)可选的 *timeout* "
212-
"参数指定超时时长,为浮点数,以秒为单位。如果省略了 *timeout* "
213-
"参数,则该函数将阻塞,直到至少一个文件描述符准备就绪。超时值为零表示轮询且永不阻塞。"
214208

215209
#: ../../library/select.rst:136
216210
msgid ""
@@ -221,17 +215,13 @@ msgstr "返回值是三个列表,包含已就绪对象,返回的三个列表
221215

222216
#: ../../library/select.rst:144
223217
msgid ""
224-
"Among the acceptable object types in the sequences are Python :term:`file "
218+
"Among the acceptable object types in the iterables are Python :term:`file "
225219
"objects <file object>` (e.g. ``sys.stdin``, or objects returned by "
226220
":func:`open` or :func:`os.popen`), socket objects returned by "
227221
":func:`socket.socket`. You may also define a :dfn:`wrapper` class yourself,"
228222
" as long as it has an appropriate :meth:`~io.IOBase.fileno` method (that "
229223
"really returns a file descriptor, not just a random integer)."
230224
msgstr ""
231-
"序列中可接受的对象类型包括 Python :term:`文件对象 <file object>` (例如 "
232-
"``sys.stdin``、:func:`open` 或 :func:`os.popen` 返回的对象),:func:`socket.socket` "
233-
"返回的套接字对象。 你也可以自定义 :dfn:`wrapper` 类,只要它具有合适的 :meth:`~io.IOBase.fileno` "
234-
"方法(该方法应返回实际的文件描述符,而不仅仅返回一个随机整数)。"
235225

236226
#: ../../library/select.rst:155
237227
msgid ""

library/socket.po

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,26 +1700,32 @@ msgid ""
17001700
"module :mod:`struct` for a way to decode C structures encoded as byte "
17011701
"strings)."
17021702
msgstr ""
1703+
"返回指定套接字选项的值(参阅 Unix 手册页 :manpage:`getsockopt(2)` )。所需的符号常量( :const:`SO_\\*` "
1704+
"等)已定义在本模块中。如果未指定 *buflen*,则认为该选项值为整数,由本函数返回该整数值。如果指定 "
1705+
"*buflen*,则它定义了用于存放选项值的缓冲区的最大长度,且该缓冲区将作为字节对象返回。对缓冲区的解码工作由调用者自行完成(针对编码为字节串的 C "
1706+
"结构,其解码方法请参阅可选的内置模块 :mod:`struct` )。"
17031707

17041708
#: ../../library/socket.rst:1239
17051709
msgid ""
17061710
"Return ``True`` if socket is in blocking mode, ``False`` if in non-blocking."
1707-
msgstr ""
1711+
msgstr "如果套接字处于阻塞模式,返回 ``True``,非阻塞模式返回 ``False``。"
17081712

17091713
#: ../../library/socket.rst:1242
17101714
msgid "This is equivalent to checking ``socket.gettimeout() == 0``."
1711-
msgstr ""
1715+
msgstr "这相当于检测 ``socket.gettimeout() == 0``。"
17121716

17131717
#: ../../library/socket.rst:1249
17141718
msgid ""
17151719
"Return the timeout in seconds (float) associated with socket operations, or "
17161720
"``None`` if no timeout is set. This reflects the last call to "
17171721
":meth:`setblocking` or :meth:`settimeout`."
17181722
msgstr ""
1723+
"返回套接字操作相关的超时秒数(浮点数),未设置超时则返回 ``None``。它反映最后一次调用 :meth:`setblocking` 或 "
1724+
":meth:`settimeout` 后的设置。"
17191725

17201726
#: ../../library/socket.rst:0
17211727
msgid "platform"
1722-
msgstr ""
1728+
msgstr "平台"
17231729

17241730
#: ../../library/socket.rst:1256
17251731
msgid "Windows"
@@ -1732,18 +1738,25 @@ msgid ""
17321738
"<https://msdn.microsoft.com/en-us/library/ms741621%28VS.85%29.aspx>`_ for "
17331739
"more information."
17341740
msgstr ""
1741+
":meth:`ioctl` 方法是 WSAIoctl 系统接口的有限接口。请参考 `Win32 文档 "
1742+
"<https://msdn.microsoft.com/en-us/library/ms741621%28VS.85%29.aspx>`_ "
1743+
"以获取更多信息。"
17351744

17361745
#: ../../library/socket.rst:1263
17371746
msgid ""
17381747
"On other platforms, the generic :func:`fcntl.fcntl` and :func:`fcntl.ioctl` "
17391748
"functions may be used; they accept a socket object as their first argument."
17401749
msgstr ""
1750+
"在其他平台上,可以使用通用的 :func:`fcntl.fcntl` 和 :func:`fcntl.ioctl` "
1751+
"函数,它们接受套接字对象作为第一个参数。"
17411752

17421753
#: ../../library/socket.rst:1266
17431754
msgid ""
17441755
"Currently only the following control codes are supported: ``SIO_RCVALL``, "
17451756
"``SIO_KEEPALIVE_VALS``, and ``SIO_LOOPBACK_FAST_PATH``."
17461757
msgstr ""
1758+
"当前仅支持以下控制码: ``SIO_RCVALL``、``SIO_KEEPALIVE_VALS`` 和 "
1759+
"``SIO_LOOPBACK_FAST_PATH``。"
17471760

17481761
#: ../../library/socket.rst:1274
17491762
msgid ""

0 commit comments

Comments
 (0)