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

Skip to content

Commit c0a39aa

Browse files
[po] auto sync
1 parent 63bb9a5 commit c0a39aa

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.57%", "updated_at": "2023-11-28T07:56:12Z"}
1+
{"translation": "92.58%", "updated_at": "2023-11-28T08:56:03Z"}

c-api/unicode.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ msgid ""
13011301
"Create a Unicode object by decoding *size* bytes of the UTF-8 encoded string"
13021302
" *s*. Return ``NULL`` if an exception was raised by the codec."
13031303
msgstr ""
1304-
"通过解码 UTF-8 编码的字符串 *s* 的 *size* 个字节创建一个 Unicode 对象。 如果编解码器引发了异常则返回 ``NULL``。"
1304+
"通过解码 UTF-8 编码的字节串 *s* 的 *size* 个字节创建一个 Unicode 对象。 如果编解码器引发了异常则返回 ``NULL``。"
13051305

13061306
#: ../../c-api/unicode.rst:960
13071307
msgid ""
@@ -1476,27 +1476,33 @@ msgid ""
14761476
"decoded and the number of bytes that have been decoded will be stored in "
14771477
"*consumed*."
14781478
msgstr ""
1479+
"如果 *consumed* 为 ``NULL``,则行为类似于 :c:func:`PyUnicode_DecodeUTF16`。 如果 "
1480+
"*consumed* 不为 ``NULL``,则 :c:func:`PyUnicode_DecodeUTF16Stateful` 将不把末尾的不完整 "
1481+
"UTF-16 字节序列(如为奇数个字节或为分开的替代对)视为错误。 这些字节将不会被解码并且已被解码的字节数将存储在 *consumed* 中。"
14791482

14801483
#: ../../c-api/unicode.rst:1104
14811484
msgid ""
14821485
"Return a Python byte string using the UTF-16 encoding in native byte order. "
14831486
"The string always starts with a BOM mark. Error handling is \"strict\". "
14841487
"Return ``NULL`` if an exception was raised by the codec."
14851488
msgstr ""
1489+
"返回使用 UTF-16 编码格式本机字节序的 Python 字节串。 字节串将总是以 BOM 标记打头。 错误处理方式为 \"strict\"。 "
1490+
"如果编解码器引发了异常则返回 ``NULL``。"
14861491

14871492
#: ../../c-api/unicode.rst:1110
14881493
msgid "UTF-7 Codecs"
1489-
msgstr ""
1494+
msgstr "UTF-7 编解码器"
14901495

14911496
#: ../../c-api/unicode.rst:1112
14921497
msgid "These are the UTF-7 codec APIs:"
1493-
msgstr ""
1498+
msgstr "以下是 UTF-7 编解码器 API:"
14941499

14951500
#: ../../c-api/unicode.rst:1117
14961501
msgid ""
14971502
"Create a Unicode object by decoding *size* bytes of the UTF-7 encoded string"
14981503
" *s*. Return ``NULL`` if an exception was raised by the codec."
14991504
msgstr ""
1505+
"通过解码 UTF-7 编码的字节串 *s* 的 *size* 个字节创建一个 Unicode 对象。 如果编解码器引发了异常则返回 ``NULL``。"
15001506

15011507
#: ../../c-api/unicode.rst:1124
15021508
msgid ""

0 commit comments

Comments
 (0)