Skip to content

Commit 25fa92d

Browse files
[po] auto sync
1 parent 50fa2fd commit 25fa92d

File tree

9 files changed

+5679
-5
lines changed

9 files changed

+5679
-5
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.55%", "updated_at": "2024-06-14T15:47:18Z"}
1+
{"translation": "95.13%", "updated_at": "2024-06-14T19:47:27Z"}

c-api/bytearray.po

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,115 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2024, Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
15
#
6+
# Translators:
7+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
8+
#
9+
#, fuzzy
210
msgid ""
311
msgstr ""
12+
"Project-Id-Version: Python 3.12\n"
13+
"Report-Msgid-Bugs-To: \n"
14+
"POT-Creation-Date: 2024-06-14 18:58+0000\n"
15+
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
417
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
18+
"MIME-Version: 1.0\n"
19+
"Content-Type: text/plain; charset=UTF-8\n"
20+
"Content-Transfer-Encoding: 8bit\n"
521
"Language: zh_CN\n"
622
"Plural-Forms: nplurals=1; plural=0;\n"
23+
24+
#: ../../c-api/bytearray.rst:6
25+
msgid "Byte Array Objects"
26+
msgstr "字节数组对象"
27+
28+
#: ../../c-api/bytearray.rst:13
29+
msgid ""
30+
"This subtype of :c:type:`PyObject` represents a Python bytearray object."
31+
msgstr "这个 :c:type:`PyObject` 的子类型表示一个 Python 字节数组对象。"
32+
33+
#: ../../c-api/bytearray.rst:18
34+
msgid ""
35+
"This instance of :c:type:`PyTypeObject` represents the Python bytearray "
36+
"type; it is the same object as :class:`bytearray` in the Python layer."
37+
msgstr ""
38+
"Python bytearray 类型表示为 :c:type:`PyTypeObject` 的实例;这与Python层面的 "
39+
":class:`bytearray` 是相同的对象。"
40+
41+
#: ../../c-api/bytearray.rst:23
42+
msgid "Type check macros"
43+
msgstr "类型检查宏"
44+
45+
#: ../../c-api/bytearray.rst:27
46+
msgid ""
47+
"Return true if the object *o* is a bytearray object or an instance of a "
48+
"subtype of the bytearray type. This function always succeeds."
49+
msgstr "如果对象 *o* 是一个 bytearray 对象或者 bytearray 类型的子类型的实例则返回真值。 此函数总是会成功执行。"
50+
51+
#: ../../c-api/bytearray.rst:33
52+
msgid ""
53+
"Return true if the object *o* is a bytearray object, but not an instance of "
54+
"a subtype of the bytearray type. This function always succeeds."
55+
msgstr "如果对象 *o* 是一个 bytearray 对象但不是 bytearray 类型的子类型的实例则返回真值。 此函数总是会成功执行。"
56+
57+
#: ../../c-api/bytearray.rst:38
58+
msgid "Direct API functions"
59+
msgstr "直接 API 函数"
60+
61+
#: ../../c-api/bytearray.rst:42
62+
msgid ""
63+
"Return a new bytearray object from any object, *o*, that implements the "
64+
":ref:`buffer protocol <bufferobjects>`."
65+
msgstr "根据任何实现了 :ref:`缓冲区协议<bufferobjects>` 的对象 *o*,返回一个新的字节数组对象。"
66+
67+
#: ../../c-api/bytearray.rst:48
68+
msgid ""
69+
"Create a new bytearray object from *string* and its length, *len*. On "
70+
"failure, ``NULL`` is returned."
71+
msgstr "根据 *string* 及其长度 *len* 创建一个新的 bytearray 对象。 当失败时返回 ``NULL``。"
72+
73+
#: ../../c-api/bytearray.rst:54
74+
msgid ""
75+
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
76+
msgstr "连接字节数组 *a* 和 *b* 并返回一个带有结果的新的字节数组。"
77+
78+
#: ../../c-api/bytearray.rst:59
79+
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
80+
msgstr "在检查 ``NULL`` 指针后返回 *bytearray* 的大小。"
81+
82+
#: ../../c-api/bytearray.rst:64
83+
msgid ""
84+
"Return the contents of *bytearray* as a char array after checking for a "
85+
"``NULL`` pointer. The returned array always has an extra null byte "
86+
"appended."
87+
msgstr "在检查 ``NULL`` 指针后返回将 *bytearray* 返回为一个字符数组。 返回的数组总是会附加一个额外的空字节。"
88+
89+
#: ../../c-api/bytearray.rst:71
90+
msgid "Resize the internal buffer of *bytearray* to *len*."
91+
msgstr "将 *bytearray* 的内部缓冲区的大小调整为 *len*。"
92+
93+
#: ../../c-api/bytearray.rst:74
94+
msgid "Macros"
95+
msgstr "宏"
96+
97+
#: ../../c-api/bytearray.rst:76
98+
msgid "These macros trade safety for speed and they don't check pointers."
99+
msgstr "这些宏减低安全性以换取性能,它们不检查指针。"
100+
101+
#: ../../c-api/bytearray.rst:80
102+
msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking."
103+
msgstr "类似于 :c:func:`PyByteArray_AsString`,但是不带错误检测。"
104+
105+
#: ../../c-api/bytearray.rst:85
106+
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
107+
msgstr "类似于 :c:func:`PyByteArray_Size`,但是不带错误检测。"
108+
109+
#: ../../c-api/bytearray.rst:8
110+
msgid "object"
111+
msgstr "object -- 对象"
112+
113+
#: ../../c-api/bytearray.rst:8
114+
msgid "bytearray"
115+
msgstr "bytearray"

0 commit comments

Comments
 (0)