10BC0 [po] auto sync · python/python-docs-zh-cn@a6c0d29 · GitHub
[go: up one dir, main page]

Skip to content

Commit a6c0d29

Browse files
[po] auto sync
1 parent f397200 commit a6c0d29

File tree

19 files changed

+1689
-1642
lines changed

19 files changed

+1689
-1642
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.05%", "updated_at": "2025-02-27T14:55:45Z"}
1+
{"translation": "80.96%", "updated_at": "2025-02-28T14:55:57Z"}

c-api/module.po

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.13\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2025-02-03 17:40+0000\n"
21+
"POT-Creation-Date: 2025-02-28 14:17+0000\n"
2222
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
2323
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -540,10 +540,8 @@ msgstr "在一个模块定义中不能指定多个 ``Py_mod_multiple_interpreter
540540
#: ../../c-api/module.rst:417
541541
msgid ""
542542
"If ``Py_mod_multiple_interpreters`` is not specified, the import machinery "
543-
"defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``."
543+
"defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED``."
544544
msgstr ""
545-
"如果未指定 ``Py_mod_multiple_interpreters``,则导入机制默认为 "
546-
"``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``。"
547545

548546
#: ../../c-api/module.rst:430
549547
msgid ""

deprecations/index.po

Lines changed: 83 additions & 78 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.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-02-14 14:17+0000\n"
15+
"POT-Creation-Date: 2025-02-28 14:17+0000\n"
1616
"PO-Revision-Date: 2024-07-20 00:54+0000\n"
1717
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -288,115 +288,109 @@ msgid "``ssl.TLSVersion.TLSv1_1``"
288288
msgstr "``ssl.TLSVersion.TLSv1_1``"
289289

290290
#: ../../deprecations/pending-removal-in-future.rst:108
291-
msgid ""
292-
":func:`sysconfig.is_python_build` *check_home* parameter is deprecated and "
293-
"ignored."
294-
msgstr ":func:`sysconfig.is_python_build` *check_home* 形参已被弃用并会被忽略。"
295-
296-
#: ../../deprecations/pending-removal-in-future.rst:111
297291
msgid ":mod:`threading` methods:"
298292
msgstr ":mod:`threading` 的方法:"
299293

300-
#: ../../deprecations/pending-removal-in-future.rst:113
294+
#: ../../deprecations/pending-removal-in-future.rst:110
301295
msgid ""
302296
":meth:`!threading.Condition.notifyAll`: use "
303297
":meth:`~threading.Condition.notify_all`."
304298
msgstr ""
305299
":meth:`!threading.Condition.notifyAll`: 使用 "
306300
":meth:`~threading.Condition.notify_all`。"
307301

308-
#: ../../deprecations/pending-removal-in-future.rst:114
302+
#: ../../deprecations/pending-removal-in-future.rst:111
309303
msgid ":meth:`!threading.Event.isSet`: use :meth:`~threading.Event.is_set`."
310304
msgstr ":meth:`!threading.Event.isSet`: 使用 :meth:`~threading.Event.is_set`。"
311305

312-
#: ../../deprecations/pending-removal-in-future.rst:115
306+
#: ../../deprecations/pending-removal-in-future.rst:112
313307
msgid ""
314308
":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: use "
315309
":attr:`threading.Thread.daemon` attribute."
316310
msgstr ""
317311
":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: 使用 "
318312
":attr:`threading.Thread.daemon` 属性。"
319313

320-
#: ../../deprecations/pending-removal-in-future.rst:117
314+
#: ../../deprecations/pending-removal-in-future.rst:114
321315
msgid ""
322316
":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: use "
323317
":attr:`threading.Thread.name` attribute."
324318
msgstr ""
325319
":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: 使用 "
326320
":attr:`threading.Thread.name` 属性。"
327321

328-
#: ../../deprecations/pending-removal-in-future.rst:119
322+
#: ../../deprecations/pending-removal-in-future.rst:116
329323
msgid ""
330324
":meth:`!threading.currentThread`: use :meth:`threading.current_thread`."
331325
msgstr ""
332326
":meth:`!threading.currentThread`: 使用 :meth:`threading.current_thread`。"
333327

