Skip to content

Commit 45da2e6

Browse files
[po] auto sync
1 parent 08366b3 commit 45da2e6

File tree

3 files changed

+43
-10
lines changed

3 files changed

+43
-10
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "80.68%", "updated_at": "2025-04-04T19:38:08Z"}
1+
{"translation": "80.70%", "updated_at": "2025-04-18T18:43:04Z"}

library/sys.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2024, Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
77
# Freesand Leo <yuqinju@163.com>, 2024
8-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.11\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-11-12 09:45+0000\n"
15+
"POT-Creation-Date: 2025-04-18 15:31+0000\n"
1616
"PO-Revision-Date: 2023-05-24 02:20+0000\n"
17-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -626,9 +626,9 @@ msgid ""
626626
" call stack at the point where the exception last occurred."
627627
msgstr ""
628628
"此函数返回被处理异常的旧式表示形式。 如果异常 ``e`` 当前已被处理 (因此 :func:`exception` 将会返回 ``e``),则 "
629-
":func:`exc_info` 将返回元组 ``(type(e), e, e.__traceback__)``。 也就是说,包含该异常类型 "
630-
"(:exc:`BaseException` 的子类) 的元组,异常本身,以及一个通常封装了异常最后发生位置上调用栈的 :ref:`回溯对象 "
631-
"<traceback-objects>`。"
629+
":func:`exc_info` 将返回元组 ``(type(e), e, e.__traceback__)``。 也就是说,一个包含了该异常类型 "
630+
"(:exc:`BaseException` 的子类) ,异常本身,以及通常封装了异常最后发生位置上调用栈的 :ref:`回溯对象 <traceback-"
631+
"objects>` 的元组。"
632632

633633
#: ../../library/sys.rst:447
634634
msgid ""

whatsnew/3.4.po

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.11\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-01-31 15:27+0000\n"
16+
"POT-Creation-Date: 2025-04-18 15:31+0000\n"
1717
"PO-Revision-Date: 2023-05-24 02:23+0000\n"
1818
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -3140,13 +3140,19 @@ msgid ""
31403140
"platforms that have a 64 bit data type. Any performance differences in "
31413141
"comparison with the older FNV algorithm are trivial."
31423142
msgstr ""
3143+
":pep:`456` 在早先对 Python 的哈希算法所做安全修复上更进一步以解决特定的 DOS 攻击问题,以字典查找为基础的对外公开的 API "
3144+
"可能面临此种攻击。(请参阅 :issue:`14621` 了解此轮改进的缘起。) 该 PEP 统一了 CPython "
3145+
"的哈希代码以使打包者能更容易地用不同哈希算法进行替换,并在具有 64 位数据类型的平台上将 Python 的默认实现切换为 SipHash 实现。 "
3146+
"与旧版 FNV 算法相比只有很小的性能差异。"
31433147

31443148
#: ../../whatsnew/3.4.rst:1852
31453149
msgid ""
31463150
"The PEP adds additional fields to the :data:`sys.hash_info` named tuple to "
31473151
"describe the hash algorithm in use by the currently executing binary. "
31483152
"Otherwise, the PEP does not alter any existing CPython APIs."
31493153
msgstr ""
3154+
"该 PEP 向 :data:`sys.hash_info` 具名元组添加了额外字段来描述当前正在执行的二进制文件所使用的哈希算法。 除此之外,该 PEP"
3155+
" 没有改变任何现有的 CPython API。"
31503156

31513157
#: ../../whatsnew/3.4.rst:1860
31523158
msgid "PEP 436: Argument Clinic"
@@ -3159,20 +3165,24 @@ msgid ""
31593165
" signatures for builtins and standard library extension modules implemented "
31603166
"in C."
31613167
msgstr ""
3168+
"现在 \"Argument Clinic\" (:pep:`436`) 是 CPython 构建过程的一部分并可被用于简化为内置对象和以 C "
3169+
"实现的标准库扩展模块定义和维护准确签名的过程。"
31623170

31633171
#: ../../whatsnew/3.4.rst:1867
31643172
msgid ""
31653173
"Some standard library extension modules have been converted to use Argument "
31663174
"Clinic in Python 3.4, and :mod:`pydoc` and :mod:`inspect` have been updated "
31673175
"accordingly."
31683176
msgstr ""
3177+
"在 Python 3.4 中有一些标准库模块已被转换为使用 Argument Clinic,而 :mod:`pydoc` 和 "
3178+
":mod:`inspect` 也进行了相应的更新。"
31693179

31703180
#: ../../whatsnew/3.4.rst:1871
31713181
msgid ""
31723182
"It is expected that signature metadata for programmatic introspection will "
31733183
"be added to additional callables implemented in C as part of Python 3.4 "
31743184
"maintenance releases."
3175-
msgstr ""
3185+
msgstr "预期针对程序化内省的签名元数据将被添加到更多的以 C 实现的可调用对象中作为 Python 3.4 维护发布版的组成部分。"
31763186

31773187
#: ../../whatsnew/3.4.rst:1876
31783188
msgid ""
@@ -3181,6 +3191,8 @@ msgid ""
31813191
"core development team in this case, as Argument Clinic will not be made "
31823192
"available as a public API for third party use in Python 3.4."
31833193
msgstr ""
3194+
"Argument Clinic PEP 尚未完整更新到与具体实现的状态相一致。 这种情况被发布版管理者和核心开发团队认为是可接受的,因为 "
3195+
"Argument Clinic 在 Python 3.4 中将不会作为公有 API 提供给第三方。"
31843196

