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
37 changes: 20 additions & 17 deletions c-api/allocation.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-09 17:02+0000\n"
"POT-Creation-Date: 2026-04-23 00:30+0000\n"
"PO-Revision-Date: 2022-10-16 15:35+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -22,7 +22,8 @@ msgstr ""
"X-Generator: Poedit 3.1.1\n"

#: ../../c-api/allocation.rst:6
msgid "Allocating Objects on the Heap"
#, fuzzy
msgid "Allocating objects on the heap"
msgstr "在 heap 上分配物件"

#: ../../c-api/allocation.rst:17
Expand Down Expand Up @@ -132,8 +133,8 @@ msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
msgstr "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"

#: ../../c-api/allocation.rst:87 ../../c-api/allocation.rst:137
#: ../../c-api/allocation.rst:182 ../../c-api/allocation.rst:184
#: ../../c-api/allocation.rst:186
#: ../../c-api/allocation.rst:184 ../../c-api/allocation.rst:186
#: ../../c-api/allocation.rst:188
msgid ":c:func:`PyObject_Free`"
msgstr ":c:func:`PyObject_Free`"

Expand Down Expand Up @@ -214,43 +215,45 @@ msgid "To allocate and create extension modules."
msgstr "分配記憶體和建立擴充模組。"

#: ../../c-api/allocation.rst:157
msgid "Deprecated aliases"
#, fuzzy
msgid "Soft-deprecated aliases"
msgstr "被棄用的別名"

#: ../../c-api/allocation.rst:159
#: ../../c-api/allocation.rst:161
msgid ""
"These are :term:`soft deprecated` aliases to existing functions and macros. "
"They exist solely for backwards compatibility."
"These are aliases to existing functions and macros. They exist solely for "
"backwards compatibility."
msgstr ""

#: ../../c-api/allocation.rst:167
msgid "Deprecated alias"
#: ../../c-api/allocation.rst:169
#, fuzzy
msgid "Soft-deprecated alias"
msgstr "已棄用的別名"

#: ../../c-api/allocation.rst:168
#: ../../c-api/allocation.rst:170
msgid "Function"
msgstr "函式"

#: ../../c-api/allocation.rst:170
#: ../../c-api/allocation.rst:172
msgid ":c:macro:`PyObject_New`"
msgstr ":c:macro:`PyObject_New`"

#: ../../c-api/allocation.rst:172
#: ../../c-api/allocation.rst:174
msgid ":c:macro:`PyObject_NewVar`"
msgstr ":c:macro:`PyObject_NewVar`"

#: ../../c-api/allocation.rst:174
#: ../../c-api/allocation.rst:176
msgid ":c:func:`PyObject_Init`"
msgstr ":c:func:`PyObject_Init`"

#: ../../c-api/allocation.rst:176
#: ../../c-api/allocation.rst:178
msgid ":c:func:`PyObject_InitVar`"
msgstr ":c:func:`PyObject_InitVar`"

#: ../../c-api/allocation.rst:178
#: ../../c-api/allocation.rst:180
msgid ":c:func:`PyObject_Malloc`"
msgstr ":c:func:`PyObject_Malloc`"

#: ../../c-api/allocation.rst:180
#: ../../c-api/allocation.rst:182
msgid ":c:func:`PyObject_Realloc`"
msgstr ":c:func:`PyObject_Realloc`"
20 changes: 11 additions & 9 deletions c-api/file.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-23 00:22+0000\n"
"POT-Creation-Date: 2026-04-23 00:30+0000\n"
"PO-Revision-Date: 2023-04-24 20:38+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -22,7 +22,8 @@ msgstr ""
"X-Generator: Poedit 3.2.2\n"

#: ../../c-api/file.rst:6
msgid "File Objects"
#, fuzzy
msgid "File objects"
msgstr "檔案物件 (File Objects)"

#: ../../c-api/file.rst:10
Expand Down Expand Up @@ -219,27 +220,28 @@ msgstr ""
"的例外狀況。"

#: ../../c-api/file.rst:140
msgid "Deprecated API"
#, fuzzy
msgid "Soft-deprecated API"
msgstr "已棄用的 API"

#: ../../c-api/file.rst:143
#: ../../c-api/file.rst:144
#, fuzzy
msgid ""
"These are :term:`soft deprecated` APIs that were included in Python's C API "
"by mistake. They are documented solely for completeness; use other "
"``PyFile*`` APIs instead."
"These are APIs that were included in Python's C API by mistake. They are "
"documented solely for completeness; use other ``PyFile*`` APIs instead."
msgstr ""
"這些是被錯誤地包含在 Python C API 中的\\ :term:`軟性棄用 <soft deprecated>` "
"API。它們僅為了完整性而記錄於文件中;請改用其他 ``PyFile*`` API。"

