Skip to content

Commit 4f40e0d

Browse files
[po] auto sync
1 parent 68c63d8 commit 4f40e0d

File tree

17 files changed

+1148
-1107
lines changed

17 files changed

+1148
-1107
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.18%", "updated_at": "2025-02-27T03:48:44Z"}
1+
{"translation": "81.11%", "updated_at": "2025-02-28T15:46:10Z"}

c-api/module.po

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-07 14:52+0000\n"
14+
"POT-Creation-Date: 2025-02-28 14:56+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -533,10 +533,8 @@ msgstr "在一个模块定义中不能指定多个 ``Py_mod_multiple_interpreter
533533
#: ../../c-api/module.rst:417
534534
msgid ""
535535
"If ``Py_mod_multiple_interpreters`` is not specified, the import machinery "
536-
"defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``."
536+
"defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED``."
537537
msgstr ""
538-
"如果未指定 ``Py_mod_multiple_interpreters``,则导入机制默认为 "
539-
"``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``。"
540538

541539
#: ../../c-api/module.rst:422
542540
msgid "See :PEP:`489` for more details on multi-phase initialization."

deprecations/index.po

Lines changed: 78 additions & 73 deletions
Large diffs are not rendered by default.

deprecations/pending-removal-in-future.po

Lines changed: 25 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
15+
"POT-Creation-Date: 2025-02-28 14:56+0000\n"
1616
"PO-Revision-Date: 2024-07-26 14:50+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -280,115 +280,109 @@ msgid "``ssl.TLSVersion.TLSv1_1``"
280280
msgstr "``ssl.TLSVersion.TLSv1_1``"
281281

282282
#: ../../deprecations/pending-removal-in-future.rst:105
283-
msgid ""
284-
":func:`sysconfig.is_python_build` *check_home* parameter is deprecated and "
285-
"ignored."
286-
msgstr ":func:`sysconfig.is_python_build` *check_home* 形参已被弃用并会被忽略。"
287-
288-
#: ../../deprecations/pending-removal-in-future.rst:108
289283
msgid ":mod:`threading` methods:"
290284
msgstr ":mod:`threading` 的方法:"
291285

292-
#: ../../deprecations/pending-removal-in-future.rst:110
286+
#: ../../deprecations/pending-removal-in-future.rst:107
293287
msgid ""
294288
":meth:`!threading.Condition.notifyAll`: use "
295289
":meth:`~threading.Condition.notify_all`."
296290
msgstr ""
297291
":meth:`!threading.Condition.notifyAll`: 使用 "
298292
":meth:`~threading.Condition.notify_all`。"
299293

300-
#: ../../deprecations/pending-removal-in-future.rst:111
294+
#: ../../deprecations/pending-removal-in-future.rst:108
301295
msgid ":meth:`!threading.Event.isSet`: use :meth:`~threading.Event.is_set`."
302296
msgstr ":meth:`!threading.Event.isSet`: 使用 :meth:`~threading.Event.is_set`。"
303297

304-
#: ../../deprecations/pending-removal-in-future.rst:112
298+
#: ../../deprecations/pending-removal-in-future.rst:109
305299
msgid ""
306300
":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: use "
307301
":attr:`threading.Thread.daemon` attribute."
308302
msgstr ""
309303
":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: 使用 "
310304
":attr:`threading.Thread.daemon` 属性。"
311305

312-
#: ../../deprecations/pending-removal-in-future.rst:114
306+
#: ../../deprecations/pending-removal-in-future.rst:111
313307
msgid ""
314308
":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: use "
315309
":attr:`threading.Thread.name` attribute."
316310
msgstr ""
317311
":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: 使用 "
318312
":attr:`threading.Thread.name` 属性。"
319313

320-
#: ../../deprecations/pending-removal-in-future.rst:116
314+
#: ../../deprecations/pending-removal-in-future.rst:113
321315
msgid ""
322316
":meth:`!threading.currentThread`: use :meth:`threading.current_thread`."
323317
msgstr ""
324318
":meth:`!threading.currentThread`: 使用 :meth:`threading.current_thread`。"
325319