334-
#: ../../deprecations/pending-removal-in-future.rst:120
328+
#: ../../deprecations/pending-removal-in-future.rst:117
335329
msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`."
336330
msgstr ":meth:`!threading.activeCount`: 使用 :meth:`threading.active_count`。"
337331

338-
#: ../../deprecations/pending-removal-in-future.rst:122
332+
#: ../../deprecations/pending-removal-in-future.rst:119
339333
msgid ":class:`typing.Text` (:gh:`92332`)."
340334
msgstr ":class:`typing.Text` (:gh:`92332`)。"
341335

342-
#: ../../deprecations/pending-removal-in-future.rst:124
336+
#: ../../deprecations/pending-removal-in-future.rst:121
343337
msgid ""
344338
":class:`unittest.IsolatedAsyncioTestCase`: it is deprecated to return a "
345339
"value that is not ``None`` from a test case."
346340
msgstr ""
347341
":class:`unittest.IsolatedAsyncioTestCase`: 从测试用例返回不为 ``None`` 的值的做法已被弃用。"
348342

349-
#: ../../deprecations/pending-removal-in-future.rst:127
343+
#: ../../deprecations/pending-removal-in-future.rst:124
350344
msgid ""
351345
":mod:`urllib.parse` deprecated functions: :func:`~urllib.parse.urlparse` "
352346
"instead"
353347
msgstr ":mod:`urllib.parse` 函数已被弃用:改用 :func:`~urllib.parse.urlparse`"
354348

355-
#: ../../deprecations/pending-removal-in-future.rst:129
349+
#: ../../deprecations/pending-removal-in-future.rst:126
356350
msgid "``splitattr()``"
357351
msgstr "``splitattr()``"
358352

359-
#: ../../deprecations/pending-removal-in-future.rst:130
353+
#: ../../deprecations/pending-removal-in-future.rst:127
360354
msgid "``splithost()``"
361355
msgstr "``splithost()``"
362356

363-
#: ../../deprecations/pending-removal-in-future.rst:131
357+
#: ../../deprecations/pending-removal-in-future.rst:128
364358
msgid "``splitnport()``"
365359
msgstr "``splitnport()``"
366360

367-
#: ../../deprecations/pending-removal-in-future.rst:132
361+
#: ../../deprecations/pending-removal-in-future.rst:129
368362
msgid "``splitpasswd()``"
369363
msgstr "``splitpasswd()``"
370364

371-
#: ../../deprecations/pending-removal-in-future.rst:133
365+
#: ../../deprecations/pending-removal-in-future.rst:130
372366
msgid "``splitport()``"
373367
msgstr "``splitport()``"
374368

375-
#: ../../deprecations/pending-removal-in-future.rst:134
369+
#: ../../deprecations/pending-removal-in-future.rst:131
376370
msgid "``splitquery()``"
377371
msgstr "``splitquery()``"
378372

379-
#: ../../deprecations/pending-removal-in-future.rst:135
373+
#: ../../deprecations/pending-removal-in-future.rst:132
380374
msgid "``splittag()``"
381375
msgstr "``splittag()``"
382376

383-
#: ../../deprecations/pending-removal-in-future.rst:136
377+
#: ../../deprecations/pending-removal-in-future.rst:133
384378
msgid "``splittype()``"
385379
msgstr "``splittype()``"
386380

387-
#: ../../deprecations/pending-removal-in-future.rst:137
381+
#: ../../deprecations/pending-removal-in-future.rst:134
388382
msgid "``splituser()``"
389383
msgstr "``splituser()``"
390384

391-
#: ../../deprecations/pending-removal-in-future.rst:138
385+
#: ../../deprecations/pending-removal-in-future.rst:135
392386
msgid "``splitvalue()``"
393387
msgstr "``splitvalue()``"
394388

395-
#: ../../deprecations/pending-removal-in-future.rst:139
389+
#: ../../deprecations/pending-removal-in-future.rst:136
396390
msgid "``to_bytes()``"
397391
msgstr "``to_bytes()``"
398392

399-
#: ../../deprecations/pending-removal-in-future.rst:141
393+
#: ../../deprecations/pending-removal-in-future.rst:138
400394
msgid ""
401395
":mod:`urllib.request`: :class:`~urllib.request.URLopener` and "
402396
":class:`~urllib.request.FancyURLopener` style of invoking requests is "
@@ -406,13 +400,13 @@ msgstr ""
406400
":class:`~urllib.request.FancyURLopener` 方式已被弃用。 改用更新 "
407401
":func:`~urllib.request.urlopen` 函数和方法。"
408402

409-
#: ../../deprecations/pending-removal-in-future.rst:145
403+
#: ../../deprecations/pending-removal-in-future.rst:142
410404
msgid ""
411405
":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` should not do partial "
412406
"writes."
413407
msgstr ":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` 不应执行部分写入。"
414408

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

