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

Skip to content

Commit 511021c

Browse files
[po] auto sync
1 parent 910945b commit 511021c

File tree

10 files changed

+46
-44
lines changed

10 files changed

+46
-44
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "78.46%", "updated_at": "2025-05-22T15:12:11Z"}
1+
{"translation": "78.47%", "updated_at": "2025-05-23T00:39:37Z"}

c-api/exceptions.po

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
# ProgramRipper, 2023
1818
# WH-2099 <[email protected]>, 2023
1919
# jaystone776 <[email protected]>, 2023
20-
# Freesand Leo <[email protected]>, 2025
2120
# 汇民 王 <[email protected]>, 2025
21+
# Freesand Leo <[email protected]>, 2025
2222
#
2323
#, fuzzy
2424
msgid ""
2525
msgstr ""
2626
"Project-Id-Version: Python 3.14\n"
2727
"Report-Msgid-Bugs-To: \n"
28-
"POT-Creation-Date: 2025-05-08 02:53-0300\n"
28+
"POT-Creation-Date: 2025-05-16 14:19+0000\n"
2929
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
30-
"Last-Translator: 汇民 王 <whuim@qq.com>, 2025\n"
30+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
3131
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3232
"MIME-Version: 1.0\n"
3333
"Content-Type: text/plain; charset=UTF-8\n"
@@ -895,6 +895,7 @@ msgid ""
895895
"This function is async-signal-safe. It can be called without an "
896896
":term:`attached thread state` and from a C signal handler."
897897
msgstr ""
898+
"此函数是异步信号安全的。 它可以在没有 :term:`attached thread state` 的情况下以及从 C 信号处理器中被调用。"
898899

899900
#: ../../c-api/exceptions.rst:687
900901
msgid ""
@@ -1121,10 +1122,12 @@ msgid ""
11211122
"If the :attr:`UnicodeError.object` is an empty sequence, the resulting "
11221123
"*start* is ``0``. Otherwise, it is clipped to ``[0, len(object) - 1]``."
11231124
msgstr ""
1125+
"如果 :attr:`UnicodeError.object` 是一个空序列,则得到的 *start* 将为 ``0``。 在其他情况下,它会被剪切为 "
1126+
"``[0, len(object) - 1]``。"
11241127

11251128
#: ../../c-api/exceptions.rst:859
11261129
msgid ":attr:`UnicodeError.start`"
1127-
msgstr ""
1130+
msgstr ":attr:`UnicodeError.start`"
11281131

11291132
#: ../../c-api/exceptions.rst:865
11301133
msgid ""

c-api/sys.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
#
66
# Translators:
77
# ppcfish <[email protected]>, 2021
8-
# Freesand Leo <[email protected]>, 2025
98
# 汇民 王 <[email protected]>, 2025
9+
# Freesand Leo <[email protected]>, 2025
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-05-08 02:53-0300\n"
16+
"POT-Creation-Date: 2025-05-16 14:19+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
18-
"Last-Translator: 汇民 王 <whuim@qq.com>, 2025\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -320,19 +320,20 @@ msgstr ""
320320
msgid ""
321321
"Similar to :c:func:`!fopen`, but *path* is a Python object and an exception "
322322
"is set on error."
323-
msgstr ""
323+
msgstr "类似于 :c:func:`!fopen`,但 *path* 是一个 Python 对象并且会在出错时设置一个异常。"
324324

325325
#: ../../c-api/sys.rst:224
326326
msgid ""
327327
"*path* must be a :class:`str` object, a :class:`bytes` object, or a "
328328
":term:`path-like object`."
329329
msgstr ""
330+
"*path* 必须是一个 :class:`str` 对象, :class:`bytes` 对象或 :term:`path-like object`。"
330331

331332
#: ../../c-api/sys.rst:227
332333
msgid ""
333334
"On success, return the new file pointer. On error, set an exception and "
334335
"return ``NULL``."
335-
msgstr ""
336+
msgstr "成功时,返回新的文件指针。 失败时,设置一个异常并返回 ``NULL``。"
336337

337338
#: ../../c-api/sys.rst:230
338339
msgid ""