31853197
#: ../../whatsnew/3.4.rst:1883
31863198
msgid ":pep:`436` -- The Argument Clinic DSL"
@@ -3200,6 +3212,8 @@ msgid ""
32003212
"allowing retrieval of function pointers from named type slots when using the"
32013213
" limited API. (Contributed by Martin von Löwis in :issue:`17162`.)"
32023214
msgstr ""
3215+
"新的 :c:func:`PyType_GetSlot` 函数已被添加到稳定 ABI,以允许在使用受限 API 时从指定的类型槽位提取函数指针。 (由 "
3216+
"Martin von Löwis 在 :issue:`17162` 中贡献。)"
32033217

32043218
#: ../../whatsnew/3.4.rst:1894
32053219
msgid ""
@@ -3215,26 +3229,34 @@ msgid ""
32153229
"marked as accepting ``const char *`` rather than ``char *``. (Contributed "
32163230
"by Serhiy Storchaka in :issue:`1772673`.)"
32173231
msgstr ""
3232+
"大多数不修改字符串参数的 Python C API 现在已被正确地标记为接受 ``const char *`` 而不是 ``char *``。 (由 "
3233+
"Serhiy Storchaka 在 :issue:`1772673` 中贡献。)"
32183234

32193235
#: ../../whatsnew/3.4.rst:1903
32203236
msgid ""
32213237
"A new shell version of ``python-config`` can be used even when a python "
32223238
"interpreter is not available (for example, in cross compilation scenarios)."
32233239
msgstr ""
3240+
"一个新的 ``python-config`` 的 shell 版本即使在 python 解释器不可用时仍可被使用(例如,在交叉编译的场景中)。"
32243241

32253242
#: ../../whatsnew/3.4.rst:1906
32263243
msgid ""
32273244
":c:func:`PyUnicode_FromFormat` now supports width and precision "
32283245
"specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``. "
32293246
"(Contributed by Ysj Ray and Victor Stinner in :issue:`7330`.)"
32303247
msgstr ""
3248+
"现在 :c:func:`PyUnicode_FromFormat` 支持为 ``%s``, ``%A``, ``%U``, ``%V``, ``%S``"
3249+
" 和 ``%R`` 使用宽度和精度说明符。 (由 Ysj Ray 和 Victor Stinner 在 :issue:`7330` 中贡献。)"
32313250

32323251
#: ../../whatsnew/3.4.rst:1910
32333252
msgid ""
32343253
"New function :c:func:`PyStructSequence_InitType2` supplements the existing "
32353254
":c:func:`PyStructSequence_InitType` function. The difference is that it "
32363255
"returns ``0`` on success and ``-1`` on failure."
32373256
msgstr ""
3257+
"新的函数 :c:func:`PyStructSequence_InitType2` 为现有的 "
3258+
":c:func:`PyStructSequence_InitType` 函数提供了补充。 其不同之处在于它会在成功时返回 ``0`` 而在失败时返回 "
3259+
"``-1``。"
32383260

32393261
#: ../../whatsnew/3.4.rst:1914
32403262
msgid ""
@@ -3243,6 +3265,8 @@ msgid ""
32433265
" object allocator have been silenced. (Contributed by Dhiru Kholia in "
32443266
":issue:`18596`.)"
32453267
msgstr ""
3268+
"现在 CPython 源代码可以使用最近版本的 GCC 和 clang 的地址确定性检查特性进行编译:小对象分配器中的假警报已被消除。 (由 Dhiru"
3269+
" Kholia 在 :issue:`18596` 中贡献。)"
32463270

32473271
#: ../../whatsnew/3.4.rst:1919
32483272
msgid ""
@@ -3252,13 +3276,19 @@ msgid ""
32523276
"<https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_. (Contributed "
32533277
"by Christian Heimes in :issue:`16632`.)"
32543278
msgstr ""
3279+
"Windows 构建版现在会使用 `寻址空间布局随机化 "
3280+
"<https://en.wikipedia.org/wiki/Address_space_layout_randomization>`_ 和 "
3281+
"`数据执行保护 <https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_。 (由 "
3282+
"Christian Heimes 在 :issue:`16632` 中贡献。)"
32553283

32563284
#: ../../whatsnew/3.4.rst:1924
32573285
msgid ""
32583286
"New function :c:func:`PyObject_LengthHint` is the C API equivalent of "
32593287
":func:`operator.length_hint`. (Contributed by Armin Ronacher in "
32603288
":issue:`16148`.)"
32613289
msgstr ""
3290+
"新的函数 :c:func:`PyObject_LengthHint` 是 :func:`operator.length_hint` 的 C API "
3291+
"等价形式。 (由 Armin Ronacher 在 :issue:`16148` 中贡献。)"
32623292

32633293
#: ../../whatsnew/3.4.rst:1932
32643294
msgid "Other Improvements"
@@ -3301,6 +3331,9 @@ msgid ""
33013331
"script at the windows command prompt by just typing its name without the "
33023332
"``.py`` extension. (Contributed by Paul Moore in :issue:`18569`.)"
33033333
msgstr ""
3334+
"现在 CPython Windows 安装程序会在注册扩展名时将 ``.py`` 添加到 :envvar:`PATHEXT` 变量,以允许用户在 "
3335+
"windows 命令提示符下直接键入不带 ``.py`` 扩展名的 python 脚本名称来运行它。 (由 Paul Moore 在 "
3336+
":issue:`18569` 中贡献。)"
33043337

33053338
#: ../../whatsnew/3.4.rst:1962
33063339
msgid ""

0 commit comments

Comments
 (0)