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

Skip to content

Commit 9527204

Browse files
[po] auto sync
1 parent 0387055 commit 9527204

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.33%", "updated_at": "2024-02-29T02:56:04Z"}
1+
{"translation": "94.34%", "updated_at": "2024-03-01T02:30:25Z"}

whatsnew/3.5.po

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,6 +1989,8 @@ msgid ""
19891989
":class:`~ipaddress.IPv4Network` and :class:`~ipaddress.IPv6Network` classes "
19901990
"returns the name of the reverse DNS PTR record::"
19911991
msgstr ""
1992+
"新增 :class:`~ipaddress.IPv4Network` 和 :class:`~ipaddress.IPv6Network` 类的 "
1993+
":attr:`~ipaddress.IPv4Network.reverse_pointer` 属性用于返回 DNS PTR 反向记录的名称::"
19921994

19931995
#: ../../whatsnew/3.5.rst:1362
19941996
msgid "(Contributed by Leon Weber in :issue:`20480`.)"
@@ -2005,13 +2007,17 @@ msgid ""
20052007
" to sort the keys alphabetically. (Contributed by Berker Peksag in "
20062008
":issue:`21650`.)"
20072009
msgstr ""
2010+
"现在 :mod:`json.tool` 命令行接口会保留输入中传入的 JSON 对象中键的顺序。 新的 ``--sort-keys`` "
2011+
"选项可用于按字母顺序对键进行排序。 (由 Berker Peksag 在 :issue:`21650` 中贡献。)"
20082012

20092013
#: ../../whatsnew/3.5.rst:1373
20102014
msgid ""
20112015
"JSON decoder now raises :exc:`~json.JSONDecodeError` instead of "
20122016
":exc:`ValueError` to provide better context information about the error. "
20132017
"(Contributed by Serhiy Storchaka in :issue:`19361`.)"
20142018
msgstr ""
2019+
"现在 JSON 解码器会引发 :exc:`~json.JSONDecodeError` 而不是 :exc:`ValueError` "
2020+
"以提供有关错误的更好的上下文信息。 (由 Serhiy Storchaka 在 :issue:`19361` 中贡献。)"
20152021

20162022
#: ../../whatsnew/3.5.rst:1379
20172023
msgid "linecache"
@@ -2025,6 +2031,9 @@ msgid ""
20252031
"actually needed, without having to carry the module globals around "
20262032
"indefinitely. (Contributed by Robert Collins in :issue:`17911`.)"
20272033
msgstr ""
2034+
"新增的 :func:`~linecache.lazycache` 函数可用于捕获非基于文件的模块 的信息以允许在此后通过 "
2035+
":func:`~linecache.getline` 获取其行数据。 这样就可以避免在实际需要某一行之前执行 I/O 操作,从而不需要无限期地持有模块 "
2036+
"globals。 (由 Robert Collins 在 :issue:`17911` 中贡献。)"
20282037

20292038
#: ../../whatsnew/3.5.rst:1389
20302039
msgid "locale"
@@ -2036,6 +2045,8 @@ msgid ""
20362045
"into a normalized number string, taking the ``LC_NUMERIC`` settings into "
20372046
"account::"
20382047
msgstr ""
2048+
"新增的 :func:`~locale.delocalize` 函数可用于将字符串转换为表示规范化数字的字符串 ,并会考虑 ``LC_NUMERIC`` "
2049+
"的设置::"
20392050

20402051
#: ../../whatsnew/3.5.rst:1404
20412052
msgid "(Contributed by Cédric Krier in :issue:`13918`.)"
@@ -2052,6 +2063,9 @@ msgid ""
20522063
":meth:`~logging.Logger.debug`, etc.), now accept exception instances as an "
20532064
"*exc_info* argument, in addition to boolean values and exception tuples::"
20542065
msgstr ""
2066+
"所有日志记录方法(如 :class:`~logging.Logger` :meth:`~logging.Logger.log`, "
2067+
":meth:`~logging.Logger.exception`, :meth:`~logging.Logger.critical`, "
2068+
":meth:`~logging.Logger.debug` 等)的 *exc_info* 参数现在除接受布尔值和异常元组以外,也接受异常实例::"
20552069

20562070
#: ../../whatsnew/3.5.rst:1423
20572071
msgid "(Contributed by Yury Selivanov in :issue:`20537`.)"
@@ -2064,6 +2078,9 @@ msgid ""
20642078
"settings used in an HTTP connection. (Contributed by Alex Gaynor in "
20652079
":issue:`22788`.)"
20662080
msgstr ""
2081+
"现在 :class:`handlers.HTTPHandler <logging.handlers.HTTPHandler>` 类接受一个可选的 "
2082+
":class:`ssl.SSLContext` 实例来配置在 HTTP 连接中使用的 SSL 设置。 (由 Alex Gaynor 在 "
2083+
":issue:`22788` 中贡献。)"
20672084

20682085
#: ../../whatsnew/3.5.rst:1430
20692086
msgid ""

0 commit comments

Comments
 (0)