Skip to content

Commit 75022c3

Browse files
[po] auto sync
1 parent d52a07c commit 75022c3

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "83.31%", "updated_at": "2025-05-06T07:18:38Z"}
1+
{"translation": "83.32%", "updated_at": "2025-05-07T15:19:14Z"}

whatsnew/3.3.po

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,6 +1479,9 @@ msgid ""
14791479
":mod:`~encodings.mbcs` codec now supports all error handlers, instead of "
14801480
"only ``replace`` to encode and ``ignore`` to decode."
14811481
msgstr ""
1482+
":mod:`~encodings.mbcs` 编解码器被重写以能够在所有 Windows 版本上正确处理 ``replace`` 和 "
1483+
"``ignore`` 错误处理器。 :mod:`~encodings.mbcs` 编解码器现在支持所有错误处理器,而不是只能将 ``replace`` "
1484+
"用于编码并将 ``ignore`` 用于解码。"
14821485

14831486
#: ../../whatsnew/3.3.rst:990
14841487
msgid ""
@@ -1487,6 +1490,9 @@ msgid ""
14871490
"is used by ``sys.stdout`` if the console output code page is set to cp65001 "
14881491
"(e.g., using ``chcp 65001`` command)."
14891492
msgstr ""
1493+
"新增了一个 Windows 专属的编解码器: ``cp65001`` (:issue:`13216`)。 即 Windows 代码页 65001 "
1494+
"(Windows UTF-8, ``CP_UTF8``)。 举例来说,如果控制台输出代码页被设为 cp65001(例如使用 ``chcp 65001``"
1495+
" 命令)则 ``sys.stdout`` 就会使用它。"
14901496

14911497
#: ../../whatsnew/3.3.rst:995
14921498
msgid ""
@@ -1495,6 +1501,8 @@ msgid ""
14951501
"``b'\\xff\\n'.decode('gb2312', 'replace')`` now returns a ``\\n`` after the "
14961502
"replacement character."
14971503
msgstr ""
1504+
"多字节 CJK 解码器现在能更快地进行再同步。 它们将只忽略非法字节序列的第一个字节。 例如,现在 "
1505+
"``b'\\xff\\n'.decode('gb2312', 'replace')`` 将在替换字符后返回一个 ``\\n``。"
14981506

14991507
#: ../../whatsnew/3.3.rst:999
15001508
msgid "(:issue:`12016`)"
@@ -1504,7 +1512,7 @@ msgstr "(:issue:`12016`)"
15041512
msgid ""
15051513
"Incremental CJK codec encoders are no longer reset at each call to their "
15061514
"encode() methods. For example::"
1507-
msgstr ""
1515+
msgstr "增量式 CJK 编解码器的编码器在每次调用其 encode() 方法时将不再重置。 例如::"
15081516

15091517
#: ../../whatsnew/3.3.rst:1009
15101518
msgid ""
@@ -1530,6 +1538,8 @@ msgid ""
15301538
"number of mappings as a single unit. (Written by Raymond Hettinger for "
15311539
":issue:`11089`, made public in :issue:`11297`.)"
15321540
msgstr ""
1541+
"新增了一个 :class:`~collections.ChainMap` 类以允许将多个映射当作一个单元来处理。 (由 Raymond "
1542+
"Hettinger 针对 :issue:`11089` 编写,在 :issue:`11297` 中对外公开。)"
15331543

15341544
#: ../../whatsnew/3.3.rst:1024
15351545
msgid ""

0 commit comments

Comments
 (0)