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

Skip to content

Commit e21a21f

Browse files
[po] auto sync
1 parent 578bb27 commit e21a21f

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

library/logging.config.po

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,27 +90,27 @@ msgstr ""
9090
msgid ""
9191
"A ``level`` which is not a string or which is a string not corresponding to "
9292
"an actual logging level."
93-
msgstr ""
93+
msgstr "``level`` 不是字符串或者不是对应于实际日志记录级别的字符串。"
9494

9595
#: ../../library/logging.config.rst:50
9696
msgid "A ``propagate`` value which is not a boolean."
97-
msgstr ""
97+
msgstr "``propagate`` 值不是布尔类型。"
9898

9999
#: ../../library/logging.config.rst:51
100100
msgid "An id which does not have a corresponding destination."
101-
msgstr ""
101+
msgstr "id 没有对应的目标。"
102102

103103
#: ../../library/logging.config.rst:52
104104
msgid "A non-existent handler id found during an incremental call."
105-
msgstr ""
105+
msgstr "在增量调用期间发现不存在的处理程序 id。"
106106

107107
#: ../../library/logging.config.rst:53
108108
msgid "An invalid logger name."
109-
msgstr ""
109+
msgstr "无效的日志记录器名称。"
110110

111111
#: ../../library/logging.config.rst:54
112112
msgid "Inability to resolve to an internal or external object."
113-
msgstr ""
113+
msgstr "无法解析为内部或外部对象。"
114114

115115
#: ../../library/logging.config.rst:56
116116
msgid ""
@@ -121,13 +121,18 @@ msgid ""
121121
":class:`DictConfigurator`. You can replace the value of "
122122
":attr:`dictConfigClass` with a suitable implementation of your own."
123123
msgstr ""
124+
"解析由 :class:`DictConfigurator` 类执行,该类的构造器可传入用于配置的字典,并且具有 :meth:`configure` "
125+
"方法。 :mod:`logging.config` 模块具有可调用属性 :attr:`dictConfigClass`,其初始值设为 "
126+
":class:`DictConfigurator`。 你可以使用你自己的适当实现来替换 :attr:`dictConfigClass` 的值。"
124127

125128
#: ../../library/logging.config.rst:64
126129
msgid ""
127130
":func:`dictConfig` calls :attr:`dictConfigClass` passing the specified "
128131
"dictionary, and then calls the :meth:`configure` method on the returned "
129132
"object to put the configuration into effect::"
130133
msgstr ""
134+
":func:`dictConfig` 会调用 :attr:`dictConfigClass` 并传入指定的字典,然后在所返回的对象上调用 "
135+
":meth:`configure` 方法以使配置生效::"
131136

132137
#: ../../library/logging.config.rst:71
133138
msgid ""
@@ -138,6 +143,10 @@ msgid ""
138143
":func:`dictConfig` could be called exactly as in the default, uncustomized "
139144
"state."
140145
msgstr ""
146+
"例如,:class:`DictConfigurator` 的子类可以在它自己的 :meth:`__init__()` 中调用 "
147+
"``DictConfigurator.__init__()``,然后设置可以在后续 :meth:`configure` 调用中使用的自定义前缀。 "
148+
":attr:`dictConfigClass` 将被绑定到这个新的子类,然后就可以与在默认的未定制状态下完全相同的方式调用 "
149+
":func:`dictConfig`。"
141150

142151
#: ../../library/logging.config.rst:82
143152
msgid ""

tutorial/classes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ msgid ""
219219
"Although scopes are determined statically, they are used dynamically. At any"
220220
" time during execution, At any time during execution, there are 3 or 4 "
221221
"nested scopes whose namespaces are directly accessible:"
222-
msgstr ""
222+
msgstr "尽管作用域是静态确定的,但它们会被动态使用。 在程序运行的任何时刻,会有 3 或 4 个命名空间可被直接访问的嵌套作用域:"
223223

224224
#: ../../tutorial/classes.rst:120
225225
msgid "the innermost scope, which is searched first, contains the local names"

tutorial/controlflow.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ msgid ""
301301
"to by that name as a user-defined function. Other names can also point to "
302302
"that same function object and can also be used to access the function::"
303303
msgstr ""
304+
"函数定义会将函数名称与函数对象在当前符号表中进行关联。 解释器会将该名称所指向的对象识别为用户自定义函数。 "
305+
"其他名称也可指向同一个函数对象并可被用来访问访函数::"
304306

305307
#: ../../tutorial/controlflow.rst:311
306308
msgid ""

0 commit comments

Comments
 (0)