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
49 changes: 33 additions & 16 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: 2025-10-06 00:15+0000\n"
"POT-Creation-Date: 2026-01-07 00:14+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 @@ -494,10 +494,10 @@ msgid ""
"that explicitly specifies the types your code supports (e.g., ``bytes | "
"bytearray | memoryview``)."
msgstr ""
"使用 ``isinstance(obj, collections.abc.Buffer)`` 來測試 ``obj`` 是否在 runtime "
"實作了\\ :ref:`緩衝區協定 <bufferobjects>`。在型別註解的使用中,請用 :class:`~"
"collections.abc.Buffer` 或明確指定你的程式碼所支援型別的聯集(例如 "
"``bytes | bytearray | memoryview``)。"
"使用 ``isinstance(obj, collections.abc.Buffer)`` 來測試 ``obj`` 是否在 "
"runtime 實作了\\ :ref:`緩衝區協定 <bufferobjects>`。在型別註解的使用中,"
"用 :class:`~collections.abc.Buffer` 或明確指定你的程式碼所支援型別的聯集("
"``bytes | bytearray | memoryview``)。"

#: ../../deprecations/pending-removal-in-3.17.rst:14
#: ../../deprecations/pending-removal-in-3.17.rst:42
Expand All @@ -510,18 +510,20 @@ msgid ""
"also never understood as subtypes of :class:`!ByteString` (either at runtime "
"or by static type checkers)."
msgstr ""
":class:`!ByteString` 最初被設計為一個抽象類別,以作為 :class:`bytes` 和 :class:`bytearray` "
"的超型別 (supertype)。然而由於 ABC 從未擁有任何方法,知道一個物件是 :class:`!ByteString` 的"
"實例從未真正告訴你任何關於該物件的有用資訊。其他常見的緩衝區型別如 :class:`memoryview` "
"也從未被理解為 :class:`!ByteString` 的子型別(無論是在 runtime 還是由靜態型別檢查器)。"
":class:`!ByteString` 最初被設計為一個抽象類別,以作為 :class:`bytes` 和 :"
"class:`bytearray` 的超型別 (supertype)。然而由於 ABC 從未擁有任何方法,知道一"
"個物件是 :class:`!ByteString` 的實例從未真正告訴你任何關於該物件的有用資訊。"
"其他常見的緩衝區型別如 :class:`memoryview` 也從未被理解為 :class:`!"
"ByteString` 的子型別(無論是在 runtime 還是由靜態型別檢查器)。"

#: ../../deprecations/pending-removal-in-3.17.rst:22
#: ../../deprecations/pending-removal-in-3.17.rst:50
msgid ""
"See :pep:`PEP 688 <688#current-options>` for more details. (Contributed by "
"Shantanu Jain in :gh:`91896`.)"
msgstr ""
"更多細節請見 :pep:`PEP 688 <688#current-options>`。(由 Shantanu Jain 於 :gh:`91896` 貢獻。)"
"更多細節請見 :pep:`PEP 688 <688#current-options>`。(由 Shantanu Jain 於 :gh:"
"`91896` 貢獻。)"

#: ../../deprecations/pending-removal-in-3.17.rst:28
msgid ""
Expand All @@ -542,7 +544,26 @@ msgid ""
":class:`typing.ByteString`, deprecated since Python 3.9, is scheduled for "
"removal in Python 3.17."
msgstr ""
":class:`typing.ByteString` 自 Python 3.9 起已被棄用,預計在 Python 3.17 中移除。"
":class:`typing.ByteString` 自 Python 3.9 起已被棄用,預計在 Python 3.17 中移"
"除。"

#: ../../deprecations/c-api-pending-removal-in-3.18.rst:2
#: ../../deprecations/pending-removal-in-3.18.rst:2
msgid "Pending removal in Python 3.18"
msgstr "Python 3.18 中待移除的項目"

#: ../../deprecations/pending-removal-in-3.18.rst:4
#, fuzzy
msgid ":mod:`decimal`:"
msgstr ":mod:`datetime`:"

#: ../../deprecations/pending-removal-in-3.18.rst:6
msgid ""
"The non-standard and undocumented :class:`~decimal.Decimal` format specifier "
"``'N'``, which is only supported in the :mod:`!decimal` module's C "
"implementation, has been deprecated since Python 3.13. (Contributed by "
"Serhiy Storchaka in :gh:`89902`.)"
msgstr ""

#: ../../deprecations/pending-removal-in-3.19.rst:2
msgid "Pending removal in Python 3.19"
Expand Down Expand Up @@ -974,7 +995,7 @@ msgstr ""
":func:`sys._clear_type_cache` 已被棄用:請改用 :func:`sys."
"_clear_internal_caches`。"

#: ../../deprecations/index.rst:15
#: ../../deprecations/index.rst:17
msgid "C API deprecations"
msgstr "C API 的棄用項目"

Expand Down Expand Up @@ -1337,10 +1358,6 @@ msgstr ""
"應改用帶有 :c:type:`PyConfig` 的 :c:func:`Py_InitializeFromConfig` API 來設定"
"這些選項。或者也可以使用 :c:func:`PyConfig_Get` 在執行時取得這些選項。"

#: ../../deprecations/c-api-pending-removal-in-3.18.rst:2
msgid "Pending removal in Python 3.18"
msgstr "Python 3.18 中待移除的項目"

