Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions c-api/long.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-04-23 00:30+0000\n"
"POT-Creation-Date: 2026-06-06 15:51+0000\n"
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -92,16 +92,16 @@ msgid ""
"``NULL`` on failure."
msgstr ""

#: ../../c-api/long.rst:77
#: ../../c-api/long.rst:76
msgid ""
"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` "
"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure."
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
"long`, or ``NULL`` on failure."
msgstr ""

#: ../../c-api/long.rst:86
#: ../../c-api/long.rst:83
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
"long`, or ``NULL`` on failure."
"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` "
"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure."
msgstr ""

#: ../../c-api/long.rst:93
Expand Down
12 changes: 6 additions & 6 deletions c-api/memory.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-12 00:16+0000\n"
"POT-Creation-Date: 2026-06-11 00:43+0000\n"
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -105,8 +105,8 @@ msgid ""
"certain circumstances, the Python memory manager may or may not trigger "
"appropriate actions, like garbage collection, memory compaction or other "
"preventive procedures. Note that by using the C library allocator as shown "
"in the previous example, the allocated memory for the I/O buffer escapes "
"completely the Python memory manager."
"in the previous example, the allocated memory for the I/O buffer completely "
"escapes the Python memory manager."
msgstr ""

#: ../../c-api/memory.rst:88
Expand Down Expand Up @@ -222,9 +222,9 @@ msgstr ""
#: ../../c-api/memory.rst:164 ../../c-api/memory.rst:242
#: ../../c-api/memory.rst:375
msgid ""
"Allocates *nelem* elements each whose size in bytes is *elsize* and returns "
"a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if "
"the request fails. The memory is initialized to zeros."
"Allocates *nelem* elements each of size *elsize* bytes and returns a pointer "
"of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the request "
"fails. The memory is initialized to zeros."
msgstr ""

#: ../../c-api/memory.rst:168
Expand Down
17 changes: 8 additions & 9 deletions c-api/typeobj.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-19 00:23+0000\n"
"POT-Creation-Date: 2026-06-09 00:37+0000\n"
"PO-Revision-Date: 2018-05-23 14:33+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -4286,8 +4286,8 @@ msgstr ""

#: ../../c-api/typeobj.rst:3047
msgid ""
"Check if the request can be met. If not, raise :exc:`BufferError`, set :c:"
"expr:`view->obj` to ``NULL`` and return ``-1``."
"Check if the request can be met. If not, raise :exc:`BufferError`, set "
"``view->obj`` to ``NULL`` and return ``-1``."
msgstr ""

#: ../../c-api/typeobj.rst:3050
Expand All @@ -4299,8 +4299,7 @@ msgid "Increment an internal counter for the number of exports."
msgstr ""

#: ../../c-api/typeobj.rst:3054
msgid ""
"Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`."
msgid "Set ``view->obj`` to *exporter* and increment ``view->obj``."
msgstr ""

#: ../../c-api/typeobj.rst:3056
Expand Down Expand Up @@ -4350,14 +4349,14 @@ msgstr ""

#: ../../c-api/typeobj.rst:3079
msgid ""
"Re-export: Each member of the tree acts as the exporting object and sets :c:"
"expr:`view->obj` to a new reference to itself."
"Re-export: Each member of the tree acts as the exporting object and sets "
"``view->obj`` to a new reference to itself."
msgstr ""

#: ../../c-api/typeobj.rst:3082
msgid ""
"Redirect: The buffer request is redirected to the root object of the tree. "
"Here, :c:expr:`view->obj` will be a new reference to the root object."
"Here, ``view->obj`` will be a new reference to the root object."
msgstr ""

#: ../../c-api/typeobj.rst:3086
Expand Down Expand Up @@ -4434,7 +4433,7 @@ msgstr ""

#: ../../c-api/typeobj.rst:3137
msgid ""
"This function MUST NOT decrement :c:expr:`view->obj`, since that is done "
"This function MUST NOT decrement ``view->obj``, since that is done "
"automatically in :c:func:`PyBuffer_Release` (this scheme is useful for "
"breaking reference cycles)."
msgstr ""
Expand Down
10 changes: 5 additions & 5 deletions c-api/weakref.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-13 00:15+0000\n"
"POT-Creation-Date: 2026-06-11 00:43+0000\n"
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
"Last-Translator: Leon H.\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -61,8 +61,8 @@ msgid ""
"a callable object that receives notification when *ob* is garbage collected; "
"it should accept a single parameter, which will be the weak reference object "
"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a "
"weakly referenceable object, or if *callback* is not callable, ``None``, or "
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
"weakly referenceable object, this will raise :exc:`TypeError` and return "
"``NULL``."
msgstr ""

#: ../../c-api/weakref.rst:49 ../../c-api/weakref.rst:65
Expand All @@ -79,8 +79,8 @@ msgid ""
"can be a callable object that receives notification when *ob* is garbage "
"collected; it should accept a single parameter, which will be the weak "
"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
"*ob* is not a weakly referenceable object, or if *callback* is not callable, "
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
"*ob* weakly referenceable object, this will raise :exc:`TypeError` and "
"return ``NULL``."
msgstr ""

