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
51 changes: 29 additions & 22 deletions c-api/unicode.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,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-10 00:23+0000\n"
"PO-Revision-Date: 2018-05-23 14:08+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 @@ -2219,8 +2219,8 @@ msgstr ""
#: ../../c-api/unicode.rst:1817 ../../c-api/unicode.rst:1827
#: ../../c-api/unicode.rst:1842 ../../c-api/unicode.rst:1852
#: ../../c-api/unicode.rst:1861 ../../c-api/unicode.rst:1868
#: ../../c-api/unicode.rst:1877 ../../c-api/unicode.rst:1892
#: ../../c-api/unicode.rst:1899 ../../c-api/unicode.rst:1918
#: ../../c-api/unicode.rst:1881 ../../c-api/unicode.rst:1896
#: ../../c-api/unicode.rst:1903 ../../c-api/unicode.rst:1922
msgid ""
"On success, return ``0``. On error, set an exception, leave the writer "
"unchanged, and return ``-1``."
Expand All @@ -2233,7 +2233,7 @@ msgid ""
msgstr ""

#: ../../c-api/unicode.rst:1824 ../../c-api/unicode.rst:1836
#: ../../c-api/unicode.rst:1907
#: ../../c-api/unicode.rst:1911
msgid ""
"*size* is the string length in bytes. If *size* is equal to ``-1``, call "
"``strlen(str)`` to get the string length."
Expand Down Expand Up @@ -2276,101 +2276,108 @@ msgid ""
"Call :c:func:`PyObject_Str` on *obj* and write the output into *writer*."
msgstr "於 *obj* 上呼叫 :c:func:`PyObject_Str` 並將輸出寫入 *writer*。"

#: ../../c-api/unicode.rst:1873
#: ../../c-api/unicode.rst:1871
msgid ""
"To write a :class:`str` subclass which overrides the :meth:`~object.__str__` "
"method, :c:func:`PyUnicode_FromObject` can be used to get the original "
"string."
msgstr ""

#: ../../c-api/unicode.rst:1877
msgid ""
"Call :c:func:`PyObject_Repr` on *obj* and write the output into *writer*."
msgstr "於 *obj* 上呼叫 :c:func:`PyObject_Repr` 並將輸出寫入 *writer*。"

#: ../../c-api/unicode.rst:1875
#: ../../c-api/unicode.rst:1879
msgid "If *obj* is ``NULL``, write the string ``\"<NULL>\"`` into *writer*."
msgstr ""

#: ../../c-api/unicode.rst:1882
#: ../../c-api/unicode.rst:1886
msgid "Added support for ``NULL``."
msgstr ""

#: ../../c-api/unicode.rst:1886
#: ../../c-api/unicode.rst:1890
msgid "Write the substring ``str[start:end]`` into *writer*."
msgstr ""

#: ../../c-api/unicode.rst:1888
#: ../../c-api/unicode.rst:1892
msgid ""
"*str* must be Python :class:`str` object. *start* must be greater than or "
"equal to 0, and less than or equal to *end*. *end* must be less than or "
"equal to *str* length."
msgstr ""

#: ../../c-api/unicode.rst:1897
#: ../../c-api/unicode.rst:1901
msgid ""
"Similar to :c:func:`PyUnicode_FromFormat`, but write the output directly "
"into *writer*."
msgstr "類似於 :c:func:`PyUnicode_FromFormat`,但是直接將輸出寫入 *writer*。"

#: ../../c-api/unicode.rst:1904
#: ../../c-api/unicode.rst:1908
msgid ""
"Decode the string *str* from UTF-8 with *errors* error handler and write the "
"output into *writer*."
msgstr ""

#: ../../c-api/unicode.rst:1910
#: ../../c-api/unicode.rst:1914
msgid ""
"*errors* is an :ref:`error handler <error-handlers>` name, such as "
"``\"replace\"``. If *errors* is ``NULL``, use the strict error handler."
msgstr ""

#: ../../c-api/unicode.rst:1913
#: ../../c-api/unicode.rst:1917
msgid ""
"If *consumed* is not ``NULL``, set *\\*consumed* to the number of decoded "
"bytes on success. If *consumed* is ``NULL``, treat trailing incomplete UTF-8 "
"byte sequences as an error."
msgstr ""

#: ../../c-api/unicode.rst:1921
#: ../../c-api/unicode.rst:1925
msgid "See also :c:func:`PyUnicodeWriter_WriteUTF8`."
msgstr "另請參閱 :c:func:`PyUnicodeWriter_WriteUTF8`。"

#: ../../c-api/unicode.rst:1924
#: ../../c-api/unicode.rst:1928
msgid "Deprecated API"
msgstr "已棄用的 API"

#: ../../c-api/unicode.rst:1926
#: ../../c-api/unicode.rst:1930
msgid "The following API is deprecated."
msgstr "以下 API 已棄用。"

#: ../../c-api/unicode.rst:1930
#: ../../c-api/unicode.rst:1934
msgid ""
"This is a typedef of :c:type:`wchar_t`, which is a 16-bit type or 32-bit "
"type depending on the platform. Please use :c:type:`wchar_t` directly "
"instead."
msgstr ""

#: ../../c-api/unicode.rst:1934
#: ../../c-api/unicode.rst:1938
msgid ""
"In previous versions, this was a 16-bit type or a 32-bit type depending on "
"whether you selected a \"narrow\" or \"wide\" Unicode version of Python at "
"build time."
msgstr ""

#: ../../c-api/unicode.rst:1944
#: ../../c-api/unicode.rst:1948
msgid ""
"Do nothing and return ``0``. This API is kept only for backward "
"compatibility, but there are no plans to remove it."
msgstr ""

#: ../../c-api/unicode.rst:1950
#: ../../c-api/unicode.rst:1954
msgid ""
"This API does nothing since Python 3.12. Previously, this needed to be "
"called for each string created using the old API (:c:func:`!"
"PyUnicode_FromUnicode` or similar)."
msgstr ""

#: ../../c-api/unicode.rst:1958
#: ../../c-api/unicode.rst:1962
msgid ""
"Do nothing and return ``1``. This API is kept only for backward "
"compatibility, but there are no plans to remove it."
msgstr ""

#: ../../c-api/unicode.rst:1964
#: ../../c-api/unicode.rst:1968
msgid ""
"This API does nothing since Python 3.12. Previously, this could be called to "
"check if :c:func:`PyUnicode_READY` is necessary."
Expand Down
5 changes: 3 additions & 2 deletions library/asyncio-eventloop.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-22 00:20+0000\n"
"POT-Creation-Date: 2026-04-10 00:23+0000\n"
"PO-Revision-Date: 2022-02-20 12:36+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -3084,7 +3084,8 @@ msgid "Set signal handlers for SIGINT and SIGTERM"
msgstr "設定 SIGINT 和 SIGTERM 的訊號處理程式"

#: ../../library/asyncio-eventloop.rst:2058
msgid "(This ``signals`` example only works on Unix.)"
#, fuzzy
msgid "(This ``signal`` example only works on Unix.)"
msgstr "(此 ``signals`` 範例僅在 Unix 上運作。)"

#: ../../library/asyncio-eventloop.rst:2060
Expand Down
Loading
Loading