deprecations/pending-removal-in-3.16.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
#
66
# Translators:
77
# lian Wu (Wulian) <[email protected]>, 2025
8-
# Freesand Leo <[email protected]>, 2025
98
# Alpha Du <[email protected]>, 2025
9+
# Freesand Leo <[email protected]>, 2025
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
16+
"POT-Creation-Date: 2025-05-16 14:19+0000\n"
1717
"PO-Revision-Date: 2024-07-20 00:54+0000\n"
18-
"Last-Translator: Alpha Du <alphanow@gmail.com>, 2025\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -183,8 +183,8 @@ msgid ""
183183
" will raise a :exc:`ValueError` in Python 3.16. (Contributed by Hugo van "
184184
"Kemenade in :gh:`75223`.)"
185185
msgstr ""
186-
"有效扩展以\". \"开头或在 :meth:`mimetypes.MimeTypes.add_type` 为空。未加点的扩展已弃用,在Python "
187-
"3.16 中将引发 :exc:`ValueError`(由 Hugo van Kemenade 在:gh:`75223` 中贡献)。"
186+
"有效扩展以 \". \" 开头或在 :meth:`mimetypes.MimeTypes.add_type` 为空。 未加点的扩展已弃用, "
187+
"Python 3.16 中将引发 :exc:`ValueError`(由 Hugo van Kemenade 在 :gh:`75223` 中贡献。)"
188188

189189
#: ../../deprecations/pending-removal-in-3.16.rst:78
190190
msgid ":mod:`shutil`:"

library/__future__.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
# Translators:
77
# cissoid <[email protected]>, 2021
88
# dannyvi <[email protected]>, 2024
9-
# 汇民 王 <[email protected]>, 2025
109
# Freesand Leo <[email protected]>, 2025
1110
#
1211
#, fuzzy
1312
msgid ""
1413
msgstr ""
1514
"Project-Id-Version: Python 3.14\n"
1615
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
16+
"POT-Creation-Date: 2025-05-16 14:19+0000\n"
1817
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
1918
"Last-Translator: Freesand Leo <[email protected]>, 2025\n"
2019
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -315,8 +314,8 @@ msgid ""
315314
"canceled. This feature will eventually be deprecated and removed. See "
316315
":pep:`649` and :pep:`749`."
317316
msgstr ""
318-
"``from __future__ import annotations`` 曾计划在 Python 3.10 "
319-
"中强制执行,但这一更改被推迟并最终取消。此特性最终将被弃用并移除。参见 :pep:`649` 和:pep:`749`。"
317+
"``from __future__ import annotations`` 曾计划在 Python 3.10 中强制执行,但这一更改被推迟并最终取消。"
318+
" 此特性最终将被弃用并移除。 参见 :pep:`649` 和 :pep:`749`。"
320319

321320
#: ../../library/__future__.rst:127
322321
msgid ":ref:`future`"

library/argparse.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ msgstr ""
295295
msgid ""
296296
"The Python interpreter name followed by ``sys.argv[0]`` if a directory or a "
297297
"zipfile was passed as argument."
298-
msgstr "如果作为参数传递的是目录或ZIP文件,则是Python 解释器名称,后接``sys.argv[0]``。"
298+
msgstr "如果作为参数传递的是目录或 ZIP 文件,则是 Python 解释器名称,后接 ``sys.argv[0]``。"
299299

300300
#: ../../library/argparse.rst:153
301301
msgid ""

library/asyncio-policy.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
# Translators:
77
# Pan Felix <[email protected]>, 2021
88
# MuSheng Chen <[email protected]>, 2021
9-
# Freesand Leo <[email protected]>, 2024
9+
# Freesand Leo <[email protected]>, 2025
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-05-08 02:53-0300\n"
16+
"POT-Creation-Date: 2025-05-16 14:19+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:55+0000\n"
18-
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
18+
"Last-Translator: Freesand Leo <[email protected]>, 2025\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -178,7 +178,7 @@ msgstr ""
178178
msgid ""
179179
"The :class:`DefaultEventLoopPolicy` class is deprecated and will be removed "
180180
"in Python 3.16."
181-
msgstr ""
181+
msgstr ":class:`DefaultEventLoopPolicy` 类已被弃用并将在 Python 3.16 中移除。"
182182

183183
#: ../../library/asyncio-policy.rst:131
184184
msgid ""
@@ -194,7 +194,7 @@ msgstr "Availability"
194194
msgid ""
195195
"The :class:`WindowsSelectorEventLoopPolicy` class is deprecated and will be "
196196
"removed in Python 3.16."
197-
msgstr ""
197+
msgstr ":class:`WindowsSelectorEventLoopPolicy` 类已被弃用并将在 Python 3.16 中移除。"
198198

