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

Skip to content

Commit 9dcd17c

Browse files
[po] auto sync
1 parent 943832e commit 9dcd17c

3 files changed

Lines changed: 20 additions & 9 deletions

File tree

library/logging.config.po

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

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

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

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

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

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

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

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

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

144153
#: ../../library/logging.config.rst:82
145154
msgid ""

tutorial/classes.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# ww song <[email protected]>, 2020
1010
# eric R <[email protected]>, 2020
1111
# Junkai Shao <[email protected]>, 2020
12-
# Freesand Leo <[email protected]>, 2020
1312
# zkonge <[email protected]>, 2020
1413
# nick <[email protected]>, 2020
14+
# Freesand Leo <[email protected]>, 2020
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2020-07-06 14:24+0000\n"
2222
"PO-Revision-Date: 2020-05-30 12:16+0000\n"
23-
"Last-Translator: nick <2330458484@qq.com>, 2020\n"
23+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -220,7 +220,7 @@ msgid ""
220220
"Although scopes are determined statically, they are used dynamically. At any"
221221
" time during execution, At any time during execution, there are 3 or 4 "
222222
"nested scopes whose namespaces are directly accessible:"
223-
msgstr ""
223+
msgstr "尽管作用域是静态确定的,但它们会被动态使用。 在程序运行的任何时刻,会有 3 或 4 个命名空间可被直接访问的嵌套作用域:"
224224

225225
#: ../../tutorial/classes.rst:120
226226
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)