@@ -202,10 +202,13 @@ msgid ""
202202"configuration. :param encoding: The encoding used to open file when *fname*"
203203" is filename."
204204msgstr ""
205+ "如果指定为 ``False``,则当执行此调用时已存在的日志记录器会被保持启用。 默认值为 ``True`` 因为这将以向下兼容的方式启用旧有行为。 "
206+ "此行为是禁用任何已存在的非根日志记录器除非它们或它们的上级在日志配置中被显式地指定。 :param encoding: 当 *fname* "
207+ "为文件名时用于打开文件的编码格式。"
205208
206209#: ../../library/logging.config.rst:112
207210msgid "If specified as ``False``, loggers which"
208- msgstr ""
211+ msgstr "如果指定为 ``False``,那么 "
209212
210213#: ../../library/logging.config.rst:106
211214msgid ""
@@ -214,20 +217,23 @@ msgid ""
214217"behaviour is to disable any existing non-root loggers unless they or their "
215218"ancestors are explicitly named in the logging configuration."
216219msgstr ""
220+ "当执行此调用时已存在的日志记录器会保持启用。 默认值为 ``True`` 因为这将以向下兼容的方式启用旧行为。 "
221+ "此行为是禁用任何现有的非根日志记录器除非它们或它们的上级在日志记录配置中被显式地指定。"
217222
218223#: ../../library/logging.config.rst:0
219224msgid "param encoding"
220- msgstr ""
225+ msgstr "param encoding "
221226
222227#: ../../library/logging.config.rst:114
223228msgid "The encoding used to open file when *fname* is filename."
224- msgstr ""
229+ msgstr "当 *fname* 为文件名时被用于打开文件的编码格式。 "
225230
226231#: ../../library/logging.config.rst:116
227232msgid ""
228233"An instance of a subclass of :class:`~configparser.RawConfigParser` is now"
229234" accepted as a value for ``fname``. This facilitates:"
230235msgstr ""
236+ "现在接受 :class:`~configparser.RawConfigParser` 子类的实例作为 ``fname`` 的值。 这有助于:"
231237
232238#: ../../library/logging.config.rst:120
233239msgid ""
@@ -856,6 +862,13 @@ msgid ""
856862"value consists only of decimal digits, access will be attempted using the "
857863"corresponding integer value, falling back to the string value if needed."
858864msgstr ""
865+ "在该配置中,字符串 ``'cfg://handlers'`` 将解析为带有 ``handlers`` 键的字典,字符串 "
866+ "``'cfg://handlers.email`` 将解析为具有 ``email`` 键的 ``handlers`` 字典中的字典,依此类推。 字符串 "
867+ "``'cfg://handlers.email.toaddrs[1]`` 将解析为 ``'[email protected] '`` 而字符串 " 868+ "``'cfg://handlers.email.toaddrs[0]'`` 将解析为值 ``'[email protected] '``。 " 869+ "``subject`` 值 可以使用 ``'cfg://handlers.email.subject'`` 或者等价的 "
870+ "``'cfg://handlers.email[subject]'`` 来访问。 后一种形式仅在键包含空格或非字母类数字类字符的情况下才需要使用。 "
871+ "如果一个索引仅由十进制数码构成,则将尝试使用相应的整数值来访问,如果有必要则将回退为字符串值。"
859872
860873#: ../../library/logging.config.rst:606
861874msgid ""
@@ -1056,6 +1069,7 @@ msgid ""
10561069"the dictionary schema :ref:`formatters section <logging-config-dictschema-"
10571070"formatters>`."
10581071msgstr ""
1072+ "用于格式化器配置的参数与字典规范 :ref:`格式化器部分 <logging-config-dictschema-formatters>` 中的键相同。"
10591073
10601074#: ../../library/logging.config.rst:820
10611075msgid ""
0 commit comments