199199
#: ../../library/asyncio-policy.rst:143
200200
msgid ""
@@ -206,7 +206,7 @@ msgstr "使用 :class:`ProactorEventLoop` 事件循环实现的另一种事件
206206
msgid ""
207207
"The :class:`WindowsProactorEventLoopPolicy` class is deprecated and will be "
208208
"removed in Python 3.16."
209-
msgstr ""
209+
msgstr ":class:`WindowsProactorEventLoopPolicy` 类已被弃用并将在 Python 3.16 中移除。"
210210

211211
#: ../../library/asyncio-policy.rst:156
212212
msgid "Custom Policies"

library/sqlite3.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,8 +1033,8 @@ msgid ""
10331033
":attr:`!autocommit` is ``False``, a new transaction is implicitly opened if "
10341034
"a pending transaction was rolled back by this method."
10351035
msgstr ""
1036-
"回滚到任何待处理事务的起始位置。 如果 :attr:`autocommit` 为 ``True``,或者没有已开启的事务,则此方法不会做任何操作。 "
1037-
"如果:attr:`!autocommit` 为 ``False``,则如果此方法回滚了一个待处理事务则会隐式地开启一个新事务。"
1036+
"回滚到任何待处理事务的起始位置。 如果 :attr:`autocommit` 为 ``True``,或者没有已开启的事务,则此方法不会做任何操作。 如果"
1037+
" :attr:`!autocommit` 为 ``False``,则如果此方法回滚了一个待处理事务则会隐式地开启一个新事务。"
10381038

10391039
#: ../../library/sqlite3.rst:670
10401040
msgid ""

reference/compound_stmts.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@ msgstr ""
25312531
":data:`typing.TypeVar` 声明可以通过在冒号 (``:`` ) 后跟一个表达式来定义 *范围* 和 *约束*。 "
25322532
"冒号后的单独表达式表示一个范围 (例如 ``T: int``)。 从语义上讲,这意味着 :data:`!typing.TypeVar` "
25332533
"能表示的类型只能是该范围的子类型。 冒号后在圆括号内的表达式元组指定了一组约束 (例如 ``T: (str, bytes)``)。 "
2534-
"元组中的每个成员都应为一个类型 (同样,在运行时并不强制要求这一点)。 约束的类型变量只能使用约束列表内的类型中选择一种。 "
2534+
"元组中的每个成员都应为一个类型 (同样,在运行时并不强制要求这一点)。 约束的类型变量只能使用约束列表内的类型中选择一种。"
25352535

25362536
#: ../../reference/compound_stmts.rst:1701
25372537
msgid ""

whatsnew/3.13.po

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4182,8 +4182,8 @@ msgid ""
41824182
" will raise a :exc:`ValueError` in Python 3.16. (Contributed by Hugo van "
41834183
"Kemenade in :gh:`75223`.)"
41844184
msgstr ""
4185-
"有效扩展以\". \"开头或在 :meth:`mimetypes.MimeTypes.add_type` 为空。未加点的扩展已弃用,在Python "
4186-
"3.16 中将引发 :exc:`ValueError`(由 Hugo van Kemenade 在:gh:`75223` 中贡献)。"
4185+
"有效扩展以 \". \" 开头或在 :meth:`mimetypes.MimeTypes.add_type` 为空。 未加点的扩展已弃用, "
4186+
"Python 3.16 中将引发 :exc:`ValueError`(由 Hugo van Kemenade 在 :gh:`75223` 中贡献。)"
41874187

41884188
#: ../../deprecations/pending-removal-in-3.16.rst:78
41894189
msgid ":mod:`shutil`:"
@@ -4246,9 +4246,9 @@ msgid ""
42464246
" helpers like :func:`typing.get_origin` and :func:`typing.get_args` instead "
42474247
"of relying on private implementation details."
42484248
msgstr ""
4249-
"在Python 3.14 之前,旧式的联合是通过私有类``typing._UnionGenericAlias`` "
4249+
"在 Python 3.14 之前,旧式的联合是通过私有类 ``typing._UnionGenericAlias`` "
42504250
"实现的。实现已不再需要该类,但为向后兼容性保留了该类,并计划在 Python 3.17 中删除。用户应使用记录在案的内省助手函数,如 "
4251-
":func:`typing.get_origin` 和 :func:`typing.get_args` ,而不是依赖于私有的实现细节。"
4251+
":func:`typing.get_origin` 和 :func:`typing.get_args`,而不是依赖于私有的实现细节。"
42524252

