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 <LL@li.org>\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 <adrianliaw2000@gmail.com>\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
41 changes: 21 additions & 20 deletions library/array.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-30 00:18+0000\n"
"POT-Creation-Date: 2026-01-12 00:16+0000\n"
"PO-Revision-Date: 2021-11-23 18:40+0800\n"
"Last-Translator: Benson Chen <bc842017@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -27,13 +27,14 @@ msgid ":mod:`!array` --- Efficient arrays of numeric values"
msgstr ":mod:`!array` --- 高效率的數值型陣列"

#: ../../library/array.rst:11
#, fuzzy
msgid ""
"This module defines an object type which can compactly represent an array of "
"basic values: characters, integers, floating-point numbers. Arrays are "
"sequence types and behave very much like lists, except that the type of "
"objects stored in them is constrained. The type is specified at object "
"creation time by using a :dfn:`type code`, which is a single character. The "
"following type codes are defined:"
"mutable :term:`sequence` types and behave very much like lists, except that "
"the type of objects stored in them is constrained. The type is specified at "
"object creation time by using a :dfn:`type code`, which is a single "
"character. The following type codes are defined:"
msgstr ""
"這個模組定義了一個物件型別,可以簡潔的表達一個包含基本數值的陣列:字元、整"
"數、浮點數。陣列是一個非常類似 list(串列)的序列型別,除了陣列會限制儲存的物"
Expand Down Expand Up @@ -280,13 +281,14 @@ msgstr ""
"之中來將初始項目新增至陣列。"

#: ../../library/array.rst:96
#, fuzzy
msgid ""
"Array objects support the ordinary sequence operations of indexing, slicing, "
"concatenation, and multiplication. When using slice assignment, the "
"assigned value must be an array object with the same type code; in all other "
"cases, :exc:`TypeError` is raised. Array objects also implement the buffer "
"interface, and may be used wherever :term:`bytes-like objects <bytes-like "
"object>` are supported."
"Array objects support the ordinary :ref:`mutable <typesseq-mutable>` :term:"
"`sequence` operations of indexing, slicing, concatenation, and "
"multiplication. When using slice assignment, the assigned value must be an "
"array object with the same type code; in all other cases, :exc:`TypeError` "
"is raised. Array objects also implement the buffer interface, and may be "
"used wherever :term:`bytes-like objects <bytes-like object>` are supported."
msgstr ""
"陣列支援常見的序列操作,包含索引 (indexing)、切片 (slicing)、串接 "
"(concatenation)、相乘 (multiplication) 等。當使用切片進行賦值時,賦值的陣列必"
Expand Down Expand Up @@ -361,10 +363,9 @@ msgstr "回傳 *x* 在陣列中出現了幾次。"
#: ../../library/array.rst:154
msgid ""
"Append items from *iterable* to the end of the array. If *iterable* is "
"another array, it must have *exactly* the same type code; if "
"not, :exc:`TypeError` will be raised. If *iterable* is not an array, it "
"must be iterable and its elements must be the right type to be appended to "
"the array."
"another array, it must have *exactly* the same type code; if not, :exc:"
"`TypeError` will be raised. If *iterable* is not an array, it must be "
"iterable and its elements must be the right type to be appended to the array."
msgstr ""
"從 *iterable* 中新增元素到陣列的尾端,如果 *iterable* 是另一個陣列,它必須有"
"完全相同的 type code,如果不同會導致 :exc:`TypeError`。如果 *iterable* 不是一"
Expand All @@ -374,8 +375,8 @@ msgstr ""
#: ../../library/array.rst:162
msgid ""
"Appends items from the :term:`bytes-like object`, interpreting its content "
"as an array of machine values (as if it had been read from a file using "
"the :meth:`fromfile` method)."
"as an array of machine values (as if it had been read from a file using the :"
"meth:`fromfile` method)."
msgstr ""
"從 :term:`bytes-like object` 中新增元素。讀取時會將其內容當作一個機器數值組成"
"的陣列(就像從檔案中使用 :meth:`fromfile` 方法讀出的資料)。"
Expand Down Expand Up @@ -411,9 +412,9 @@ msgid ""
"an array of some other type."
msgstr ""
"用給定的 Unicode 字串擴展這個陣列。陣列的 type code 必須是 ``u`` 或 ``'w'``;"
"其他的型別會導致 :exc:`ValueError` 被引發。使用 "
"``array.frombytes(unicodestring.encode(enc))`` 來新增 Unicode 資料到一個其他"
"型別的陣列。"
"其他的型別會導致 :exc:`ValueError` 被引發。使用 ``array."
"frombytes(unicodestring.encode(enc))`` 來新增 Unicode 資料到一個其他型別的陣"
"。"

#: ../../library/array.rst:194
msgid ""
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 <adrianliaw2000@gmail.com>\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 <LL@li.org>\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