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

Skip to content

Commit 2eebfcd

Browse files
[po] auto sync
1 parent 90a1fb6 commit 2eebfcd

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

library/logging.handlers.po

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,18 +1281,20 @@ msgid ""
12811281
"able to access the registry to get the .dll name. The current version does "
12821282
"not do this."
12831283
msgstr ""
1284+
"这时,你就可以从注册表中移除作为事件日志条目来源的应用名称。 但是,如果你这样做,你将无法如你所预期的那样在事件日志查看器中看到这些事件 —— "
1285+
"它必须能访问注册表来获取 .dll 名称。 当前版本并不会这样做。"
12841286

12851287
#: ../../library/logging.handlers.rst:775
12861288
msgid ""
12871289
"Determines the message ID, event category and event type, and then logs the "
12881290
"message in the NT event log."
1289-
msgstr ""
1291+
msgstr "确定消息 ID,事件类别和事件类型,然后将消息记录到 NT 事件日志中。"
12901292

12911293
#: ../../library/logging.handlers.rst:781
12921294
msgid ""
12931295
"Returns the event category for the record. Override this if you want to "
12941296
"specify your own categories. This version returns 0."
1295-
msgstr ""
1297+
msgstr "返回记录的事件类别。 如果你希望指定你自己的类别就要重载此方法。 此版本将返回 0。"
12961298

12971299
#: ../../library/logging.handlers.rst:787
12981300
msgid ""
@@ -1304,6 +1306,10 @@ msgid ""
13041306
"will either need to override this method or place a suitable dictionary in "
13051307
"the handler's *typemap* attribute."
13061308
msgstr ""
1309+
"返回记录的事件类型。 如果你希望指定你自己的类型就要重载此方法。 此版本将使用处理程序的 typemap 属性来执行映射,该属性在 "
1310+
":meth:`__init__` 被设置为一个字典,其中包含 :const:`DEBUG`, :const:`INFO`, "
1311+
":const:`WARNING`, :const:`ERROR` 和 :const:`CRITICAL` 的映射。 "
1312+
"如果你使用你自己的级别,你将需要重载此方法或者在处理程序的 *typemap* 属性中放置一个合适的字典。"
13071313

13081314
#: ../../library/logging.handlers.rst:798
13091315
msgid ""
@@ -1313,16 +1319,20 @@ msgid ""
13131319
"lookup to get the message ID. This version returns 1, which is the base "
13141320
"message ID in :file:`win32service.pyd`."
13151321
msgstr ""
1322+
"返回记录的消息 ID。 如果你使用你自己的消息,你可以通过将 *msg* 传给日志记录器作为 ID 而非格式字符串实现此功能。 "
1323+
"然后,你可以在这里使用字典查找来获取消息 ID。 此版本将返回 1,是 :file:`win32service.pyd` 中的基本消息 ID。"
13161324

13171325
#: ../../library/logging.handlers.rst:807
13181326
msgid "SMTPHandler"
1319-
msgstr ""
1327+
msgstr "SMTPHandler"
13201328

13211329
#: ../../library/logging.handlers.rst:809
13221330
msgid ""
13231331
"The :class:`SMTPHandler` class, located in the :mod:`logging.handlers` "
13241332
"module, supports sending logging messages to an email address via SMTP."
13251333
msgstr ""
1334+
":class:`SMTPHandler` 类位于 :mod:`logging.handlers` 模块,它支持将日志记录消息通过 SMTP "
1335+
"发送到一个电子邮件地址。"
13261336

13271337
#: ../../library/logging.handlers.rst:815
13281338
msgid ""

0 commit comments

Comments
 (0)