#: ../../c-api/weakref.rst:71
Expand Down
68 changes: 33 additions & 35 deletions deprecations/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-18 00:20+0000\n"
"POT-Creation-Date: 2026-06-12 00:46+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -95,39 +95,22 @@ msgid "``load_module()`` method: use ``exec_module()`` instead."
msgstr "``load_module()`` method:請改用 ``exec_module()``。"

#: ../../deprecations/pending-removal-in-3.15.rst:36
msgid ":class:`locale`:"
msgstr ":class:`locale`:"

#: ../../deprecations/pending-removal-in-3.15.rst:38
msgid ""
"The :func:`~locale.getdefaultlocale` function has been deprecated since "
"Python 3.11. Its removal was originally planned for Python 3.13 (:gh:"
"`90817`), but has been postponed to Python 3.15. Use :func:`~locale."
"getlocale`, :func:`~locale.setlocale`, and :func:`~locale.getencoding` "
"instead. (Contributed by Hugo van Kemenade in :gh:`111187`.)"
msgstr ""
":func:`~locale.getdefaultlocale` 已在 Python 3.11 中被棄用,原本計劃在 "
"Python 3.13 中移除 (:gh:`90817`),但被延後至 Python 3.15。請改用 :func:"
"`~locale.getlocale`、:func:`~locale.setlocale` 和 :func:`~locale."
"getencoding`。 (由 Hugo van Kemenade 於 :gh:`111187` 貢獻。)"

#: ../../deprecations/pending-removal-in-3.15.rst:46
msgid ":mod:`pathlib`:"
msgstr ":mod:`pathlib`:"

#: ../../deprecations/pending-removal-in-3.15.rst:48
#: ../../deprecations/pending-removal-in-3.15.rst:38
msgid ""
":meth:`.PurePath.is_reserved` has been deprecated since Python 3.13. Use :"
"func:`os.path.isreserved` to detect reserved paths on Windows."
msgstr ""
":meth:`.PurePath.is_reserved` 已自 Python 3.13 被棄用。請用 :func:`os.path."
"isreserved` 來偵測 Windows 上的保留路徑。"

#: ../../deprecations/pending-removal-in-3.15.rst:52
#: ../../deprecations/pending-removal-in-3.15.rst:42
msgid ":mod:`platform`:"
msgstr ":mod:`platform`:"

#: ../../deprecations/pending-removal-in-3.15.rst:54
#: ../../deprecations/pending-removal-in-3.15.rst:44
msgid ""
":func:`~platform.java_ver` has been deprecated since Python 3.13. This "
"function is only useful for Jython support, has a confusing API, and is "
Expand All @@ -136,24 +119,24 @@ msgstr ""
"自 Python 3.13 起,:func:`~platform.java_ver` 已被棄用。此函式僅對 Jython 支"
"援有用,具有令人困惑的 API,基本上未經測試。"

#: ../../deprecations/pending-removal-in-3.15.rst:58
#: ../../deprecations/pending-removal-in-3.15.rst:48
#: ../../deprecations/pending-removal-in-3.16.rst:96
msgid ":mod:`sysconfig`:"
msgstr ":mod:`sysconfig`:"

#: ../../deprecations/pending-removal-in-3.15.rst:60
#: ../../deprecations/pending-removal-in-3.15.rst:50
msgid ""
"The *check_home* argument of :func:`sysconfig.is_python_build` has been "
"deprecated since Python 3.12."
msgstr ""
":func:`sysconfig.is_python_build` 的 *check_home* 引數自 Python 3.12 起已被棄"
"用。"

#: ../../deprecations/pending-removal-in-3.15.rst:63
#: ../../deprecations/pending-removal-in-3.15.rst:53
msgid ":mod:`threading`:"
msgstr ":mod:`threading`:"

#: ../../deprecations/pending-removal-in-3.15.rst:65
#: ../../deprecations/pending-removal-in-3.15.rst:55
msgid ""
":func:`~threading.RLock` will take no arguments in Python 3.15. Passing any "
"arguments has been deprecated since Python 3.14, as the Python version does "
Expand All @@ -164,11 +147,11 @@ msgstr ""
"起,傳遞任何引數的用法已被棄用,因為 Python 版本不允許任何引數,但 C 版本允許"
"任意數量的位置或關鍵字引數,並忽略每個引數。"

#: ../../deprecations/pending-removal-in-3.15.rst:71
#: ../../deprecations/pending-removal-in-3.15.rst:61
msgid ":mod:`types`:"
msgstr ":mod:`types`:"

#: ../../deprecations/pending-removal-in-3.15.rst:73
#: ../../deprecations/pending-removal-in-3.15.rst:63
msgid ""
":class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was "
"deprecated in :pep:`626` since 3.10 and was planned to be removed in 3.12, "
Expand All @@ -180,12 +163,12 @@ msgstr ""
"exc:`DeprecationWarning`。可能在 3.15 中移除。(由 Nikita Sobolev 於 :gh:"
"`101866` 貢獻。)"

