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

Skip to content

Commit 484de01

Browse files
[po] auto sync
1 parent 73abf7a commit 484de01

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

library/mailbox.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,17 +361,24 @@ msgid ""
361361
"exception will be raised, so in general it is incorrect for *arg* to be a "
362362
":class:`Mailbox` instance."
363363
msgstr ""
364+
"形参 *arg* 应当是 *key* 到 *message* 的映射或 (*key*, *message*) 对的可迭代对象。 "
365+
"用来更新邮箱以使得对于每个给定的 *key* 和 *message*,与 *key* 相对应的消息会被设为 *message*,就像通过使用 "
366+
":meth:`__setitem__` 一样。 类似于 :meth:`__setitem__`,每个 *key* "
367+
"都必须在邮箱中有一个对应的消息否则将会引发 :exc:`KeyError` 异常,因此在通常情况下将 *arg* 设为 :class:`Mailbox`"
368+
" 实例是不正确的。"
364369

365370
#: ../../library/mailbox.rst:266
366371
msgid "Unlike with dictionaries, keyword arguments are not supported."
367-
msgstr ""
372+
msgstr "与字典不同,关键字参数是不受支持的。"
368373

369374
#: ../../library/mailbox.rst:271
370375
msgid ""
371376
"Write any pending changes to the filesystem. For some :class:`Mailbox` "
372377
"subclasses, changes are always written immediately and :meth:`flush` does "
373378
"nothing, but you should still make a habit of calling this method."
374379
msgstr ""
380+
"将所有待定的更改写入到文件系统。 对于某些 :class:`Mailbox` 子类来说,更改总是被立即写入因而 :meth:`flush` "
381+
"并不会做任何事,但您仍然应当养成调用此方法的习惯。"
375382

376383
#: ../../library/mailbox.rst:278
377384
msgid ""

library/string.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Iterator <[email protected]>, 2019
1414
# ppcfish <[email protected]>, 2019
1515
# Yuwei Tu <[email protected]>, 2019
16-
# Freesand Leo <[email protected]>, 2020
16+
# Freesand Leo <[email protected]>, 2021
1717
#
1818
#, fuzzy
1919
msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222
"Report-Msgid-Bugs-To: \n"
2323
"POT-Creation-Date: 2021-03-29 05:54+0000\n"
2424
"PO-Revision-Date: 2017-02-16 23:28+0000\n"
25-
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
25+
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
2626
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2727
"MIME-Version: 1.0\n"
2828
"Content-Type: text/plain; charset=UTF-8\n"
@@ -283,6 +283,9 @@ msgid ""
283283
"less sophisticated and, in particular, does not support arbitrary "
284284
"expressions."
285285
msgstr ""
286+
":meth:`str.format` 方法和 :class:`Formatter` 类共享相同的格式字符串语法(虽然对于 "
287+
":class:`Formatter` 来说,其子类可以定义它们自己的格式字符串语法)。 具体语法与 :ref:`格式化字符串字面值 "
288+
"<f-strings>` 相似,但较为简单一些,并且关键的一点是不支持任意表达式。"
286289

287290
#: ../../library/string.rst:201
288291
msgid ""

0 commit comments

Comments
 (0)