Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78da9a7

Browse files
[po] auto sync
1 parent b873e11 commit 78da9a7

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.53%", "updated_at": "2023-11-27T11:56:05Z"}
1+
{"translation": "92.54%", "updated_at": "2023-11-27T15:55:44Z"}

c-api/unicode.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,13 +1310,18 @@ msgid ""
13101310
"not be treated as an error. Those bytes will not be decoded and the number "
13111311
"of bytes that have been decoded will be stored in *consumed*."
13121312
msgstr ""
1313+
"如果 *consumed* 为 ``NULL``,则行为类似于 :c:func:`PyUnicode_DecodeUTF8`。 如果 "
1314+
"*consumed* 不为 ``NULL``,则末尾的不完整 UTF-8 字节序列将不被视为错误。 这些字节将不会被解码并且已被解码的字节数将存储在 "
1315+
"*consumed* 中。"
13131316

13141317
#: ../../c-api/unicode.rst:968
13151318
msgid ""
13161319
"Encode a Unicode object using UTF-8 and return the result as Python bytes "
13171320
"object. Error handling is \"strict\". Return ``NULL`` if an exception was "
13181321
"raised by the codec."
13191322
msgstr ""
1323+
"使用 UTF-8 编码 Unicode 对象并将结果作为 Python 字节串对象返回。 错误处理方式为 \"strict\"。 "
1324+
"如果编解码器引发了异常则将返回 ``NULL``。"
13201325

13211326
#: ../../c-api/unicode.rst:975
13221327
msgid ""
@@ -1326,6 +1331,9 @@ msgid ""
13261331
" buffer always has an extra null byte appended (not included in *size*), "
13271332
"regardless of whether there are any other null code points."
13281333
msgstr ""
1334+
"返回一个指向 Unicode 对象的 UTF-8 编码格式数据的指针,并将已编码数据的大小(以字节为单位)存储在 *size* 中。 *size* "
1335+
"参数可以为 ``NULL``;在此情况下数据的大小将不会被存储。 返回的缓冲区总是会添加一个额外的空字节(不包括在 *size* "
1336+
"中),无论是否存在任何其他的空码位。"
13291337

13301338
#: ../../c-api/unicode.rst:981
13311339
msgid ""

0 commit comments

Comments
 (0)