#: ../../deprecations/pending-removal-in-3.15.rst:80
#: ../../deprecations/pending-removal-in-3.15.rst:70
#: ../../deprecations/pending-removal-in-3.17.rst:26
msgid ":mod:`typing`:"
msgstr ":mod:`typing`:"

#: ../../deprecations/pending-removal-in-3.15.rst:82
#: ../../deprecations/pending-removal-in-3.15.rst:72
msgid ""
"The undocumented keyword argument syntax for creating :class:`~typing."
"NamedTuple` classes (for example, ``Point = NamedTuple(\"Point\", x=int, "
Expand All @@ -196,7 +179,7 @@ msgstr ""
"(``Point = NamedTuple(\"Point\", x=int, y=int)``) 已自 Python 3.13 棄用。請改"
"用基於類別的語法或函式語法 (functional syntax)。"

#: ../../deprecations/pending-removal-in-3.15.rst:88
#: ../../deprecations/pending-removal-in-3.15.rst:78
msgid ""
"When using the functional syntax of :class:`~typing.TypedDict`\\s, failing "
"to pass a value to the *fields* parameter (``TD = TypedDict(\"TD\")``) or "
Expand All @@ -209,7 +192,7 @@ msgstr ""
"None)``) 的做法自 Python 3.13 起已被棄用。請使用 ``class TD(TypedDict): "
"pass`` 或 ``TD = TypedDict(\"TD\", {})`` 來建立具有零個欄位的 TypedDict。"

#: ../../deprecations/pending-removal-in-3.15.rst:95
#: ../../deprecations/pending-removal-in-3.15.rst:85
msgid ""
"The :func:`typing.no_type_check_decorator` decorator function has been "
"deprecated since Python 3.13. After eight years in the :mod:`typing` module, "
Expand All @@ -219,11 +202,11 @@ msgstr ""
"用。在 :mod:`typing` 模組中使用了八年之後,它尚未得到任何主要型別檢查器的支"
"援。"

#: ../../deprecations/pending-removal-in-3.15.rst:100
#: ../../deprecations/pending-removal-in-3.15.rst:90
msgid ":mod:`wave`:"
msgstr ":mod:`wave`:"

#: ../../deprecations/pending-removal-in-3.15.rst:102
#: ../../deprecations/pending-removal-in-3.15.rst:92
msgid ""
"The :meth:`~wave.Wave_read.getmark`, :meth:`!setmark`, and :meth:`~wave."
"Wave_read.getmarkers` methods of the :class:`~wave.Wave_read` and :class:"
Expand All @@ -233,11 +216,11 @@ msgstr ""
"`~wave.Wave_read.getmark`、:meth:`!setmark` 和 :meth:`~wave.Wave_read."
"getmarkers` 方法自 Python 3.13 被棄用。"

#: ../../deprecations/pending-removal-in-3.15.rst:107
#: ../../deprecations/pending-removal-in-3.15.rst:97
msgid ":mod:`zipimport`:"
msgstr ":mod:`zipimport`:"

#: ../../deprecations/pending-removal-in-3.15.rst:109
#: ../../deprecations/pending-removal-in-3.15.rst:99
msgid ""
":meth:`~zipimport.zipimporter.load_module` has been deprecated since Python "
"3.10. Use :meth:`~zipimport.zipimporter.exec_module` instead. (Contributed "
Expand Down Expand Up @@ -1610,5 +1593,20 @@ msgstr ""
msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7."
msgstr ":c:func:`PyThread_ReInitTLS`:自 Python 3.7 起不再需要。"

#~ msgid ":class:`locale`:"
#~ msgstr ":class:`locale`:"

#~ msgid ""
#~ "The :func:`~locale.getdefaultlocale` function has been deprecated since "
#~ "Python 3.11. Its removal was originally planned for Python 3.13 (:gh:"
#~ "`90817`), but has been postponed to Python 3.15. Use :func:`~locale."
#~ "getlocale`, :func:`~locale.setlocale`, and :func:`~locale.getencoding` "
#~ "instead. (Contributed by Hugo van Kemenade in :gh:`111187`.)"
#~ msgstr ""
#~ ":func:`~locale.getdefaultlocale` 已在 Python 3.11 中被棄用,原本計劃在 "
#~ "Python 3.13 中移除 (:gh:`90817`),但被延後至 Python 3.15。請改用 :func:"
#~ "`~locale.getlocale`、:func:`~locale.setlocale` 和 :func:`~locale."
#~ "getencoding`。 (由 Hugo van Kemenade 於 :gh:`111187` 貢獻。)"

#~ msgid "Delegation of ``int()`` to ``__trunc__()`` method."
#~ msgstr "將 ``int()`` 委派給 ``__trunc__()`` 方法。"
Loading
Loading