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

Skip to content

Commit 38c1def

Browse files
[po] auto sync
1 parent 4c49040 commit 38c1def

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.16%", "updated_at": "2024-04-15T16:56:11Z"}
1+
{"translation": "95.17%", "updated_at": "2024-04-16T02:56:28Z"}

whatsnew/3.4.po

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2024-04-05 14:16+0000\n"
20+
"POT-Creation-Date: 2024-04-14 22:56+0000\n"
2121
"PO-Revision-Date: 2021-06-29 13:04+0000\n"
2222
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2323
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1567,13 +1567,19 @@ msgid ""
15671567
":attr:`~http.server.HTTP.error_message_format` attribute and sent as the "
15681568
"body of the error response. (Contributed by Karl Cow in :issue:`12921`.)"
15691569
msgstr ""
1570+
"现在 :meth:`~http.server.BaseHTTPRequestHandler.send_error` 接受可选的附加形参 "
1571+
"*explain* 用于提供扩展的错误描述,覆盖可能存在的硬编码的默认值。 这个扩展的描述将使用 "
1572+
":attr:`~http.server.HTTP.error_message_format` 进行格式化并作为错误响应体发送。 (由 Karl Cow "
1573+
"在 :issue:`12921` 中贡献。)"
15701574

15711575
#: ../../whatsnew/3.4.rst:965
15721576
msgid ""
15731577
"The :mod:`http.server` :ref:`command line interface <http-server-cli>` now "
15741578
"has a ``-b/--bind`` option that causes the server to listen on a specific "
15751579
"address. (Contributed by Malte Swart in :issue:`17764`.)"
15761580
msgstr ""
1581+
"现在 :mod:`http.server` :ref:`命令行界面 <http-server-cli>` 增加了一个 ``-b/--bind`` "
1582+
"选项用于让服务器在指定的地址上进行监听。 (由 Malte Swart 在 :issue:`17764` 中贡献。)"
15771583

15781584
#: ../../whatsnew/3.4.rst:971
15791585
msgid "idlelib and IDLE"
@@ -1647,6 +1653,9 @@ msgid ""
16471653
"in the deprecated :mod:`!imp` module. (Contributed by Brett Cannon in "
16481654
":issue:`18194`.)"
16491655
msgstr ""
1656+
"新增的 :mod:`importlib.util` 函数 :func:`~importlib.util.cache_from_source` 和 "
1657+
":func:`~importlib.util.source_from_cache` 替换了已弃用的 :mod:`!imp` 模块中的同名函数。 (由 "
1658+
"Brett Cannon 在 :issue:`18194` 中贡献。)"
16501659

16511660
#: ../../whatsnew/3.4.rst:1008
16521661
msgid ""
@@ -1655,6 +1664,9 @@ msgid ""
16551664
"can now be used with namespace packages. (Contributed by Brett Cannon in "
16561665
":issue:`18058`.)"
16571666
msgstr ""
1667+
"现在 :mod:`importlib` 将以符合 :class:`.InspectLoader` ABC 的方式初始设置 "
1668+
":class:`.NamespaceLoader`,这意味着 ``runpy `` 和``python -m`` 现在可以与命名空间包一起使用。 (由 "
1669+
"Brett Cannon 在 :issue:`18058` 中贡献。)"
16581670

16591671
#: ../../whatsnew/3.4.rst:1013
16601672
msgid ""
@@ -1663,6 +1675,8 @@ msgid ""
16631675
"universal newline processing. This is useful for implementing "
16641676
":meth:`.InspectLoader.get_source` methods."
16651677
msgstr ""
1678+
":mod:`importlib.util` 中新增的函数 :func:`~importlib.util.decode_source` "
1679+
"可使用通用换行处理方式从字节数据中解码源代码。 这适用于实现 :meth:`.InspectLoader.get_source` 方法。"
16661680

16671681
#: ../../whatsnew/3.4.rst:1017
16681682
msgid ""

0 commit comments

Comments
 (0)