1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001 Python Software Foundation
2
+ # Copyright (C) 2001-2025, Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # ww song <sww4718168@gmail.com>, 2024
8
- # Freesand Leo <yuqinju@163.com>, 2024
9
- # 汇民 王 <whuim@qq.com>, 2025
7
+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8
+ # Freesand Leo <yuqinju@163.com>, 2025
10
9
#
11
10
#, fuzzy
12
11
msgid ""
13
12
msgstr ""
14
- "Project-Id-Version :Python 3.14 \n "
13
+ "Project-Id-Version :Python 3.13 \n "
15
14
"Report-Msgid-Bugs-To :\n "
16
- "POT-Creation-Date :2025-05-08 02:53-0300 \n "
17
- "PO-Revision-Date :2024 -05-11 01:07 +0000\n "
18
- "Last-Translator :汇民 王 <whuim@qq .com>, 2025\n "
15
+ "POT-Creation-Date :2025-05-16 14:58+0000 \n "
16
+ "PO-Revision-Date :2025 -05-08 05:08 +0000\n "
17
+ "Last-Translator :Freesand Leo <yuqinju@163 .com>, 2025\n "
19
18
"Language-Team :Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
20
19
"MIME-Version :1.0\n "
21
20
"Content-Type :text/plain; charset=UTF-8\n "
@@ -96,14 +95,14 @@ msgid ""
96
95
" range. (On current systems, integer overflows are likely caused by "
97
96
"misconfigured system time.)"
98
97
msgstr ""
99
- "在整数溢出时,他们设置 :c:data:`PyExc_OverflowError` 异常,并将``*result``设置为``[PyTime_MIN; "
100
- "PyTime_MAX]``范围内的值。 (在当前系统上,整数溢出可能是由于系统时间配置错误引起的。)"
98
+ "在整数溢出时,他们设置 :c:data:`PyExc_OverflowError` 异常,并将 ``*result`` 设置为 "
99
+ "``[PyTime_MIN; PyTime_MAX]`` 范围内的值。 (在当前系统上,整数溢出可能是由于系统时间配置错误引起的。)"
101
100
102
101
#: ../../c-api/time.rst:58
103
102
msgid ""
104
103
"As any other C API (unless otherwise specified), the functions must be "
105
- "called withan :term:`attached thread state` ."
106
- msgstr "与任何其他 C API 一样(除非另有说明),必须使用持有的 :term:`attached thread state` 来调用函数。"
104
+ "called withthe :term:`GIL` held ."
105
+ msgstr "与任何其他 C API 一样(除非另有说明),必须使用持有的 :term:`GIL` 来调用函数。"
107
106
108
107
#: ../../c-api/time.rst:63
109
108
msgid ""
@@ -130,8 +129,8 @@ msgstr "原始时钟函数"
130
129
#: ../../c-api/time.rst:80
131
130
msgid ""
132
131
"Similar to clock functions, but don't set an exception on error and don't "
133
- "require the caller tohave an :term:`attached thread state` ."
134
- msgstr ""
132
+ "require the caller tohold the GIL ."
133
+ msgstr "与时钟函数类似,但不设置错误异常,也不要求调用者持有 GIL。 "
135
134
136
135
#: ../../c-api/time.rst:83
137
136
msgid "On success, the functions return ``0``."
@@ -140,29 +139,30 @@ msgstr "成功时,函数返回 ``0``。"
140
139
#: ../../c-api/time.rst:85
141
140
msgid ""
142
141
"On failure, they set ``*result`` to ``0`` and return ``-1``, *without* "
143
- "setting an exception. To get the cause of the error, :term:`attach <attached"
144
- " thread state>` a :term:`thread state`, and call the regular (non-``Raw``) "
145
- "function. Note that the regular function may succeed after the ``Raw`` one "
146
- "failed."
142
+ "setting an exception. To get the cause of the error, acquire the GIL and "
143
+ "call the regular (non-``Raw``) function. Note that the regular function may "
144
+ "succeed after the ``Raw`` one failed."
147
145
msgstr ""
146
+ "失败时,它们将 ``*result`` 设置为 ``0`` 并返回 ``-1``, *不* 设置异常。 要了解错误原因,请获取 GIL 并调用常规 "
147
+ "(非-``Raw``) 函数。 请注意,常规函数可能会在 ``Raw`` 函数失败后成功。"
148
148
149
149
#: ../../c-api/time.rst:92
150
150
msgid ""
151
151
"Similar to :c:func:`PyTime_Monotonic`, but don't set an exception on error "
152
- "and don't requirean :term:`attached thread state` ."
153
- msgstr ""
152
+ "and don't requireholding the GIL ."
153
+ msgstr "与 :c:func:`PyTime_Monotonic` 类似,但在错误时不设置异常,并且不需要持有 GIL。 "
154
154
155
155
#: ../../c-api/time.rst:97
156
156
msgid ""
157
157
"Similar to :c:func:`PyTime_PerfCounter`, but don't set an exception on error"
158
- " and don't requirean :term:`attached thread state` ."
159
- msgstr ""
158
+ " and don't requireholding the GIL ."
159
+ msgstr "与 :c:func:`PyTime_PerfCounter` 类似,但在错误时不设置异常,并且不需要持有 GIL。 "
160
160
161
161
#: ../../c-api/time.rst:102
162
162
msgid ""
163
163
"Similar to :c:func:`PyTime_Time`, but don't set an exception on error and "
164
- "don't requirean :term:`attached thread state` ."
165
- msgstr ""
164
+ "don't requireholding the GIL ."
165
+ msgstr "与 :c:func:`PyTime_Time` 类似,但在错误时不设置异常,并且不需要持有 GIL。 "
166
166
167
167
#: ../../c-api/time.rst:107
168
168
msgid "Conversion functions"