326-
#: ../../deprecations/pending-removal-in-future.rst:117
320+
#: ../../deprecations/pending-removal-in-future.rst:114
327321
msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`."
328322
msgstr ":meth:`!threading.activeCount`: 使用 :meth:`threading.active_count`。"
329323

330-
#: ../../deprecations/pending-removal-in-future.rst:119
324+
#: ../../deprecations/pending-removal-in-future.rst:116
331325
msgid ":class:`typing.Text` (:gh:`92332`)."
332326
msgstr ":class:`typing.Text` (:gh:`92332`)。"
333327

334-
#: ../../deprecations/pending-removal-in-future.rst:121
328+
#: ../../deprecations/pending-removal-in-future.rst:118
335329
msgid ""
336330
":class:`unittest.IsolatedAsyncioTestCase`: it is deprecated to return a "
337331
"value that is not ``None`` from a test case."
338332
msgstr ""
339333
":class:`unittest.IsolatedAsyncioTestCase`: 从测试用例返回不为 ``None`` 的值的做法已被弃用。"
340334

341-
#: ../../deprecations/pending-removal-in-future.rst:124
335+
#: ../../deprecations/pending-removal-in-future.rst:121
342336
msgid ""
343337
":mod:`urllib.parse` deprecated functions: :func:`~urllib.parse.urlparse` "
344338
"instead"
345339
msgstr ":mod:`urllib.parse` 函数已被弃用:改用 :func:`~urllib.parse.urlparse`"
346340

347-
#: ../../deprecations/pending-removal-in-future.rst:126
341+
#: ../../deprecations/pending-removal-in-future.rst:123
348342
msgid "``splitattr()``"
349343
msgstr "``splitattr()``"
350344

351-
#: ../../deprecations/pending-removal-in-future.rst:127
345+
#: ../../deprecations/pending-removal-in-future.rst:124
352346
msgid "``splithost()``"
353347
msgstr "``splithost()``"
354348

355-
#: ../../deprecations/pending-removal-in-future.rst:128
349+
#: ../../deprecations/pending-removal-in-future.rst:125
356350
msgid "``splitnport()``"
357351
msgstr "``splitnport()``"
358352

359-
#: ../../deprecations/pending-removal-in-future.rst:129
353+
#: ../../deprecations/pending-removal-in-future.rst:126
360354
msgid "``splitpasswd()``"
361355
msgstr "``splitpasswd()``"
362356

363-
#: ../../deprecations/pending-removal-in-future.rst:130
357+
#: ../../deprecations/pending-removal-in-future.rst:127
364358
msgid "``splitport()``"
365359
msgstr "``splitport()``"
366360

367-
#: ../../deprecations/pending-removal-in-future.rst:131
361+
#: ../../deprecations/pending-removal-in-future.rst:128
368362
msgid "``splitquery()``"
369363
msgstr "``splitquery()``"
370364

371-
#: ../../deprecations/pending-removal-in-future.rst:132
365+
#: ../../deprecations/pending-removal-in-future.rst:129
372366
msgid "``splittag()``"
373367
msgstr "``splittag()``"
374368

375-
#: ../../deprecations/pending-removal-in-future.rst:133
369+
#: ../../deprecations/pending-removal-in-future.rst:130
376370
msgid "``splittype()``"
377371
msgstr "``splittype()``"
378372

379-
#: ../../deprecations/pending-removal-in-future.rst:134
373+
#: ../../deprecations/pending-removal-in-future.rst:131
380374
msgid "``splituser()``"
381375
msgstr "``splituser()``"
382376

383-
#: ../../deprecations/pending-removal-in-future.rst:135
377+
#: ../../deprecations/pending-removal-in-future.rst:132
384378
msgid "``splitvalue()``"
385379
msgstr "``splitvalue()``"
386380

387-
#: ../../deprecations/pending-removal-in-future.rst:136
381+
#: ../../deprecations/pending-removal-in-future.rst:133
388382
msgid "``to_bytes()``"
389383
msgstr "``to_bytes()``"
390384

391-
#: ../../deprecations/pending-removal-in-future.rst:138
385+
#: ../../deprecations/pending-removal-in-future.rst:135
392386
msgid ""
393387
":mod:`urllib.request`: :class:`~urllib.request.URLopener` and "
394388
":class:`~urllib.request.FancyURLopener` style of invoking requests is "
@@ -398,13 +392,13 @@ msgstr ""
398392
":class:`~urllib.request.FancyURLopener` 方式已被弃用。 改用更新 "
399393
":func:`~urllib.request.urlopen` 函数和方法。"
400394

401-
#: ../../deprecations/pending-removal-in-future.rst:142
395+
#: ../../deprecations/pending-removal-in-future.rst:139
402396
msgid ""
403397
":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` should not do partial "
404398
"writes."
405399
msgstr ":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` 不应执行部分写入。"
406400

407-
#: ../../deprecations/pending-removal-in-future.rst:145
401+
#: ../../deprecations/pending-removal-in-future.rst:142
408402
msgid ""
409403
":mod:`xml.etree.ElementTree`: Testing the truth value of an "
410404
":class:`~xml.etree.ElementTree.Element` is deprecated. In a future release "
@@ -415,7 +409,7 @@ msgstr ""
415409
"的真值测试已被弃用。 在未来的发布版中它将始终返回 ``True``。 建议改用显式的 ``len(elem)`` 或 ``elem is not "
416410
"None`` 测试。"
417411

418-
#: ../../deprecations/pending-removal-in-future.rst:150
412+
#: ../../deprecations/pending-removal-in-future.rst:147
419413
msgid ""
420414
":meth:`zipimport.zipimporter.load_module` is deprecated: use "
421415
":meth:`~zipimport.zipimporter.exec_module` instead."

