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

Skip to content

Commit f45c2dd

Browse files
[po] auto sync
1 parent db1b934 commit f45c2dd

3 files changed

Lines changed: 22 additions & 5 deletions

File tree

library/mailbox.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,19 +312,20 @@ msgid ""
312312
"or of the underlying mailbox. More specific documentation is provided by "
313313
"each subclass."
314314
msgstr ""
315+
"不同于其他消息表示形式,文件类表示形式并不一定独立于创建它们的 :class:`Mailbox` 实例或下层的邮箱。 每个子类都会提供更具体的文档。"
315316

316317
#: ../../library/mailbox.rst:222
317318
msgid ""
318319
"Return ``True`` if *key* corresponds to a message, ``False`` otherwise."
319-
msgstr ""
320+
msgstr "如果 *key* 有对应的消息则返回 ``True``,否则返回 ``False``。"
320321

321322
#: ../../library/mailbox.rst:227
322323
msgid "Return a count of messages in the mailbox."
323-
msgstr ""
324+
msgstr "返回邮箱中消息的数量。"
324325

325326
#: ../../library/mailbox.rst:232
326327
msgid "Delete all messages from the mailbox."
327-
msgstr ""
328+
msgstr "从邮箱中删除所有消息。"
328329

329330
#: ../../library/mailbox.rst:237
330331
msgid ""
@@ -334,6 +335,8 @@ msgid ""
334335
":class:`Message` subclass unless a custom message factory was specified when"
335336
" the :class:`Mailbox` instance was initialized."
336337
msgstr ""
338+
"返回对应于 *key* 的消息的表示形式并删除该消息。 如果对应的消息不存在则返回 *default*。 消息会被表示为适当的格式专属 "
339+
":class:`Message` 子类的实例,除非当 :class:`Mailbox` 实例被初始化时指定了自定义的消息工厂函数。"
337340

338341
#: ../../library/mailbox.rst:246
339342
msgid ""
@@ -344,6 +347,9 @@ msgid ""
344347
":class:`Message` subclass unless a custom message factory was specified when"
345348
" the :class:`Mailbox` instance was initialized."
346349
msgstr ""
350+
"返回一个任意的 (*key*, *message*) 对,其中 *key* 为键而 *message* 为消息的表示形式,并删除对应的消息。 "
351+
"如果邮箱为空,则会引发 :exc:`KeyError` 异常。 消息会被表示为适当的格式专属 :class:`Message` 子类的实例,除非当 "
352+
":class:`Mailbox` 实例被初始化时指定了自定义的消息工厂函数。"
347353

348354
#: ../../library/mailbox.rst:256
349355
msgid ""

library/ssl.po

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# ppcfish <[email protected]>, 2019
1212
# 之航 P <[email protected]>, 2020
1313
# Hissy <[email protected]>, 2020
14-
# Freesand Leo <[email protected]>, 2020
14+
# Freesand Leo <[email protected]>, 2021
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2021-03-28 05:52+0000\n"
2222
"PO-Revision-Date: 2017-02-16 23:27+0000\n"
23-
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
23+
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -2506,6 +2506,13 @@ msgid ""
25062506
"enables hostname checking by default. With other protocols, hostname "
25072507
"checking must be enabled explicitly."
25082508
msgstr ""
2509+
"是否要将匹配 :meth:`SSLSocket.do_handshake` 中对等方证书的主机名。 该上下文的 "
2510+
":attr:`~SSLContext.verify_mode` 必须被设为 :data:`CERT_OPTIONAL` 或 "
2511+
":data:`CERT_REQUIRED`,并且你必须将 *server_hostname* 传给 "
2512+
":meth:`~SSLContext.wrap_socket` 以便匹配主机名。 启用主机名检查会自动将 "
2513+
":attr:`~SSLContext.verify_mode` 从 :data:`CERT_NONE` 设为 "
2514+
":data:`CERT_REQUIRED`。 只要启用了主机名检查就无法将其设回 :data:`CERT_NONE`。 "
2515+
":data:`PROTOCOL_TLS_CLIENT` 协议默认启用主机名检查。 对于其他协议,则必须显式地启用主机名检查。"
25092516

25102517
#: ../../library/ssl.rst:1909
25112518
msgid ""

tutorial/controlflow.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,10 @@ msgid ""
815815
"following example has a required argument, an optional argument, and the "
816816
"return value annotated::"
817817
msgstr ""
818+
":term:`标注 <function annotation>` 以字典的形式存放在函数的 :attr:`__annotations__` "
819+
"属性中,并且不会影响函数的任何其他部分。 形参标注的定义方式是在形参名后加冒号,后面跟一个表达式,该表达式会被求值为标注的值。 "
820+
"返回值标注的定义方式是加组合符号 ``->``,后面跟一个表达式,该标注位于形参列表和表示 :keyword:`def` 语句结束的冒号之间。 "
821+
"下面的示例有一个必须的参数,一个可选的关键字参数以及返回值都带有相应的标注::"
818822

819823
#: ../../tutorial/controlflow.rst:885
820824
msgid "Intermezzo: Coding Style"

0 commit comments

Comments
 (0)