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

Skip to content

Commit 49393a7

Browse files
[po] auto sync
1 parent 33f5564 commit 49393a7

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

library/socket.po

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -536,24 +536,28 @@ msgid ""
536536
"(Only :const:`SOCK_STREAM` and :const:`SOCK_DGRAM` appear to be generally "
537537
"useful.)"
538538
msgstr ""
539+
"这些常量表示套接字类型,用于 :func:`.socket` 的第二个参数。不同系统可能会有更多其他常量可用。(一般只有 "
540+
":const:`SOCK_STREAM` 和 :const:`SOCK_DGRAM` 可用)"
539541

540542
#: ../../library/socket.rst:307
541543
msgid ""
542544
"These two constants, if defined, can be combined with the socket types and "
543545
"allow you to set some flags atomically (thus avoiding possible race "
544546
"conditions and the need for separate calls)."
545-
msgstr ""
547+
msgstr "这两个常量(如果已定义)可以与上述套接字类型结合使用,允许你设置这些原子性相关的 flags (从而避免可能的竞争条件和单独调用的需要)。"
546548

547549
#: ../../library/socket.rst:313
548550
msgid ""
549551
"`Secure File Descriptor Handling "
550552
"<http://udrepper.livejournal.com/20407.html>`_ for a more thorough "
551553
"explanation."
552554
msgstr ""
555+
"`Secure File Descriptor Handling (安全地处理文件描述符) "
556+
"<http://udrepper.livejournal.com/20407.html>`_ 提供了更详尽的解释。"
553557

554558
#: ../../library/socket.rst:317
555559
msgid ":ref:`Availability <availability>`: Linux >= 2.6.27."
556-
msgstr ""
560+
msgstr ":ref:`可用性 <availability>`: Linux >= 2.6.27。"
557561

558562
#: ../../library/socket.rst:335
559563
msgid ""
@@ -564,35 +568,40 @@ msgid ""
564568
"symbols that are defined in the Unix header files are defined; for a few "
565569
"symbols, default values are provided."
566570
msgstr ""
571+
"此列表内的许多常量,记载在 Unix 文档中的套接字和/或 IP 协议部分,同时也定义在本 socket 模块中。它们通常用于套接字对象的 "
572+
":meth:`setsockopt` 和 :meth:`getsockopt` 方法的参数中。在大多数情况下,仅那些在 Unix "
573+
"头文件中有定义的符号会在本模块中定义,部分符号提供了默认值。"
567574

568575
#: ../../library/socket.rst:342
569576
msgid ""
570577
"``SO_DOMAIN``, ``SO_PROTOCOL``, ``SO_PEERSEC``, ``SO_PASSSEC``, "
571578
"``TCP_USER_TIMEOUT``, ``TCP_CONGESTION`` were added."
572579
msgstr ""
580+
"添加了 "
581+
"``SO_DOMAIN``、``SO_PROTOCOL``、``SO_PEERSEC``、``SO_PASSSEC``、``TCP_USER_TIMEOUT``、``TCP_CONGESTION``。"
573582

574583
#: ../../library/socket.rst:346
575584
msgid ""
576585
"On Windows, ``TCP_FASTOPEN``, ``TCP_KEEPCNT`` appear if run-time Windows "
577586
"supports."
578-
msgstr ""
587+
msgstr "在 Windows 上,如果 Windows 运行时支持,则 ``TCP_FASTOPEN``、``TCP_KEEPCNT`` 可用。"
579588

580589
#: ../../library/socket.rst:350
581590
msgid "``TCP_NOTSENT_LOWAT`` was added."
582-
msgstr ""
591+
msgstr "添加了 ``TCP_NOTSENT_LOWAT``。"
583592

584593
#: ../../library/socket.rst:353
585594
msgid ""
586595
"On Windows, ``TCP_KEEPIDLE``, ``TCP_KEEPINTVL`` appear if run-time Windows "
587596
"supports."
588-
msgstr ""
597+
msgstr "在 Windows 上,如果 Windows 运行时支持,则 ``TCP_KEEPIDLE``、``TCP_KEEPINTVL`` 可用。"
589598

590599
#: ../../library/socket.rst:361 ../../library/socket.rst:408
591600
#: ../../library/socket.rst:419
592601
msgid ""
593602
"Many constants of these forms, documented in the Linux documentation, are "
594603
"also defined in the socket module."
595-
msgstr ""
604+
msgstr "此列表内的许多常量,记载在 Linux 文档中,同时也定义在本 socket 模块中。"
596605

597606
#: ../../library/socket.rst:365 ../../library/socket.rst:376
598607
#: ../../library/socket.rst:400

0 commit comments

Comments
 (0)