Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite468d67

Browse files
xchuxmattwang44
andauthored
docs: translate bytearray.po (#577)
* docs: translate bytearray.po* fix: translated words* fix: style format* fix: row length* fix: remove blank* fix: "Resize the internal buffer of *bytearray* to *len*."* fix: rename to "位元組陣列"* fix: rename "子型別"* fix: rename "instance" to "實例" and "type" to "型別"* fix: capitalization* Update c-api/bytearray.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent46d082c commite468d67

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

‎c-api/bytearray.po

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
1010
"POT-Creation-Date:2023-05-09 00:15+0000\n"
11-
"PO-Revision-Date:2015-12-09 17:51+0000\n"
11+
"PO-Revision-Date:2023-08-12 11:42+0800\n"
1212
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -17,93 +17,105 @@ msgstr ""
1717
"Content-Type:text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding:8bit\n"
1919
"Plural-Forms:nplurals=1; plural=0;\n"
20+
"X-Generator:Poedit 3.3.2\n"
2021

2122
#:../../c-api/bytearray.rst:6
2223
msgid"Byte Array Objects"
23-
msgstr"位元組串列物件 (Byte Array Objects)"
24+
msgstr"位元組陣列物件 (Byte Array Objects)"
2425

2526
#:../../c-api/bytearray.rst:13
2627
msgid""
2728
"This subtype of :c:type:`PyObject` represents a Python bytearray object."
28-
msgstr""
29+
msgstr"這個 :c:type:`PyObject` 的子型別代表了 Python 的位元組陣列物件。"
2930

3031
#:../../c-api/bytearray.rst:18
3132
msgid""
3233
"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
3334
"type; it is the same object as :class:`bytearray` in the Python layer."
3435
msgstr""
36+
"這個 :c:type:`PyTypeObject` 的實例代表了 Python 的位元組陣列型別;在 Python 層"
37+
"中的 :class:`bytearray` 為同一個物件。"
3538

3639
#:../../c-api/bytearray.rst:23
3740
msgid"Type check macros"
38-
msgstr""
41+
msgstr"型別檢查巨集"
3942

4043
#:../../c-api/bytearray.rst:27
4144
msgid""
4245
"Return true if the object *o* is a bytearray object or an instance of a "
4346
"subtype of the bytearray type. This function always succeeds."
4447
msgstr""
48+
"如果物件 *o* 是一個位元組陣列物件,或者是位元組陣列型別的子型別的實例,則回傳真"
49+
"值。此函式總是會成功執行。"
4550

4651
#:../../c-api/bytearray.rst:33
4752
msgid""
4853
"Return true if the object *o* is a bytearray object, but not an instance of "
4954
"a subtype of the bytearray type. This function always succeeds."
5055
msgstr""
56+
"如果物件 *o* 是一個位元組陣列物件,但不是位元組陣列型別的子型別的實例,則回傳真"
57+
"值。此函式總是會成功執行。"
5158

5259
#:../../c-api/bytearray.rst:38
5360
msgid"Direct API functions"
54-
msgstr""
61+
msgstr"直接 API 函式"
5562

5663
#:../../c-api/bytearray.rst:42
5764
msgid""
5865
"Return a new bytearray object from any object, *o*, that implements the :ref:"
5966
"`buffer protocol <bufferobjects>`."
6067
msgstr""
68+
"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer "
69+
"protocol) <bufferobjects>`\\ 。"
6170

6271
#:../../c-api/bytearray.rst:48
6372
msgid""
6473
"Create a new bytearray object from *string* and its length, *len*. On "
6574
"failure, ``NULL`` is returned."
6675
msgstr""
76+
"從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 ``NULL``。"
6777

6878
#:../../c-api/bytearray.rst:54
6979
msgid""
7080
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
71-
msgstr""
81+
msgstr"連接位元組陣列 *a* 和 *b*,並回傳一個包含結果的新位元組陣列。"
7282

7383
#:../../c-api/bytearray.rst:59
7484
msgid"Return the size of *bytearray* after checking for a ``NULL`` pointer."
75-
msgstr""
85+
msgstr"在檢查為 ``NULL`` 指標後,回傳 *bytearray* 的大小。"
7686

7787
#:../../c-api/bytearray.rst:64
7888
msgid""
7989
"Return the contents of *bytearray* as a char array after checking for a "
8090
"``NULL`` pointer. The returned array always has an extra null byte appended."
8191
msgstr""
92+
"在檢查是否為 ``NULL`` 指標後,將 *bytearray* 的內容回傳為字元陣列。回傳的陣列"
93+
"總是會多附加一個空位元組。"
8294

8395
#:../../c-api/bytearray.rst:71
8496
msgid"Resize the internal buffer of *bytearray* to *len*."
85-
msgstr""
97+
msgstr"將 *bytearray* 的內部緩衝區大小調整為 *len*。"
8698

8799
#:../../c-api/bytearray.rst:74
88100
msgid"Macros"
89101
msgstr"巨集"
90102

91103
#:../../c-api/bytearray.rst:76
92104
msgid"These macros trade safety for speed and they don't check pointers."
93-
msgstr""
105+
msgstr"這些巨集犧牲了安全性以換取速度,並且它們不會檢查指標。"
94106

95107
#:../../c-api/bytearray.rst:80
96108
msgid"Similar to :c:func:`PyByteArray_AsString`, but without error checking."
97-
msgstr""
109+
msgstr"與 :c:func:`PyByteArray_AsString` 類似,但沒有錯誤檢查。"
98110

99111
#:../../c-api/bytearray.rst:85
100112
msgid"Similar to :c:func:`PyByteArray_Size`, but without error checking."
101-
msgstr""
113+
msgstr"與 :c:func:`PyByteArray_Size` 類似,但沒有錯誤檢查。"
102114

103115
#:../../c-api/bytearray.rst:8
104116
msgid"object"
105117
msgstr"object(物件)"
106118

107119
#:../../c-api/bytearray.rst:8
108120
msgid"bytearray"
109-
msgstr"bytearray(位元組串列)"
121+
msgstr"bytearray(位元組陣列)"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp