Skip to content
Draft
40 changes: 27 additions & 13 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-01-15 00:15+0000\n"
"POT-Creation-Date: 2026-03-23 00:22+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 Down Expand Up @@ -192,52 +192,66 @@ msgstr ""
"`const char*`。"

#: ../../c-api/file.rst:124
#, fuzzy
msgid ""
"Write object *obj* to file object *p*. The only supported flag for *flags* "
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
"written instead of the :func:`repr`. Return ``0`` on success or ``-1`` on "
"failure; the appropriate exception will be set."
"written instead of the :func:`repr`."
msgstr ""
"將物件 *obj* 寫入檔案物件 *p*。 *flags* 唯一支援的旗標是 :c:macro:"
"`Py_PRINT_RAW`;如果有給定,則寫入物件的 :func:`str` 而不是 :func:`repr`。在"
"成功回傳 ``0`` 或在失敗回傳 ``-1``;將設定適當的例外。"

#: ../../c-api/file.rst:132
#: ../../c-api/file.rst:128
msgid "If *obj* is ``NULL``, write the string ``\"<NULL>\"``."
msgstr ""

#: ../../c-api/file.rst:130
#, fuzzy
msgid ""
"Return ``0`` on success or ``-1`` on failure; the appropriate exception will "
"be set."
msgstr ""
"寫入字串 *s* 到 檔案物件 *p*。當成功時回傳 0,而當失敗時回傳 -1,並會設定合適"
"的例外狀況。"

#: ../../c-api/file.rst:135
msgid ""
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
"failure; the appropriate exception will be set."
msgstr ""
"寫入字串 *s* 到 檔案物件 *p*。當成功時回傳 0,而當失敗時回傳 -1,並會設定合適"
"的例外狀況。"

#: ../../c-api/file.rst:137
#: ../../c-api/file.rst:140
msgid "Deprecated API"
msgstr "已棄用的 API"

#: ../../c-api/file.rst:140
#: ../../c-api/file.rst:143
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."
msgstr ""
"這些是被錯誤地包含在 Python C API 中的\\ :term:`軟性棄用 <soft deprecated>` API。它們僅為"
"了完整性而記錄於文件中;請改用其他 ``PyFile*`` API。"
"這些是被錯誤地包含在 Python C API 中的\\ :term:`軟性棄用 <soft deprecated>` "
"API。它們僅為了完整性而記錄於文件中;請改用其他 ``PyFile*`` API。"

#: ../../c-api/file.rst:146
#: ../../c-api/file.rst:149
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`。"
"請改用帶有預設值 (``fd, NULL, \"w\", -1, NULL, NULL, NULL, 0``) 的 :c:func:"
"`PyFile_FromFd`。"

#: ../../c-api/file.rst:150
#: ../../c-api/file.rst:153
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:"
"`PyFile_FromFd` to create file objects instead."
msgstr ""
"在 Python 啟動期間,當 :py:mod:`io` 尚不可用時會在內部使用的類檔案物件的型別。請改用 "
"Python :py:func:`open` 或 :c:func:`PyFile_FromFd` 來建立檔案物件。"
"在 Python 啟動期間,當 :py:mod:`io` 尚不可用時會在內部使用的類檔案物件的型"
"別。請改用 Python :py:func:`open` 或 :c:func:`PyFile_FromFd` 來建立檔案物件。"

#: ../../c-api/file.rst:8
msgid "object"
Expand Down
12 changes: 7 additions & 5 deletions c-api/float.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-02-18 00:20+0000\n"
"POT-Creation-Date: 2026-03-17 00:20+0000\n"
"PO-Revision-Date: 2025-11-07 05:06+0000\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -274,9 +274,10 @@ msgstr ""
"理,並且嘗試解包包含 IEEE INF 或 NaN 的位元組字串將引發例外。"

#: ../../c-api/float.rst:197
#, fuzzy
msgid ""
"Note that NaNs type may not be preserved on IEEE platforms (signaling NaN "
"become quiet NaN), for example on x86 systems in 32-bit mode."
"Note that NaN type may not be preserved on IEEE platforms (signaling NaNs "
"become quiet NaNs), for example on x86 systems in 32-bit mode."
msgstr ""
"請注意,在 IEEE 平台上可能無法保留 NaN 型別(「訊號型 NaN (signaling NaN)」會"
"變成「安靜型 NaN (quiet NaN)」),例如在 32 位元模式的 x86 系統上。"
Expand All @@ -297,11 +298,12 @@ msgid "Pack functions"
msgstr "打包函式"

#: ../../c-api/float.rst:210
#, fuzzy
msgid ""
"The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an :c:expr:"
"`int` argument, non-zero if you want the bytes string in little-endian "
"format (exponent last, at ``p+1``, ``p+3``, or ``p+6`` ``p+7``), zero if you "
"want big-endian format (exponent first, at *p*). The :c:macro:"
"format (exponent last, at ``p+1``, ``p+3``, or ``p+6`` and ``p+7``), zero if "
"you want big-endian format (exponent first, at *p*). The :c:macro:"
"`PY_BIG_ENDIAN` constant can be used to use the native endian: it is equal "
"to ``1`` on big endian processor, or ``0`` on little endian processor."
msgstr ""
Expand Down
Loading
Loading