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

Skip to content

Commit b333e6d

Browse files
[po] auto sync
1 parent c1bded3 commit b333e6d

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.58%", "updated_at": "2023-11-28T12:58:47Z"}
1+
{"translation": "92.60%", "updated_at": "2023-11-29T01:21:31Z"}

c-api/unicode.po

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,60 +1511,71 @@ msgid ""
15111511
"not be treated as an error. Those bytes will not be decoded and the number "
15121512
"of bytes that have been decoded will be stored in *consumed*."
15131513
msgstr ""
1514+
"如果 *consumed* 为 ``NULL``,则行为类似于 :c:func:`PyUnicode_DecodeUTF7`。 如果 "
1515+
"*consumed* 不为 ``NULL``,则末尾的不完整 UTF-7 base-64 部分将不被视为错误。 "
1516+
"这些字节将不会被解码并且已被解码的字节数将存储在 *consumed* 中。"
15141517

15151518
#: ../../c-api/unicode.rst:1131
15161519
msgid "Unicode-Escape Codecs"
15171520
msgstr "Unicode-Escape 编解码器"
15181521

15191522
#: ../../c-api/unicode.rst:1133
15201523
msgid "These are the \"Unicode Escape\" codec APIs:"
1521-
msgstr ""
1524+
msgstr "以下是 \"Unicode Escape\" 编解码器的 API:"
15221525

15231526
#: ../../c-api/unicode.rst:1139
15241527
msgid ""
15251528
"Create a Unicode object by decoding *size* bytes of the Unicode-Escape "
15261529
"encoded string *s*. Return ``NULL`` if an exception was raised by the "
15271530
"codec."
15281531
msgstr ""
1532+
"通过解码 Unicode-Escape 编码的字节串 *s* 的 *size* 个字节创建一个 Unicode 对象。 如果编解码器引发了异常则返回 "
1533+
"``NULL``。"
15291534

15301535
#: ../../c-api/unicode.rst:1145
15311536
msgid ""
15321537
"Encode a Unicode object using Unicode-Escape and return the result as a "
15331538
"bytes object. Error handling is \"strict\". Return ``NULL`` if an "
15341539
"exception was raised by the codec."
15351540
msgstr ""
1541+
"使用 Unicode-Escape 编码 Unicode 对象并将结果作为字节串对象返回。 错误处理方式为 \"strict\"。 "
1542+
"如果编解码器引发了异常则将返回 ``NULL``。"
15361543

15371544
#: ../../c-api/unicode.rst:1151
15381545
msgid "Raw-Unicode-Escape Codecs"
1539-
msgstr ""
1546+
msgstr "Raw-Unicode-Escape 编解码器"
15401547

15411548
#: ../../c-api/unicode.rst:1153
15421549
msgid "These are the \"Raw Unicode Escape\" codec APIs:"
1543-
msgstr ""
1550+
msgstr "以下是 \"Raw Unicode Escape\" 编解码器的 API:"
15441551

15451552
#: ../../c-api/unicode.rst:1159
15461553
msgid ""
15471554
"Create a Unicode object by decoding *size* bytes of the Raw-Unicode-Escape "
15481555
"encoded string *s*. Return ``NULL`` if an exception was raised by the "
15491556
"codec."
15501557
msgstr ""
1558+
"通过解码 Raw-Unicode-Escape 编码的字节串 *s* 的 *size* 个字节创建一个 Unicode 对象。 "
1559+
"如果编解码器引发了异常则返回 ``NULL``。"
15511560

15521561
#: ../../c-api/unicode.rst:1165
15531562
msgid ""
15541563
"Encode a Unicode object using Raw-Unicode-Escape and return the result as a "
15551564
"bytes object. Error handling is \"strict\". Return ``NULL`` if an "
15561565
"exception was raised by the codec."
15571566
msgstr ""
1567+
"使用 Raw-Unicode-Escape 编码 Unicode 对象并将结果作为字节串对象返回。 错误处理方式为 \"strict\"。 "
1568+
"如果编解码器引发了异常则将返回 ``NULL``。"
15581569

15591570
#: ../../c-api/unicode.rst:1171
15601571
msgid "Latin-1 Codecs"
1561-
msgstr ""
1572+
msgstr "Latin-1 编解码器"
15621573

15631574
#: ../../c-api/unicode.rst:1173
15641575
msgid ""
15651576
"These are the Latin-1 codec APIs: Latin-1 corresponds to the first 256 "
15661577
"Unicode ordinals and only these are accepted by the codecs during encoding."
1567-
msgstr ""
1578+
msgstr "以下是 Latin-1 编解码器的 API: Latin-1 对应于前 256 个 Unicode 码位且编码器在编码期间只接受这些码位。"
15681579

15691580
#: ../../c-api/unicode.rst:1179
15701581
msgid ""

0 commit comments

Comments
 (0)