glossary.po

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
17+
"POT-Creation-Date: 2025-02-28 14:56+0000\n"
1818
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1919
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1380,14 +1380,10 @@ msgid ""
13801380
"iterables include all sequence types (such as :class:`list`, :class:`str`, "
13811381
"and :class:`tuple`) and some non-sequence types like :class:`dict`, "
13821382
":term:`file objects <file object>`, and objects of any classes you define "
1383-
"with an :meth:`~iterator.__iter__` method or with a "
1383+
"with an :meth:`~object.__iter__` method or with a "
13841384
":meth:`~object.__getitem__` method that implements :term:`sequence` "
13851385
"semantics."
13861386
msgstr ""
1387-
"一种能够逐个返回其成员项的对象。 可迭代对象的例子包括所有序列类型(如 :class:`list`, :class:`str` 和 "
1388-
":class:`tuple` 等)以及某些非序列类型如 :class:`dict`, :term:`文件对象 <file object>` "
1389-
"以及任何定义了 :meth:`~iterator.__iter__` 方法或实现了 :term:`sequence` 语义的 "
1390-
":meth:`~object.__getitem__` 方法的自定义类的对象。"
13911387

13921388
#: ../../glossary.rst:663
13931389
msgid ""

library/abc.po

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2024, Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-10-04 14:53+0000\n"
14+
"POT-Creation-Date: 2025-02-28 14:56+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -264,39 +264,29 @@ msgstr ""
264264
#: ../../library/abc.rst:143
265265
msgid ""
266266
"The ABC ``MyIterable`` defines the standard iterable method, "
267-
":meth:`~iterator.__iter__`, as an abstract method. The implementation given"
268-
" here can still be called from subclasses. The :meth:`!get_iterator` method"
269-
" is also part of the ``MyIterable`` abstract base class, but it does not "
270-
"have to be overridden in non-abstract derived classes."
267+
":meth:`~object.__iter__`, as an abstract method. The implementation given "
268+
"here can still be called from subclasses. The :meth:`!get_iterator` method "
269+
"is also part of the ``MyIterable`` abstract base class, but it does not have"
270+
" to be overridden in non-abstract derived classes."
271271
msgstr ""
272-
"ABC ``MyIterable`` 将标准的迭代方法 :meth:`~iterator.__iter__` 定义为一个抽象方法。 "
273-
"这里给出的实现仍可在子类中被调用。 :meth:`!get_iterator` 方法也是 ``MyIterable`` "
274-
"抽象基类的一部分,但它并非必须被非抽象的派生类重写。"
275272

276273
#: ../../library/abc.rst:149
277274
msgid ""
278275
"The :meth:`__subclasshook__` class method defined here says that any class "
279-
"that has an :meth:`~iterator.__iter__` method in its "
280-
":attr:`~object.__dict__` (or in that of one of its base classes, accessed "
281-
"via the :attr:`~type.__mro__` list) is considered a ``MyIterable`` too."
276+
"that has an :meth:`~object.__iter__` method in its :attr:`~object.__dict__` "
277+
"(or in that of one of its base classes, accessed via the "
278+
":attr:`~type.__mro__` list) is considered a ``MyIterable`` too."
282279
msgstr ""
283-
"这里定义的 :meth:`__subclasshook__` 类方法指明任何在其 :attr:`~object.__dict__` (或在其通过 "
284-
":attr:`~type.__mro__` 列表访问的基类) 中具有 :meth:`~iterator.__iter__` 方法的类也都会被视为 "
285-
"``MyIterable``。"
286280

287281
#: ../../library/abc.rst:154
288282
msgid ""
289283
"Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``, "
290-
"even though it does not define an :meth:`~iterator.__iter__` method (it uses"
291-
" the old-style iterable protocol, defined in terms of "
292-
":meth:`~object.__len__` and :meth:`~object.__getitem__`). Note that this "
293-
"will not make ``get_iterator`` available as a method of ``Foo``, so it is "
294-
"provided separately."
295-
msgstr ""
296-
"最后,末尾的行使得 ``Foo`` 成为 ``MyIterable`` 的一个虚子类,即使它没有定义 "
297-
":meth:`~iterator.__iter__` 方法(它使用了以 :meth:`~object.__len__` 和 "
298-
":meth:`~object.__getitem__` 术语定义的旧式可迭代协议)。 注意这将不会使 ``get_iterator`` 成为对 "
299-
"``Foo`` 可用的方法,所以它将被单独地提供。"
284+
"even though it does not define an :meth:`~object.__iter__` method (it uses "
285+
"the old-style iterable protocol, defined in terms of :meth:`~object.__len__`"
286+
" and :meth:`~object.__getitem__`). Note that this will not make "
287+
"``get_iterator`` available as a method of ``Foo``, so it is provided "
288+
"separately."
289+
msgstr ""
300290

301291
#: ../../library/abc.rst:163
302292
msgid "The :mod:`!abc` module also provides the following decorator:"

0 commit comments

Comments
 (0)