Skip to content

Commit 45766a9

Browse files
[po] auto sync
1 parent b49628f commit 45766a9

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.34%", "updated_at": "2024-08-03T21:47:30Z"}
1+
{"translation": "95.34%", "updated_at": "2024-08-04T01:07:10Z"}

c-api/bytearray.po

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-06-14 18:58+0000\n"
14+
"POT-Creation-Date: 2024-08-03 23:51+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -64,45 +64,48 @@ msgid ""
6464
":ref:`buffer protocol <bufferobjects>`."
6565
msgstr "根据任何实现了 :ref:`缓冲区协议<bufferobjects>` 的对象 *o*,返回一个新的字节数组对象。"
6666

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``。"
67+
#: ../../c-api/bytearray.rst:45 ../../c-api/bytearray.rst:52
68+
#: ../../c-api/bytearray.rst:59
69+
msgid "On failure, return ``NULL`` with an exception set."
70+
msgstr ""
7271

73-
#: ../../c-api/bytearray.rst:54
72+
#: ../../c-api/bytearray.rst:50
73+
msgid "Create a new bytearray object from *string* and its length, *len*."
74+
msgstr ""
75+
76+
#: ../../c-api/bytearray.rst:57
7477
msgid ""
7578
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
7679
msgstr "连接字节数组 *a* 和 *b* 并返回一个带有结果的新的字节数组。"
7780

78-
#: ../../c-api/bytearray.rst:59
81+
#: ../../c-api/bytearray.rst:64
7982
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
8083
msgstr "在检查 ``NULL`` 指针后返回 *bytearray* 的大小。"
8184

82-
#: ../../c-api/bytearray.rst:64
85+
#: ../../c-api/bytearray.rst:69
8386
msgid ""
8487
"Return the contents of *bytearray* as a char array after checking for a "
8588
"``NULL`` pointer. The returned array always has an extra null byte "
8689
"appended."
8790
msgstr "在检查 ``NULL`` 指针后返回将 *bytearray* 返回为一个字符数组。 返回的数组总是会附加一个额外的空字节。"
8891

89-
#: ../../c-api/bytearray.rst:71
92+
#: ../../c-api/bytearray.rst:76
9093
msgid "Resize the internal buffer of *bytearray* to *len*."
9194
msgstr "将 *bytearray* 的内部缓冲区的大小调整为 *len*。"
9295

93-
#: ../../c-api/bytearray.rst:74
96+
#: ../../c-api/bytearray.rst:79
9497
msgid "Macros"
9598
msgstr "宏"
9699

97-
#: ../../c-api/bytearray.rst:76
100+
#: ../../c-api/bytearray.rst:81
98101
msgid "These macros trade safety for speed and they don't check pointers."
99102
msgstr "这些宏减低安全性以换取性能,它们不检查指针。"
100103

101-
#: ../../c-api/bytearray.rst:80
104+
#: ../../c-api/bytearray.rst:85
102105
msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking."
103106
msgstr "类似于 :c:func:`PyByteArray_AsString`,但是不带错误检测。"
104107

105-
#: ../../c-api/bytearray.rst:85
108+
#: ../../c-api/bytearray.rst:90
106109
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
107110
msgstr "类似于 :c:func:`PyByteArray_Size`,但是不带错误检测。"
108111

0 commit comments

Comments
 (0)