Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork214
docs: translate bytearray.po#577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
11 commits Select commitHold shift + click to select a range
c9dc3d0
docs: translate bytearray.po
xchuxbb52afe
fix: translated words
xchux447ce0d
fix: style format
xchux5a924e9
fix: row length
xchuxb477675
fix: remove blank
xchux4e5953b
fix: "Resize the internal buffer of *bytearray* to *len*."
xchux5572f08
fix: rename to "位元組陣列"
xchux7c4d7ca
fix: rename "子型別"
xchuxe9ccb8d
fix: rename "instance" to "實例" and "type" to "型別"
xchux344671d
fix: capitalization
xchuxe8dc23c
Update c-api/bytearray.po
mattwang44File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
36 changes: 24 additions & 12 deletionsc-api/bytearray.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 11:42+0800\n" | ||
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
"tw)\n" | ||
@@ -17,93 +17,105 @@ 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" | ||
mattwang44 marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
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 的位元組陣列物件。" | ||
#: ../../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 "型別檢查巨集" | ||
#: ../../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 "直接 API 函式" | ||
#: ../../c-api/bytearray.rst:42 | ||
msgid "" | ||
"Return a new bytearray object from any object, *o*, that implements the :ref:" | ||
"`buffer protocol <bufferobjects>`." | ||
msgstr "" | ||
"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer " | ||
"protocol) <bufferobjects>`\\ 。" | ||
#: ../../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 "連接位元組陣列 *a* 和 *b*,並回傳一個包含結果的新位元組陣列。" | ||
#: ../../c-api/bytearray.rst:59 | ||
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer." | ||
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 "將 *bytearray* 的內部緩衝區大小調整為 *len*。" | ||
#: ../../c-api/bytearray.rst:74 | ||
msgid "Macros" | ||
msgstr "巨集" | ||
#: ../../c-api/bytearray.rst:76 | ||
msgid "These macros trade safety for speed and they don't check pointers." | ||
msgstr "這些巨集犧牲了安全性以換取速度,並且它們不會檢查指標。" | ||
#: ../../c-api/bytearray.rst:80 | ||
msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking." | ||
msgstr "與 :c:func:`PyByteArray_AsString` 類似,但沒有錯誤檢查。" | ||
#: ../../c-api/bytearray.rst:85 | ||
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking." | ||
msgstr "與 :c:func:`PyByteArray_Size` 類似,但沒有錯誤檢查。" | ||
#: ../../c-api/bytearray.rst:8 | ||
msgid "object" | ||
msgstr "object(物件)" | ||
#: ../../c-api/bytearray.rst:8 | ||
msgid "bytearray" | ||
msgstr "bytearray(位元組陣列)" |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.