@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.12\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2024-05-11 19:07 +0000\n "
14
+ "POT-Creation-Date : 2024-06-28 14:50 +0000\n "
15
15
"PO-Revision-Date : 2024-05-11 00:33+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
17
17
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -23,7 +23,7 @@ msgstr ""
23
23
24
24
#: ../../library/imaplib.rst:2
25
25
msgid ":mod:`!imaplib` --- IMAP4 protocol client"
26
- msgstr ""
26
+ msgstr ":mod:`!imaplib` --- IMAP4 协议客户端 "
27
27
28
28
#: ../../library/imaplib.rst:14
29
29
msgid "**Source code:** :source:`Lib/imaplib.py`"
@@ -70,6 +70,9 @@ msgid ""
70
70
"attempt. If timeout is not given or is ``None``, the global default socket "
71
71
"timeout is used."
72
72
msgstr ""
73
+ "这个类实现了实际的 IMAP4 协议。 当其实例被初始化时会创建连接并确定协议版本 (IMAP4 或 IMAP4rev1)。 如果未指明 "
74
+ "*host*,则会使用 ``''`` (本地主机)。 如果省略 *port*,则会使用标准的 IMAP4 端口 (143)。 可选的 *timeout*"
75
+ " 形参指定连接尝试的超时秒数。 如果未指定超时或为 ``None``,则会使用全局默认的套接字超时。"
73
76
74
77
#: ../../library/imaplib.rst:44
75
78
msgid ""
@@ -143,7 +146,7 @@ msgid ""
143
146
"The optional *timeout* parameter specifies a timeout in seconds for the "
144
147
"connection attempt. If timeout is not given or is ``None``, the global "
145
148
"default socket timeout is used."
146
- msgstr ""
149
+ msgstr "可选的 *timeout* 形参指明连接尝试的超时秒数。 如果超时值未给出或为 ``None``,则会使用全局默认的套接字超时设置。 "
147
150
148
151
#: ../../library/imaplib.rst:103
149
152
msgid "*ssl_context* parameter was added."
@@ -478,6 +481,11 @@ msgid ""
478
481
":meth:`IMAP4.readline`, :meth:`IMAP4.send`, and :meth:`IMAP4.shutdown` "
479
482
"methods. You may override this method."
480
483
msgstr ""
484
+ "打开连接到 *host* 上 *port* 的套接字。 可选的 *timeout* 形参指定连接尝试的超时秒数。 如果超时值未给出或为 "
485
+ "``None``,则会使用全局默认的套接字超时。 另外请注意如果 *timeout* 形参被设为零,它将引发 :class:`ValueError` "
486
+ "以拒绝创建非阻塞套接字。 此方法会由 :class:`IMAP4` 构造器隐式地调用。 此方法所建立的连接对象将在 "
487
+ ":meth:`IMAP4.read`, :meth:`IMAP4.readline`, :meth:`IMAP4.send` 和 "
488
+ ":meth:`IMAP4.shutdown` 等方法中被使用。 你可以重写此方法。"
481
489
482
490
#: ../../library/imaplib.rst:382
483
491
msgid ""
0 commit comments