#: ../../c-api/file.rst:149
#: ../../c-api/file.rst:150
msgid ""
"Use :c:func:`PyFile_FromFd` with defaults (``fd, NULL, \"w\", -1, NULL, "
"NULL, NULL, 0``) instead."
msgstr ""
"請改用帶有預設值 (``fd, NULL, \"w\", -1, NULL, NULL, NULL, 0``) 的 :c:func:"
"`PyFile_FromFd`。"

#: ../../c-api/file.rst:153
#: ../../c-api/file.rst:154
msgid ""
"Type of file-like objects used internally at Python startup when :py:mod:"
"`io` is not yet available. Use Python :py:func:`open` or :c:func:"
Expand Down
40 changes: 18 additions & 22 deletions c-api/frame.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-28 00:16+0000\n"
"POT-Creation-Date: 2026-04-23 00:30+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 All @@ -16,7 +16,8 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"

#: ../../c-api/frame.rst:4
msgid "Frame Objects"
#, fuzzy
msgid "Frame objects"
msgstr "Frame 物件"

#: ../../c-api/frame.rst:8
Expand Down Expand Up @@ -173,7 +174,7 @@ msgid "Return the line number that *frame* is currently executing."
msgstr ""

#: ../../c-api/frame.rst:151
msgid "Frame Locals Proxies"
msgid "Frame locals proxies"
msgstr ""

#: ../../c-api/frame.rst:155
Expand All @@ -198,7 +199,7 @@ msgid "Return non-zero if *obj* is a frame :func:`locals` proxy."
msgstr ""

#: ../../c-api/frame.rst:173
msgid "Legacy Local Variable APIs"
msgid "Legacy local variable APIs"
msgstr ""

#: ../../c-api/frame.rst:175
Expand All @@ -207,12 +208,7 @@ msgid ""
"They exist solely for backwards compatibility."
msgstr ""

#: ../../c-api/frame.rst:181 ../../c-api/frame.rst:195
#: ../../c-api/frame.rst:208
msgid "This function is :term:`soft deprecated` and does nothing."
msgstr ""

#: ../../c-api/frame.rst:183
#: ../../c-api/frame.rst:181
msgid ""
"Prior to Python 3.13, this function would copy the :attr:`~frame.f_locals` "
"attribute of *f* to the internal \"fast\" array of local variables, allowing "
Expand All @@ -221,51 +217,51 @@ msgid ""
"dictionary."
msgstr ""

#: ../../c-api/frame.rst:189 ../../c-api/frame.rst:202
#: ../../c-api/frame.rst:214
#: ../../c-api/frame.rst:187 ../../c-api/frame.rst:198
#: ../../c-api/frame.rst:208
msgid "This function now does nothing."
msgstr ""

#: ../../c-api/frame.rst:197
#: ../../c-api/frame.rst:193
msgid ""
"Prior to Python 3.13, this function would copy the internal \"fast\" array "
"of local variables (which is used by the interpreter) to the :attr:`~frame."
"f_locals` attribute of *f*, allowing changes in local variables to be "
"visible to frame objects."
msgstr ""

#: ../../c-api/frame.rst:210
#: ../../c-api/frame.rst:204
msgid ""
"Prior to Python 3.13, this function was similar to :c:func:"
"`PyFrame_FastToLocals`, but would return ``0`` on success, and ``-1`` with "
"an exception set on failure."
msgstr ""

#: ../../c-api/frame.rst:219
#: ../../c-api/frame.rst:213
msgid ":pep:`667`"
msgstr ":pep:`667`"

#: ../../c-api/frame.rst:223
msgid "Internal Frames"
#: ../../c-api/frame.rst:217
msgid "Internal frames"
msgstr ""

#: ../../c-api/frame.rst:225
#: ../../c-api/frame.rst:219
msgid "Unless using :pep:`523`, you will not need this."
msgstr ""

#: ../../c-api/frame.rst:229
#: ../../c-api/frame.rst:223
msgid "The interpreter's internal frame representation."
msgstr ""

#: ../../c-api/frame.rst:235
#: ../../c-api/frame.rst:229
msgid "Return a :term:`strong reference` to the code object for the frame."
msgstr ""

#: ../../c-api/frame.rst:242
#: ../../c-api/frame.rst:236
msgid "Return the byte offset into the last executed instruction."
msgstr ""

#: ../../c-api/frame.rst:249
#: ../../c-api/frame.rst:243
msgid ""
"Return the currently executing line number, or -1 if there is no line number."
msgstr ""
Loading
Loading