7788# Dingyuan Wang <[email protected] >, 201999# Yi Cao <[email protected] >, 201910- # Freesand Leo <[email protected] >, 20211110# Arisaka97 <[email protected] >, 202111+ # Freesand Leo <[email protected] >, 20211212#
1313#, fuzzy
1414msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717"Report-Msgid-Bugs-To : \n "
1818"POT-Creation-Date : 2021-01-01 05:02+0000\n "
1919"PO-Revision-Date : 2017-02-16 23:11+0000\n "
20- "Last-Translator : Arisaka97 <solitaire2312@gmail .com>, 2021\n "
20+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2021\n "
2121"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2222"MIME-Version : 1.0\n "
2323"Content-Type : text/plain; charset=UTF-8\n "
@@ -501,6 +501,9 @@ msgid ""
501501"to the :meth:`close` method which renders the :class:`FTP` instance useless "
502502"for subsequent calls (see below)."
503503msgstr ""
504+ "向服务器发送 ``QUIT`` 命令并关闭连接。 这是关闭一个连接的“礼貌”方式,但是如果服务器对 ``QUIT`` "
505+ "命令的响应带有错误消息则这会引发一个异常。 这意味着对 :meth:`close` 方法的调用,它将使得 :class:`FTP` "
506+ "实例对后继调用无效(见下文)。"
504507
505508#: ../../library/ftplib.rst:423
506509msgid ""
@@ -510,6 +513,9 @@ msgid ""
510513" a call to :meth:`close` or :meth:`~FTP.quit` you cannot reopen the "
511514"connection by issuing another :meth:`login` method)."
512515msgstr ""
516+ "单方面关闭连接。 这不该被应用于已经关闭的连接,例如成功调用 :meth:`~FTP.quit` 之后的连接。 在此调用之后 :class:`FTP` "
517+ "实例不应被继续使用(在调用 :meth:`close` 或 :meth:`~FTP.quit` 之后你不能通过再次发起调用 :meth:`login` "
518+ "方法重新打开连接)。"
513519
514520#: ../../library/ftplib.rst:431
515521msgid "FTP_TLS Objects"
@@ -529,21 +535,23 @@ msgstr "欲采用的 SSL 版本(默认为 :attr:`ssl.PROTOCOL_SSLv23`)。"
529535msgid ""
530536"Set up a secure control connection by using TLS or SSL, depending on what is"
531537" specified in the :attr:`ssl_version` attribute."
532- msgstr ""
538+ msgstr "通过使用 TLS 或 SSL 来设置一个安全控制连接,具体取决于 :attr:`ssl_version` 属性是如何设置的。 "
533539
534540#: ../../library/ftplib.rst:444
535541msgid ""
536542"The method now supports hostname check with "
537543":attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see "
538544":data:`ssl.HAS_SNI`)."
539545msgstr ""
546+ "此方法现在支持使用 :attr:`ssl.SSLContext.check_hostname` 和 *服务器名称指示* (参见 "
547+ ":data:`ssl.HAS_SNI`) 进行主机名检查。"
540548
541549#: ../../library/ftplib.rst:451
542550msgid ""
543551"Revert control channel back to plaintext. This can be useful to take "
544552"advantage of firewalls that know how to handle NAT with non-secure FTP "
545553"without opening fixed ports."
546- msgstr ""
554+ msgstr "将控制通道回复为纯文本。 这适用于发挥知道如何使用非安全 FTP 处理 NAT 而无需打开固定端口的防火墙的优势。 "
547555
548556#: ../../library/ftplib.rst:459
549557msgid "Set up secure data connection."
0 commit comments