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

Skip to content

Commit 04688b6

Browse files
[po] auto sync
1 parent 2a80eda commit 04688b6

4 files changed

Lines changed: 22 additions & 4 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.55%", "updated_at": "2023-08-10T23:56:43Z"}
1+
{"translation": "89.57%", "updated_at": "2023-08-11T02:04:50Z"}

c-api/code.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,19 @@ msgid ""
212212
"success, or ``-1`` and set an exception on error (e.g. if the given "
213213
"*watcher_id* was never registered.)"
214214
msgstr ""
215+
"清除之前从 :c:func:`PyCode_AddWatcher` 返回的当前解释器中由 *watcher_id* 所标识的监视器。 成功时返回 "
216+
"``0``,或者出错时(例如当给定的 *watcher_id* 未被注册)返回 ``-1`` 并设置异常。"
215217

216218
#: ../../c-api/code.rst:160
217219
msgid ""
218220
"Enumeration of possible code object watcher events: - "
219221
"``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
220222
msgstr ""
223+
"由可能的代码对象监视器事件组成的枚举: - ``PY_CODE_EVENT_CREATE`` - ``PY_CODE_EVENT_DESTROY``"
221224

222225
#: ../../c-api/code.rst:168
223226
msgid "Type of a code object watcher callback function."
224-
msgstr ""
227+
msgstr "代码对象监视器回调函数的类型。"
225228

226229
#: ../../c-api/code.rst:170
227230
msgid ""
@@ -230,6 +233,8 @@ msgid ""
230233
"the destruction of *co* takes place, so the prior state of *co* can be "
231234
"inspected."
232235
msgstr ""
236+
"如果 *event* 为 ``PY_CODE_EVENT_CREATE`` ,则回调会在 `co` 完全初始化后被发起调用。 否则,回调会在 *co* "
237+
"执行销毁之前被发起调用,这样就可以检查 *co* 之前的状态。"
233238

234239
#: ../../c-api/code.rst:175
235240
msgid ""
@@ -238,6 +243,9 @@ msgid ""
238243
"from being freed at this time. When the resurrected object is destroyed "
239244
"later, any watcher callbacks active at that time will be called again."
240245
msgstr ""
246+
"如果 *event* 为 "
247+
"``PY_CODE_EVENT_DESTROY``,则在回调中接受一个即将被销毁的代码对象的引用将使其重生,并阻止其在此时被释放。 "
248+
"当重生的对象以后再被销毁时,任何在当时已激活的监视器回调将再次被调用。"
241249

242250
#: ../../c-api/code.rst:180
243251
msgid ""

howto/clinic.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,20 @@ msgstr "背景"
102102

103103
#: ../../howto/clinic.rst:50
104104
msgid "Basic concepts"
105-
msgstr ""
105+
msgstr "基本概念"
106106

107107
#: ../../howto/clinic.rst:52
108108
msgid ""
109109
"When Argument Clinic is run on a file, either via the :ref:`clinic-cli` or "
110110
"via ``make clinic``, it will scan over the input files looking for "
111111
":term:`start lines <start line>`:"
112112
msgstr ""
113+
"在文件上运行 Argument Clinic 时,无论是通过 :ref:`clinic-cli` 还是通过 ``make "
114+
"clinic``,它都会扫描输入文件来查找 :term:`开始行 <start line>`:"
113115

114116
#: ../../howto/clinic.rst:60
115117
msgid "When it finds one, it reads everything up to the :term:`end line`:"
116-
msgstr ""
118+
msgstr "在找到之后,它会读取所有内容直到 :term:`end line`:"
117119

118120
#: ../../howto/clinic.rst:66
119121
msgid ""
@@ -124,6 +126,10 @@ msgid ""
124126
"and :term:`checksum line`, are collectively called an Argument Clinic "
125127
":term:`block`:"
126128
msgstr ""
129+
"这两行之间的所有内容都是 Argument Clinic 的 :term:`input`。 当 Argument Clinic 解析 input "
130+
"时,会生成 :term:`output`。 output 会紧接着输入被重新写入到 C 文件中,后面再加一个 :term:`checksum "
131+
"line`。 所有这些行,包括 :term:`start line` 和 :term:`checksum line`,被统称为 Argument "
132+
"Clinic 的 :term:`block`:"
127133

128134
#: ../../howto/clinic.rst:81
129135
msgid ""
@@ -132,6 +138,8 @@ msgid ""
132138
"fresh :term:`checksum line`. If the :term:`input` hasn't changed, the output"
133139
" won't change either."
134140
msgstr ""
141+
"如果您在同一文件上第二次运行 Argument Clinic,Argument Clinic 将丢弃旧的 :term:`output` 并写出新的 "
142+
"output 加一个新的 :term:`checksum line`。 如果 :term:`input` 没有改变,则输出也不会改变。"
135143

136144
#: ../../howto/clinic.rst:88
137145
msgid ""

library/pathlib.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,8 @@ msgid ""
11301130
":func:`Path.glob` with \"``**/``\" added in front of the *pattern*, where "
11311131
"*patterns* are the same as for :mod:`fnmatch`::"
11321132
msgstr ""
1133+
"递归地对给定的相对 *pattern* 执行 glob 通配。 这类似于当调用 :func:`Path.glob` 时在 *pattern* 之前加上 "
1134+
"\"``**/``\",其中 *patterns* 与 :mod:`fnmatch` 中的相同::"
11331135

11341136
#: ../../library/pathlib.rst:1338
11351137
msgid ""

0 commit comments

Comments
 (0)