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

Skip to content

Commit 3beeff8

Browse files
[po] auto sync
1 parent a4735a3 commit 3beeff8

2 files changed

Lines changed: 9 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.52%", "updated_at": "2023-11-26T01:19:17Z"}
1+
{"translation": "92.53%", "updated_at": "2023-11-26T06:55:39Z"}

c-api/unicode.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,20 +1248,22 @@ msgid ""
12481248
" use the default handling defined for the codec. Default error handling for"
12491249
" all built-in codecs is \"strict\" (:exc:`ValueError` is raised)."
12501250
msgstr ""
1251+
"错误处理方式由 errors 设置并且也可以设为 ``NULL`` 表示使用为编解码器定义的默认处理方式。 所有内置编解码器的默认错误处理方式是 "
1252+
"\"strict\" (会引发 :exc:`ValueError`)。"
12511253

12521254
#: ../../c-api/unicode.rst:915
12531255
msgid ""
12541256
"The codecs all use a similar interface. Only deviations from the following "
12551257
"generic ones are documented for simplicity."
1256-
msgstr ""
1258+
msgstr "编解码器都使用类似的接口。 为了保持简单只有与下列泛型编解码器的差异才会记录在文档中。"
12571259

12581260
#: ../../c-api/unicode.rst:920
12591261
msgid "Generic Codecs"
1260-
msgstr ""
1262+
msgstr "泛型编解码器"
12611263

12621264
#: ../../c-api/unicode.rst:922
12631265
msgid "These are the generic codec APIs:"
1264-
msgstr ""
1266+
msgstr "以下是泛型编解码器的 API:"
12651267

12661268
#: ../../c-api/unicode.rst:928
12671269
msgid ""
@@ -1271,6 +1273,9 @@ msgid ""
12711273
"up using the Python codec registry. Return ``NULL`` if an exception was "
12721274
"raised by the codec."
12731275
msgstr ""
1276+
"通过解码已编码字符串 *s* 的 *size* 个字节创建一个 Unicode 对象。 *encoding* 和 *errors* 具有与 "
1277+
":func:`str` 内置函数中同名形参相同的含义。 要使用的编解码器将使用 Python 编解码器注册表来查找。 如果编解码器引发了异常则返回 "
1278+
"``NULL``。"
12741279

12751280
#: ../../c-api/unicode.rst:938
12761281
msgid ""

0 commit comments

Comments
 (0)