Skip to content

Commit d6dc165

Browse files
[po] auto sync
1 parent 40a759d commit d6dc165

File tree

8 files changed

+2053
-2297
lines changed

8 files changed

+2053
-2297
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.79%", "updated_at": "2025-05-22T03:17:44Z"}
1+
{"translation": "81.79%", "updated_at": "2025-05-22T06:57:43Z"}

c-api/time.po

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001 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:
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
109
#
1110
#, fuzzy
1211
msgid ""
1312
msgstr ""
14-
"Project-Id-Version: Python 3.14\n"
13+
"Project-Id-Version: Python 3.13\n"
1514
"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"
1918
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2019
"MIME-Version: 1.0\n"
2120
"Content-Type: text/plain; charset=UTF-8\n"
@@ -96,14 +95,14 @@ msgid ""
9695
" range. (On current systems, integer overflows are likely caused by "
9796
"misconfigured system time.)"
9897
msgstr ""
99-
"在整数溢出时,他们设置 :c:data:`PyExc_OverflowError` 异常,并将``*result``设置为``[PyTime_MIN; "
100-
"PyTime_MAX]``范围内的值。 (在当前系统上,整数溢出可能是由于系统时间配置错误引起的。)"
98+
"在整数溢出时,他们设置 :c:data:`PyExc_OverflowError` 异常,并将 ``*result`` 设置为 "
99+
"``[PyTime_MIN; PyTime_MAX]`` 范围内的值。 (在当前系统上,整数溢出可能是由于系统时间配置错误引起的。)"
101100

102101
#: ../../c-api/time.rst:58
103102
msgid ""
104103
"As any other C API (unless otherwise specified), the functions must be "
105-
"called with an :term:`attached thread state`."
106-
msgstr "与任何其他 C API 一样(除非另有说明),必须使用持有的 :term:`attached thread state` 来调用函数。"
104+
"called with the :term:`GIL` held."
105+
msgstr "与任何其他 C API 一样(除非另有说明),必须使用持有的 :term:`GIL` 来调用函数。"
107106

108107
#: ../../c-api/time.rst:63
109108
msgid ""
@@ -130,8 +129,8 @@ msgstr "原始时钟函数"
130129
#: ../../c-api/time.rst:80
131130
msgid ""
132131
"Similar to clock functions, but don't set an exception on error and don't "
133-
"require the caller to have an :term:`attached thread state`."
134-
msgstr ""
132+
"require the caller to hold the GIL."
133+
msgstr "与时钟函数类似,但不设置错误异常,也不要求调用者持有 GIL。"
135134

136135
#: ../../c-api/time.rst:83
137136
msgid "On success, the functions return ``0``."
@@ -140,29 +139,30 @@ msgstr "成功时,函数返回 ``0``。"
140139
#: ../../c-api/time.rst:85
141140
msgid ""
142141
"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."
147145
msgstr ""
146+
"失败时,它们将 ``*result`` 设置为 ``0`` 并返回 ``-1``, *不* 设置异常。 要了解错误原因,请获取 GIL 并调用常规 "
147+
"(非-``Raw``) 函数。 请注意,常规函数可能会在 ``Raw`` 函数失败后成功。"
148148

149149
#: ../../c-api/time.rst:92
150150
msgid ""
151151
"Similar to :c:func:`PyTime_Monotonic`, but don't set an exception on error "
152-
"and don't require an :term:`attached thread state`."
153-
msgstr ""
152+
"and don't require holding the GIL."
153+
msgstr "与 :c:func:`PyTime_Monotonic` 类似,但在错误时不设置异常,并且不需要持有 GIL。"
154154

155155
#: ../../c-api/time.rst:97
156156
msgid ""
157157
"Similar to :c:func:`PyTime_PerfCounter`, but don't set an exception on error"
158-
" and don't require an :term:`attached thread state`."
159-
msgstr ""
158+
" and don't require holding the GIL."
159+
msgstr "与 :c:func:`PyTime_PerfCounter` 类似,但在错误时不设置异常,并且不需要持有 GIL。"
160160

161161
#: ../../c-api/time.rst:102
162162
msgid ""
163163
"Similar to :c:func:`PyTime_Time`, but don't set an exception on error and "
164-
"don't require an :term:`attached thread state`."
165-
msgstr ""
164+
"don't require holding the GIL."
165+
msgstr "与 :c:func:`PyTime_Time` 类似,但在错误时不设置异常,并且不需要持有 GIL。 "
166166

167167
#: ../../c-api/time.rst:107
168168
msgid "Conversion functions"

0 commit comments

Comments
 (0)