42534253
#: ../../deprecations/c-api-pending-removal-in-future.rst:2
42544254
#: ../../deprecations/pending-removal-in-future.rst:2
@@ -4579,9 +4579,9 @@ msgid ""
45794579
"this private class, a compatibility shim will be provided until at least "
45804580
"Python 3.17. (Contributed by Jelle Zijlstra in :gh:`105499`.)"
45814581
msgstr ""
4582-
"内部类 ``typing._UnionGenericAlias`` 不再用于实现 :class:`typing.Union` "
4583-
"为了保护使用该私有类的用户的兼容性 ,将至少在 Python 3.17 之前提供兼容性。(由 Jelle Zijlstra 在:gh:`105499`"
4584-
" 中贡献)。"
4582+
"内部类 ``typing._UnionGenericAlias`` 不再用于实现 :class:`typing.Union` "
4583+
"为了保护使用该私有类的用户的兼容性,将至少在 Python 3.17 之前提供兼容性。 (由 Jelle Zijlstra 在 :gh:`105499`"
4584+
" 中贡献。)"
45854585

45864586
#: ../../deprecations/pending-removal-in-future.rst:132
45874587
msgid ""
@@ -5576,10 +5576,10 @@ msgid ""
55765576
":c:func:`!PyEval_ThreadsInitialized` always returns non-zero. (Contributed "
55775577
"by Victor Stinner in :gh:`105182`.)"
55785578
msgstr ""
5579-
"删除了在 Python 3.9 弃用的:c:func:`!PyEval_ThreadsInitialized` 函数。自Python 3.7 "
5580-
"起,:c:func:`!Py_Initialize` 总是创建全局解释器锁 :调用:c:func:`!PyEval_InitThreads` "
5581-
"不做任何事情,而:c:func:`!PyEval_ThreadsInitialized` 总返回非零值。(由 Victor Stinner "
5582-
":gh:`105182` 中贡献。)"
5579+
"删除了在 Python 3.9 弃用的 :c:func:`!PyEval_ThreadsInitialized` 函数。自 Python 3.7 "
5580+
"起,:c:func:`!Py_Initialize` 总是创建全局解释器锁 :调用 :c:func:`!PyEval_InitThreads` "
5581+
"不做任何事情,而 :c:func:`!PyEval_ThreadsInitialized` 总返回非零值。由 Victor Stinner "
5582+
":gh:`105182` 中贡献。)"
55835583

55845584
#: ../../whatsnew/3.13.rst:2448
55855585
msgid ""
@@ -6514,10 +6514,9 @@ msgid ""
65146514
"scope. (Changed as part of :pep:`667`.)"
65156515
msgstr ""
65166516
"在 :term:`optimized scope` 中调用 :func:`locals` "
6517-
"时,每次调用都会生成一个独立的快照,因此不再隐式更新之前返回的引用。要获得以往版本 CPython "
6518-
"的行为,现需显式调用以使用后来调用:func:`!locals`得到的结果来更新初次调用返回的字典。隐式使用 :func:`!locals` "
6519-
"的代码执行函数(如 ``exec`` 和 ``eval``)必须传入一个显式命名空间,才能在已优化的作用域中访问其结果。(此更改为 :pep:`667`"
6520-
" 的一部分。) "
6517+
"时,每次调用都会生成一个独立的快照,因此不再隐式更新之前返回的引用。要获得以往版本 CPython 的行为,现需显式调用以使用后来调用 "
6518+
":func:`!locals` 得到的结果来更新初次调用返回的字典。隐式使用 :func:`!locals` 的代码执行函数 (如 ``exec`` 和"
6519+
" ``eval``) 必须传入一个显式命名空间,才能在已优化的作用域中访问其结果。(此更改为 :pep:`667` 的一部分。) "
65216520

65226521
#: ../../whatsnew/3.13.rst:2622
65236522
msgid ""

0 commit comments

Comments
 (0)