426-
#: ../../deprecations/pending-removal-in-future.rst:153
420+
#: ../../deprecations/pending-removal-in-future.rst:150
427421
msgid ""
428422
":meth:`zipimport.zipimporter.load_module` is deprecated: use "
429423
":meth:`~zipimport.zipimporter.exec_module` instead."

glossary.po

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.13\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2025-02-21 14:16+0000\n"
22+
"POT-Creation-Date: 2025-02-28 14:17+0000\n"
2323
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2424
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
2525
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1515,14 +1515,10 @@ msgid ""
15151515
"iterables include all sequence types (such as :class:`list`, :class:`str`, "
15161516
"and :class:`tuple`) and some non-sequence types like :class:`dict`, "
15171517
":term:`file objects <file object>`, and objects of any classes you define "
1518-
"with an :meth:`~iterator.__iter__` method or with a "
1518+
"with an :meth:`~object.__iter__` method or with a "
15191519
":meth:`~object.__getitem__` method that implements :term:`sequence` "
15201520
"semantics."
15211521
msgstr ""
1522-
"一种能够逐个返回其成员项的对象。 可迭代对象的例子包括所有序列类型(如 :class:`list`, :class:`str` 和 "
1523-
":class:`tuple` 等)以及某些非序列类型如 :class:`dict`, :term:`文件对象 <file object>` "
1524-
"以及任何定义了 :meth:`~iterator.__iter__` 方法或实现了 :term:`sequence` 语义的 "
1525-
":meth:`~object.__getitem__` 方法的自定义类的对象。"
15261522

15271523
#: ../../glossary.rst:713
15281524
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
#
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.13\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2024-09-27 14:17+0000\n"
19+
"POT-Creation-Date: 2025-02-28 14:17+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
2121
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -269,39 +269,29 @@ msgstr ""
269269
#: ../../library/abc.rst:143
270270
msgid ""
271271
"The ABC ``MyIterable`` defines the standard iterable method, "
272-
":meth:`~iterator.__iter__`, as an abstract method. The implementation given"
273-
" here can still be called from subclasses. The :meth:`!get_iterator` method"
274-
" is also part of the ``MyIterable`` abstract base class, but it does not "
275-
"have to be overridden in non-abstract derived classes."
272+
":meth:`~object.__iter__`, as an abstract method. The implementation given "
273+
"here can still be called from subclasses. The :meth:`!get_iterator` method "
274+
"is also part of the ``MyI B72 terable`` abstract base class, but it does not have"
275+
" to be overridden in non-abstract derived classes."
276276
msgstr ""
277-
"ABC ``MyIterable`` 将标准的迭代方法 :meth:`~iterator.__iter__` 定义为一个抽象方法。 "
278-
"这里给出的实现仍可在子类中被调用。 :meth:`!get_iterator` 方法也是 ``MyIterable`` "
279-
"抽象基类的一部分,但它并非必须被非抽象的派生类重写。"
280277

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

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

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

0 commit comments

Comments
 (0)
0