File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -414,18 +414,23 @@ msgid ""
414414"used as the default message representation. If *create* is ``True``, the "
415415"mailbox is created if it does not exist."
416416msgstr ""
417+ ":class:`Mailbox` 的一个子类,用于 Maildir 格式的邮箱。 形参 *factory* "
418+ "是一个可调用对象,它接受一个文件类消息表示形式(其行为相当于以二进制模式打开)并返回一个自定义的表示形式。 如果 *factory* 为 "
419+ "``None``,则会使用 :class:`MaildirMessage` 作为默认的消息表示形式。 如果 *create* 为 "
420+ "``True``,则当邮箱不存在时会创建它。"
417421
418422#: ../../library/mailbox.rst:311
419423msgid ""
420424"If *create* is ``True`` and the *dirname* path exists, it will be treated as"
421425" an existing maildir without attempting to verify its directory layout."
422426msgstr ""
427+ "如果 *create* 为 ``True`` 且 *dirname* 路径存在,它将被视为已有的 maildir 而无需尝试验证其目录布局。"
423428
424429#: ../../library/mailbox.rst:314
425430msgid ""
426431"It is for historical reasons that *dirname* is named as such rather than "
427432"*path*."
428- msgstr ""
433+ msgstr "使用 *dirname* 这个名称而不使用 *path* 是出于历史原因。 "
429434
430435#: ../../library/mailbox.rst:316
431436msgid ""
@@ -436,6 +441,9 @@ msgid ""
436441"by multiple unrelated programs without data corruption, so file locking is "
437442"unnecessary."
438443msgstr ""
444+ "Maildir 是一种基于目录的邮箱格式,它是针对 qmail 邮件传输代理而发明的,现在也得到了其他程序的广泛支持。 Maildir "
445+ "邮箱中的消息存储在一个公共目录结构中的单独文件内。 这样的设计允许 Maildir "
446+ "邮箱被多个彼此无关的程序访问和修改而不会导致数据损坏,因此文件锁定操作是不必要的。"
439447
440448#: ../../library/mailbox.rst:323
441449msgid ""
You can’t perform that action at this time.
0 commit comments