@@ -495,12 +495,14 @@ msgid ""
495495"also sets the filename suffix. Rotating happens based on the product of "
496496"*when* and *interval*."
497497msgstr ""
498+ "返回一个新的 :class:`TimedRotatingFileHandler` 类实例。 指定的文件会被打开并用作日志记录的流。 "
499+ "对于轮换操作它还会设置文件名前缀。 轮换的发生是基于 *when* 和 *interval* 的积。"
498500
499501#: ../../library/logging.handlers.rst:356
500502msgid ""
501503"You can use the *when* to specify the type of *interval*. The list of "
502504"possible values is below. Note that they are not case sensitive."
503- msgstr ""
505+ msgstr "你可以使用 *when* 来指定 *interval* 的类型。 可能的值列表如下。 请注意它们不是大小写敏感的。 "
504506
505507#: ../../library/logging.handlers.rst:360
506508msgid "Value"
@@ -564,7 +566,7 @@ msgstr "工作日(0=星期一)"
564566#: ../../library/logging.handlers.rst:370
565567#: ../../library/logging.handlers.rst:373
566568msgid "Used to compute initial rollover time"
567- msgstr ""
569+ msgstr "用于计算初始轮换时间 "
568570
569571#: ../../library/logging.handlers.rst:373
570572msgid "``'midnight'``"
@@ -573,14 +575,16 @@ msgstr "``'midnight'``"
573575#: ../../library/logging.handlers.rst:373
574576msgid ""
575577"Roll over at midnight, if *atTime* not specified, else at time *atTime*"
576- msgstr ""
578+ msgstr "如果未指定 *atTime* 则在午夜执行轮换,否则将使用 *atTime*。 "
577579
578580#: ../../library/logging.handlers.rst:378
579581msgid ""
580582"When using weekday-based rotation, specify 'W0' for Monday, 'W1' for "
581583"Tuesday, and so on up to 'W6' for Sunday. In this case, the value passed for"
582584" *interval* isn't used."
583585msgstr ""
586+ "当使用基于星期的轮换时,星期一为 'W0',星期二为 'W1',以此类推直至星期日为 'W6'。 在这种情况下,传入的 *interval* "
587+ "值不会被使用。"
584588
585589#: ../../library/logging.handlers.rst:382
586590msgid ""
0 commit comments