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

Skip to content

Commit b003c8b

Browse files
[po] auto sync
1 parent 01ac22e commit b003c8b

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

library/smtplib.po

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -499,34 +499,38 @@ msgid ""
499499
" in :rfc:`4954` can be sent along with the ``AUTH`` command, rather than "
500500
"requiring a challenge/response."
501501
msgstr ""
502+
"可选的关键字参数 *initial_response_ok* 对于支持它的认证方法,是否可以与 ``AUTH`` 命令一起发送 :rfc:`4954` "
503+
"中所规定的“初始响应”,而不是要求回复/响应。"
502504

503505
#: ../../library/smtplib.rst:348
504506
msgid ""
505507
":exc:`SMTPNotSupportedError` may be raised, and the *initial_response_ok* "
506508
"parameter was added."
507-
msgstr ""
509+
msgstr "可能会引发 :exc:`SMTPNotSupportedError`,并添加 *initial_response_ok* 形参。"
508510

509511
#: ../../library/smtplib.rst:355
510512
msgid ""
511513
"Issue an ``SMTP`` ``AUTH`` command for the specified authentication "
512514
"*mechanism*, and handle the challenge response via *authobject*."
513-
msgstr ""
515+
msgstr "为指定的认证机制 *mechanism* 发送 ``SMTP`` ``AUTH`` 命令,并通过 *authobject* 处理回复响应。"
514516

515517
#: ../../library/smtplib.rst:358
516518
msgid ""
517519
"*mechanism* specifies which authentication mechanism is to be used as "
518520
"argument to the ``AUTH`` command; the valid values are those listed in the "
519521
"``auth`` element of :attr:`esmtp_features`."
520522
msgstr ""
523+
"*mechanism* 指定要使用何种认证机制作为 ``AUTH`` 命令的参数;可用的值是在 :attr:`esmtp_features` 的 "
524+
"``auth`` 元素中列出的内容。"
521525

522526
#: ../../library/smtplib.rst:362
523527
msgid ""
524528
"*authobject* must be a callable object taking an optional single argument:"
525-
msgstr ""
529+
msgstr "*authobject* 必须是接受一个可选的单独参数的可调用对象:"
526530

527531
#: ../../library/smtplib.rst:364
528532
msgid "data = authobject(challenge=None)"
529-
msgstr ""
533+
msgstr "data = authobject(challenge=None)"
530534

531535
#: ../../library/smtplib.rst:366
532536
msgid ""
@@ -538,6 +542,11 @@ msgid ""
538542
"``None`` when called with ``challenge=None``. If *initial_response_ok* is "
539543
"false, then ``authobject()`` will not be called first with ``None``."
540544
msgstr ""
545+
"如果可选的关键字参数 *initial_response_ok* 为真值,则将先不带参数地调用 ``authobject()``。 它可以返回 "
546+
":rfc:`4954` \"初始响应\" ASCII ``str``,其内容将被编码并使用下述的 ``AUTH`` 命令来发送。 如果 "
547+
"``authobject()`` 不支持初始响应(例如由于要求一个回复),它应当将 ``None`` 作为附带 ``challenge=None`` "
548+
"调用的返回值。 如果 *initial_response_ok* 为假值,则 ``authobject()`` 将不会附带 ``None`` "
549+
"被首先调用。"
541550

542551
#: ../../library/smtplib.rst:374
543552
msgid ""
@@ -547,6 +556,9 @@ msgid ""
547556
"should return ASCII ``str`` *data* that will be base64 encoded and sent to "
548557
"the server."
549558
msgstr ""
559+
"如果初始响应检测返回了 ``None``,或者如果 *initial_response_ok* 为假值,则将调用 ``authobject()`` "
560+
"来处理服务器的回复响应;它所传递的 *challenge* 参数将为一个 ``bytes``。 它应当返回用 base64 进行编码的 ASCII "
561+
"``str`` *data* 并发送给服务器。"
550562

551563
#: ../../library/smtplib.rst:380
552564
msgid ""

0 commit comments

Comments
 (0)