#: ../../deprecations/c-api-pending-removal-in-3.18.rst:4
msgid ""
"The following private functions are deprecated and planned for removal in "
Expand Down
34 changes: 34 additions & 0 deletions deprecations/pending-removal-in-3.18.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-01-07 00:14+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../deprecations/pending-removal-in-3.18.rst:2
msgid "Pending removal in Python 3.18"
msgstr ""

#: ../../deprecations/pending-removal-in-3.18.rst:4
msgid ":mod:`decimal`:"
msgstr ""

#: ../../deprecations/pending-removal-in-3.18.rst:6
msgid ""
"The non-standard and undocumented :class:`~decimal.Decimal` format specifier "
"``'N'``, which is only supported in the :mod:`!decimal` module's C "
"implementation, has been deprecated since Python 3.13. (Contributed by "
"Serhiy Storchaka in :gh:`89902`.)"
msgstr ""
2 changes: 1 addition & 1 deletion howto/enum.po
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ msgstr ""

#: ../../howto/enum.rst:657
msgid "The *start* parameter was added."
msgstr ""
msgstr "新增 *start* 參數。"

#: ../../howto/enum.rst:662
msgid "Derived Enumerations"
Expand Down
5 changes: 3 additions & 2 deletions library/argparse.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: 2025-12-12 00:15+0000\n"
"POT-Creation-Date: 2026-01-07 00:14+0000\n"
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -1283,10 +1283,11 @@ msgid ""
msgstr ""

#: ../../library/argparse.rst:741
#, fuzzy
msgid ""
">>> parser = argparse.ArgumentParser(prog='PROG')\n"
">>> parser.add_argument('--foo-bar')\n"
">>> parser.parse_args(['--foo-bar', 'FOO-BAR']\n"
">>> parser.parse_args(['--foo-bar', 'FOO-BAR'])\n"
"Namespace(foo_bar='FOO-BAR')\n"
">>> parser.print_help()\n"
"usage: [-h] [--foo-bar FOO-BAR]\n"
Expand Down
15 changes: 8 additions & 7 deletions library/ast.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: 2025-12-19 00:15+0000\n"
"POT-Creation-Date: 2025-12-30 00:15+0000\n"
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -188,7 +188,7 @@ msgid ""
"int? end_col_offset)\n"
"\n"
" arguments = (arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs,\n"
" expr* kw_defaults, arg? kwarg, expr* defaults)\n"
" expr?* kw_defaults, arg? kwarg, expr* defaults)\n"
"\n"
" arg = (identifier arg, expr? annotation, string? type_comment)\n"
" attributes (int lineno, int col_offset, int? end_lineno, int? "
Expand Down Expand Up @@ -413,9 +413,10 @@ msgid ""
"removed in Python 3.14, and their functionality has been replaced with :"
"class:`ast.Constant`."
msgstr ""
"過去的 Python 版本提供了 AST 類別 :class:`!ast.Num`、:class:`!ast.Str`、:class:`!ast.Bytes`"
"、:class:`!ast.NameConstant` 和 :class:`!ast.Ellipsis`,這些類別在 Python 3.8 中已被棄用。"
"這些類別在 Python 3.14 中被移除,其功能已被 :class:`ast.Constant` 取代。"
"過去的 Python 版本提供了 AST 類別 :class:`!ast.Num`、:class:`!ast.Str`、:"
"class:`!ast.Bytes`、:class:`!ast.NameConstant` 和 :class:`!ast.Ellipsis`,這"
"些類別在 Python 3.8 中已被棄用。這些類別在 Python 3.14 中被移除,其功能已被 :"
"class:`ast.Constant` 取代。"

#: ../../library/ast.rst:152
msgid ""
Expand Down Expand Up @@ -4270,8 +4271,8 @@ msgid ""
"constant nodes."
msgstr ""
":meth:`!visit_Num`、:meth:`!visit_Str`、:meth:`!visit_Bytes`、:meth:`!"
"visit_NameConstant` 和 :meth:`!visit_Ellipsis` 方法在 Python 3.14+ 中將不會被呼叫。"
"請改為新增 :meth:`visit_Constant` 方法來處理所有常數節點。"
"visit_NameConstant` 和 :meth:`!visit_Ellipsis` 方法在 Python 3.14+ 中將不會被"
"呼叫。請改為新增 :meth:`visit_Constant` 方法來處理所有常數節點。"

#: ../../library/ast.rst:2447
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions library/compression.zstd.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: 2025-11-10 16:45+0000\n"
"POT-Creation-Date: 2026-01-06 00:19+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -127,7 +127,7 @@ msgstr ""
#: ../../library/compression.zstd.rst:75
msgid ""
"When writing, the *options* argument can be a dictionary providing advanced "
"decompression parameters; see :class:`CompressionParameter` for detailed "
"compression parameters; see :class:`CompressionParameter` for detailed "
"information about supported parameters. The *level* argument is the "
"compression level to use when writing compressed data. Only one of *level* "
"or *options* may be non-None. The *zstd_dict* argument is a :class:"
Expand Down Expand Up @@ -179,7 +179,7 @@ msgstr ""
#: ../../library/compression.zstd.rst:119
msgid ""
"When writing, the *options* argument can be a dictionary providing advanced "
"decompression parameters; see :class:`CompressionParameter` for detailed "
"compression parameters; see :class:`CompressionParameter` for detailed "
"information about supported parameters. The *level* argument is the "
"compression level to use when writing compressed data. Only one of *level* "
"or *options* may be passed. The *zstd_dict* argument is a :class:`ZstdDict` "
Expand Down
Loading
Loading