From c9dc3d06a3401f61c5ff0e9686d80e03f5dbfca0 Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Sat, 12 Aug 2023 10:01:44 +0800 Subject: [PATCH 01/11] docs: translate bytearray.po --- c-api/bytearray.po | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 377d1c7c3d..ecae9c59a9 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-09 00:15+0000\n" -"PO-Revision-Date: 2015-12-09 17:51+0000\n" +"PO-Revision-Date: 2023-08-12 10:00+0800\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -17,6 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 3.3.2\n" #: ../../c-api/bytearray.rst:6 msgid "Byte Array Objects" @@ -25,64 +26,75 @@ msgstr "位元組串列物件 (Byte Array Objects)" #: ../../c-api/bytearray.rst:13 msgid "" "This subtype of :c:type:`PyObject` represents a Python bytearray object." -msgstr "" +msgstr "這個 :c:type:`PyObject` 的子類代表了 Python 的位元陣列物件。" #: ../../c-api/bytearray.rst:18 msgid "" "This instance of :c:type:`PyTypeObject` represents the Python bytearray " "type; it is the same object as :class:`bytearray` in the Python layer." msgstr "" +"這個 :c:type:`PyTypeObject` 的實作代表了 Python 的位元陣列類型;在 Python 層" +"中的 :class:`bytearray` 為同一個物件。" #: ../../c-api/bytearray.rst:23 msgid "Type check macros" -msgstr "" +msgstr "型別檢查巨集" #: ../../c-api/bytearray.rst:27 msgid "" "Return true if the object *o* is a bytearray object or an instance of a " "subtype of the bytearray type. This function always succeeds." msgstr "" +"如果物件 *o* 是一個位元陣列物件,或者是位元陣列類型的子類的實作,則回傳真值。" +"此函式總是會成功執行。" #: ../../c-api/bytearray.rst:33 msgid "" "Return true if the object *o* is a bytearray object, but not an instance of " "a subtype of the bytearray type. This function always succeeds." msgstr "" +"如果物件 *o* 是一個位元陣列物件,但不是位元陣列類型的子類的實作,則回傳真值。" +"此函式總是會成功執行。" #: ../../c-api/bytearray.rst:38 msgid "Direct API functions" -msgstr "" +msgstr "直接 API 函式" #: ../../c-api/bytearray.rst:42 msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" +"由任意物件 *o* 返回一個新的位元陣列物件,並實作了 :ref: `緩衝協議(Buffer " +"Protocol) ` 。" #: ../../c-api/bytearray.rst:48 msgid "" "Create a new bytearray object from *string* and its length, *len*. On " "failure, ``NULL`` is returned." msgstr "" +"從 *string* 及其長度 *len* 創建一個新的位元陣列物件。若失敗則返回 ``NULL``。" #: ../../c-api/bytearray.rst:54 msgid "" "Concat bytearrays *a* and *b* and return a new bytearray with the result." -msgstr "" +msgstr "連接位元組陣列 *a* 和 *b*,並返回一個包含結果的新位元組陣列。" #: ../../c-api/bytearray.rst:59 msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer." -msgstr "" +msgstr "在檢查為 ``NULL`` 指標後,返回 *bytearray* 的大小。" #: ../../c-api/bytearray.rst:64 msgid "" "Return the contents of *bytearray* as a char array after checking for a " "``NULL`` pointer. The returned array always has an extra null byte appended." msgstr "" +"在檢查是否為 ``NULL`` 指標後,將 *bytearray* 的內容返回為字元陣列。返回的陣列" +"總是會多附加一個空位元組。" #: ../../c-api/bytearray.rst:71 msgid "Resize the internal buffer of *bytearray* to *len*." -msgstr "" +msgstr "調整 *bytearray* 的內部緩衝區大小為 *len*。" #: ../../c-api/bytearray.rst:74 msgid "Macros" @@ -90,15 +102,15 @@ msgstr "巨集" #: ../../c-api/bytearray.rst:76 msgid "These macros trade safety for speed and they don't check pointers." -msgstr "" +msgstr "這些巨集犧牲了安全性以換取速度,並且它們不會檢查指標。" #: ../../c-api/bytearray.rst:80 msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking." -msgstr "" +msgstr "與 :c:func:`PyByteArray_AsString` 類似,但沒有錯誤檢查。" #: ../../c-api/bytearray.rst:85 msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking." -msgstr "" +msgstr "與 :c:func:`PyByteArray_Size` 類似,但沒有錯誤檢查。" #: ../../c-api/bytearray.rst:8 msgid "object" From bb52afe7e109b68eadc3cfcc13ed473531f75dd2 Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Sat, 12 Aug 2023 10:17:45 +0800 Subject: [PATCH 02/11] fix: translated words --- c-api/bytearray.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index ecae9c59a9..ca39afa85a 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -26,7 +26,7 @@ msgstr "位元組串列物件 (Byte Array Objects)" #: ../../c-api/bytearray.rst:13 msgid "" "This subtype of :c:type:`PyObject` represents a Python bytearray object." -msgstr "這個 :c:type:`PyObject` 的子類代表了 Python 的位元陣列物件。" +msgstr "這個 :c:type:`PyObject` 的子類別代表了 Python 的位元陣列物件。" #: ../../c-api/bytearray.rst:18 msgid "" @@ -45,7 +45,7 @@ msgid "" "Return true if the object *o* is a bytearray object or an instance of a " "subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元陣列物件,或者是位元陣列類型的子類的實作,則回傳真值。" +"如果物件 *o* 是一個位元陣列物件,或者是位元陣列類型的子類別的實作,則回傳真值。" "此函式總是會成功執行。" #: ../../c-api/bytearray.rst:33 @@ -53,7 +53,7 @@ msgid "" "Return true if the object *o* is a bytearray object, but not an instance of " "a subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元陣列物件,但不是位元陣列類型的子類的實作,則回傳真值。" +"如果物件 *o* 是一個位元陣列物件,但不是位元陣列類型的子類別的實作,則回傳真值。" "此函式總是會成功執行。" #: ../../c-api/bytearray.rst:38 @@ -65,7 +65,7 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 返回一個新的位元陣列物件,並實作了 :ref: `緩衝協議(Buffer " +"由任意物件 *o* 回傳一個新的位元陣列物件,並實作了 :ref: `緩衝協議(Buffer " "Protocol) ` 。" #: ../../c-api/bytearray.rst:48 @@ -73,23 +73,23 @@ msgid "" "Create a new bytearray object from *string* and its length, *len*. On " "failure, ``NULL`` is returned." msgstr "" -"從 *string* 及其長度 *len* 創建一個新的位元陣列物件。若失敗則返回 ``NULL``。" +"從 *string* 及其長度 *len* 建立一個新的位元陣列物件。若失敗則回傳 ``NULL``。" #: ../../c-api/bytearray.rst:54 msgid "" "Concat bytearrays *a* and *b* and return a new bytearray with the result." -msgstr "連接位元組陣列 *a* 和 *b*,並返回一個包含結果的新位元組陣列。" +msgstr "連接位元組陣列 *a* 和 *b*,並回傳一個包含結果的新位元組陣列。" #: ../../c-api/bytearray.rst:59 msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer." -msgstr "在檢查為 ``NULL`` 指標後,返回 *bytearray* 的大小。" +msgstr "在檢查為 ``NULL`` 指標後,回傳 *bytearray* 的大小。" #: ../../c-api/bytearray.rst:64 msgid "" "Return the contents of *bytearray* as a char array after checking for a " "``NULL`` pointer. The returned array always has an extra null byte appended." msgstr "" -"在檢查是否為 ``NULL`` 指標後,將 *bytearray* 的內容返回為字元陣列。返回的陣列" +"在檢查是否為 ``NULL`` 指標後,將 *bytearray* 的內容回傳為字元陣列。回傳的陣列" "總是會多附加一個空位元組。" #: ../../c-api/bytearray.rst:71 From 447ce0de5cc2ea8c3b15c8e988f48584ab9d5d4d Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Sat, 12 Aug 2023 10:22:12 +0800 Subject: [PATCH 03/11] fix: style format --- c-api/bytearray.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index ca39afa85a..d49b37b5ca 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -65,8 +65,8 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 回傳一個新的位元陣列物件,並實作了 :ref: `緩衝協議(Buffer " -"Protocol) ` 。" +"由任意物件 *o* 回傳一個新的位元陣列物件,並實作了\\ :ref: `緩衝協議(Buffer " +"Protocol) `\\ 。" #: ../../c-api/bytearray.rst:48 msgid "" From 5a924e92fa74e0d7ffad8c02247c0eb72503b838 Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Sat, 12 Aug 2023 10:23:00 +0800 Subject: [PATCH 04/11] fix: row length --- c-api/bytearray.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index d49b37b5ca..3f49610b92 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-09 00:15+0000\n" -"PO-Revision-Date: 2023-08-12 10:00+0800\n" +"PO-Revision-Date: 2023-08-12 10:20+0800\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -45,16 +45,16 @@ msgid "" "Return true if the object *o* is a bytearray object or an instance of a " "subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元陣列物件,或者是位元陣列類型的子類別的實作,則回傳真值。" -"此函式總是會成功執行。" +"如果物件 *o* 是一個位元陣列物件,或者是位元陣列類型的子類別的實作,則回傳真" +"值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:33 msgid "" "Return true if the object *o* is a bytearray object, but not an instance of " "a subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元陣列物件,但不是位元陣列類型的子類別的實作,則回傳真值。" -"此函式總是會成功執行。" +"如果物件 *o* 是一個位元陣列物件,但不是位元陣列類型的子類別的實作,則回傳真" +"值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:38 msgid "Direct API functions" From b4776758b3edf043345857e35e1b2c0c2b7417b8 Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Sat, 12 Aug 2023 11:44:18 +0800 Subject: [PATCH 05/11] fix: remove blank --- c-api/bytearray.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 3f49610b92..055e9e7a1c 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-09 00:15+0000\n" -"PO-Revision-Date: 2023-08-12 10:20+0800\n" +"PO-Revision-Date: 2023-08-12 11:42+0800\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -65,7 +65,7 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 回傳一個新的位元陣列物件,並實作了\\ :ref: `緩衝協議(Buffer " +"由任意物件 *o* 回傳一個新的位元陣列物件,並實作了\\ :ref:`緩衝協議(Buffer " "Protocol) `\\ 。" #: ../../c-api/bytearray.rst:48 From 4e5953b375d6e55e708492c8e9431cb76012fad5 Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Tue, 15 Aug 2023 10:05:13 +0800 Subject: [PATCH 06/11] fix: "Resize the internal buffer of *bytearray* to *len*." --- c-api/bytearray.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 055e9e7a1c..361b72683f 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -94,7 +94,7 @@ msgstr "" #: ../../c-api/bytearray.rst:71 msgid "Resize the internal buffer of *bytearray* to *len*." -msgstr "調整 *bytearray* 的內部緩衝區大小為 *len*。" +msgstr "將 *bytearray* 的內部緩衝區大小調整為 *len*。" #: ../../c-api/bytearray.rst:74 msgid "Macros" From 5572f08c105cb28391eb0e6f1e9d5eda6a715371 Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Tue, 15 Aug 2023 10:09:32 +0800 Subject: [PATCH 07/11] =?UTF-8?q?fix:=20rename=20to=20"=E4=BD=8D=E5=85=83?= =?UTF-8?q?=E7=B5=84=E9=99=A3=E5=88=97"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c-api/bytearray.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 361b72683f..475959cd4e 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -21,19 +21,19 @@ msgstr "" #: ../../c-api/bytearray.rst:6 msgid "Byte Array Objects" -msgstr "位元組串列物件 (Byte Array Objects)" +msgstr "位元組陣列物件 (Byte Array Objects)" #: ../../c-api/bytearray.rst:13 msgid "" "This subtype of :c:type:`PyObject` represents a Python bytearray object." -msgstr "這個 :c:type:`PyObject` 的子類別代表了 Python 的位元陣列物件。" +msgstr "這個 :c:type:`PyObject` 的子類別代表了 Python 的位元組陣列物件。" #: ../../c-api/bytearray.rst:18 msgid "" "This instance of :c:type:`PyTypeObject` represents the Python bytearray " "type; it is the same object as :class:`bytearray` in the Python layer." msgstr "" -"這個 :c:type:`PyTypeObject` 的實作代表了 Python 的位元陣列類型;在 Python 層" +"這個 :c:type:`PyTypeObject` 的實作代表了 Python 的位元組陣列類型;在 Python 層" "中的 :class:`bytearray` 為同一個物件。" #: ../../c-api/bytearray.rst:23 @@ -45,7 +45,7 @@ msgid "" "Return true if the object *o* is a bytearray object or an instance of a " "subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元陣列物件,或者是位元陣列類型的子類別的實作,則回傳真" +"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列類型的子類別的實作,則回傳真" "值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:33 @@ -53,7 +53,7 @@ msgid "" "Return true if the object *o* is a bytearray object, but not an instance of " "a subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元陣列物件,但不是位元陣列類型的子類別的實作,則回傳真" +"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列類型的子類別的實作,則回傳真" "值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:38 @@ -65,7 +65,7 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 回傳一個新的位元陣列物件,並實作了\\ :ref:`緩衝協議(Buffer " +"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議(Buffer " "Protocol) `\\ 。" #: ../../c-api/bytearray.rst:48 @@ -73,7 +73,7 @@ msgid "" "Create a new bytearray object from *string* and its length, *len*. On " "failure, ``NULL`` is returned." msgstr "" -"從 *string* 及其長度 *len* 建立一個新的位元陣列物件。若失敗則回傳 ``NULL``。" +"從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 ``NULL``。" #: ../../c-api/bytearray.rst:54 msgid "" @@ -118,4 +118,4 @@ msgstr "object(物件)" #: ../../c-api/bytearray.rst:8 msgid "bytearray" -msgstr "bytearray(位元組串列)" +msgstr "bytearray(位元組陣列)" From 7c4d7caf8b504fe8b79cabef9d9cfa7b2d3515b8 Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Tue, 15 Aug 2023 10:11:07 +0800 Subject: [PATCH 08/11] =?UTF-8?q?fix:=20rename=20"=E5=AD=90=E5=9E=8B?= =?UTF-8?q?=E5=88=A5"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c-api/bytearray.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 475959cd4e..c7d0ab08f7 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -26,7 +26,7 @@ msgstr "位元組陣列物件 (Byte Array Objects)" #: ../../c-api/bytearray.rst:13 msgid "" "This subtype of :c:type:`PyObject` represents a Python bytearray object." -msgstr "這個 :c:type:`PyObject` 的子類別代表了 Python 的位元組陣列物件。" +msgstr "這個 :c:type:`PyObject` 的子型別代表了 Python 的位元組陣列物件。" #: ../../c-api/bytearray.rst:18 msgid "" @@ -45,7 +45,7 @@ msgid "" "Return true if the object *o* is a bytearray object or an instance of a " "subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列類型的子類別的實作,則回傳真" +"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列類型的子型別的實作,則回傳真" "值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:33 @@ -53,7 +53,7 @@ msgid "" "Return true if the object *o* is a bytearray object, but not an instance of " "a subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列類型的子類別的實作,則回傳真" +"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列類型的子型別的實作,則回傳真" "值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:38 From e9ccb8dfb622ae6a6db39f61517fccdbc7ea607a Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Tue, 15 Aug 2023 10:14:25 +0800 Subject: [PATCH 09/11] =?UTF-8?q?fix:=20rename=20"instance"=20to=20"?= =?UTF-8?q?=E5=AF=A6=E4=BE=8B"=20and=20"type"=20to=20"=E5=9E=8B=E5=88=A5"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c-api/bytearray.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index c7d0ab08f7..593c3f17b5 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -33,7 +33,7 @@ msgid "" "This instance of :c:type:`PyTypeObject` represents the Python bytearray " "type; it is the same object as :class:`bytearray` in the Python layer." msgstr "" -"這個 :c:type:`PyTypeObject` 的實作代表了 Python 的位元組陣列類型;在 Python 層" +"這個 :c:type:`PyTypeObject` 的實例代表了 Python 的位元組陣列型別;在 Python 層" "中的 :class:`bytearray` 為同一個物件。" #: ../../c-api/bytearray.rst:23 @@ -45,7 +45,7 @@ msgid "" "Return true if the object *o* is a bytearray object or an instance of a " "subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列類型的子型別的實作,則回傳真" +"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列型別的子型別的實例,則回傳真" "值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:33 @@ -53,7 +53,7 @@ msgid "" "Return true if the object *o* is a bytearray object, but not an instance of " "a subtype of the bytearray type. This function always succeeds." msgstr "" -"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列類型的子型別的實作,則回傳真" +"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列型別的子型別的實例,則回傳真" "值。此函式總是會成功執行。" #: ../../c-api/bytearray.rst:38 @@ -65,7 +65,7 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議(Buffer " +"由任意物件 *o* 回傳一個新的位元組陣列物件,並實例了\\ :ref:`緩衝協議(Buffer " "Protocol) `\\ 。" #: ../../c-api/bytearray.rst:48 From 344671dc79652eeb452a9ac357f692350414cd6b Mon Sep 17 00:00:00 2001 From: Simon Chu Date: Tue, 15 Aug 2023 10:16:45 +0800 Subject: [PATCH 10/11] fix: capitalization --- c-api/bytearray.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index 593c3f17b5..f9f3574e37 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -65,8 +65,8 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 回傳一個新的位元組陣列物件,並實例了\\ :ref:`緩衝協議(Buffer " -"Protocol) `\\ 。" +"由任意物件 *o* 回傳一個新的位元組陣列物件,並實例了\\ :ref:`緩衝協議(buffer " +"protocol) `\\ 。" #: ../../c-api/bytearray.rst:48 msgid "" From e8dc23c73ab7759e9f213d6910d4d75307aa945a Mon Sep 17 00:00:00 2001 From: "Wei-Hsiang (Matt) Wang" Date: Tue, 15 Aug 2023 13:38:46 +0800 Subject: [PATCH 11/11] Update c-api/bytearray.po --- c-api/bytearray.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/bytearray.po b/c-api/bytearray.po index f9f3574e37..15d1dc4bfb 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -65,7 +65,7 @@ msgid "" "Return a new bytearray object from any object, *o*, that implements the :ref:" "`buffer protocol `." msgstr "" -"由任意物件 *o* 回傳一個新的位元組陣列物件,並實例了\\ :ref:`緩衝協議(buffer " +"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer " "protocol) `\\ 。" #: ../../c-api/bytearray.rst:48