Skip to content

Commit 00eb703

Browse files
[po] auto sync
1 parent 969aa6e commit 00eb703

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.stat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.96%", "updated_at": "2024-05-12T00:29:53Z"}
1+
{"translation": "92.96%", "updated_at": "2024-05-14T15:21:18Z"}

library/threading.po

+16-15
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
2+
# Copyright (C) 2001-2024, 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>, 2018
87
# TX Lee <litmxs@gmail.com>, 2019
98
# walkinrain <walkinrain2008@outlook.com>, 2019
109
# 叶浚安 <ye.pandaaaa906@gmail.com>, 2019
1110
# ppcfish <ppcfish@gmail.com>, 2019
1211
# kevin wong <huagang517@126.com>, 2020
13-
# Freesand Leo <yuqinju@163.com>, 2022
12+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
13+
# Freesand Leo <yuqinju@163.com>, 2024
1414
#
1515
#, fuzzy
1616
msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.9\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2022-11-04 14:34+0000\n"
20+
"POT-Creation-Date: 2024-05-11 20:32+0000\n"
2121
"PO-Revision-Date: 2017-02-16 23:30+0000\n"
22-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
23-
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
22+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
23+
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
2626
"Content-Transfer-Encoding: 8bit\n"
@@ -145,7 +145,8 @@ msgid ""
145145
"Storing *thread* using a custom hook can resurrect it if it is set to an "
146146
"object which is being finalized. Avoid storing *thread* after the custom "
147147
"hook completes to avoid resurrecting objects."
148-
msgstr "使用定制钩子存放 *thread* 可能会在它设为被终结对象时将其重生。 请避免在定制钩子完成后存放 *thread* 以避免对象的重生。"
148+
msgstr ""
149+
"如果一个对象正在被销毁,那么使用自定义的钩子储存 *thread* 可能会将其复活。请在自定义钩子生效后避免储存 *thread*,以避免对象的复活。"
149150

150151
#: ../../library/threading.rst:83
151152
msgid ":func:`sys.excepthook` handles uncaught exceptions."
@@ -233,7 +234,7 @@ msgid ""
233234
"stack size is the suggested approach in the absence of more specific "
234235
"information)."
235236
msgstr ""
236-
"返回创建线程时用的堆栈大小。可选参数 *size* "
237+
"返回创建线程时使用的堆栈大小。可选参数 *size* "
237238
"指定之后新建的线程的堆栈大小,而且一定要是0(根据平台或者默认配置)或者最小是32,768(32KiB)的一个正整数。如果 *size* "
238239
"没有指定,默认是0。如果不支持改变线程堆栈大小,会抛出 :exc:`RuntimeError` 错误。如果指定的堆栈大小不合法,会抛出 "
239240
":exc:`ValueError` "
@@ -323,7 +324,7 @@ msgid ""
323324
"override the :meth:`~Thread.__init__` and :meth:`~Thread.run` methods of "
324325
"this class."
325326
msgstr ""
326-
" :class:`Thread` 类代表在独立控制线程运行的活动。有两种方式指定活动:传递一个可调用对象给构造函数或者在子类重载 "
327+
":class:`Thread` 类代表在独立控制线程运行的活动。有两种方式指定活动:传递一个可调用对象给构造函数或者在子类重载 "
327328
":meth:`~Thread.run` 方法。其它方法不应该在子类被(除了构造函数)重载。换句话说,*只能* 重载这个类的 "
328329
":meth:`~Thread.__init__` 和 :meth:`~Thread.run` 方法。"
329330

@@ -516,7 +517,7 @@ msgid ""
516517
"whether a timeout happened -- if the thread is still alive, the "
517518
":meth:`~Thread.join` call timed out."
518519
msgstr ""
519-
"当 *timeout* 参数存在而且不是 ``None`` 时,它应该是一个用于指定操作超时的以秒为单位的浮点数(或者分数)。因为 "
520+
"当 *timeout* 参数存在而且不是 ``None`` 时,它应该是一个用于指定操作超时的以秒为单位的浮点数或者分数。因为 "
520521
":meth:`~Thread.join` 总是返回 ``None`` ,所以你一定要在 :meth:`~Thread.join` 后调用 "
521522
":meth:`~Thread.is_alive` 才能判断是否发生超时 -- 如果线程仍然存活,则 :meth:`~Thread.join` 超时。"
522523

@@ -755,7 +756,7 @@ msgstr "当锁被锁定,将它重置为未锁定,并返回。如果其他线
755756

756757
#: ../../library/threading.rst:489
757758
msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised."
758-
msgstr "在未锁定的锁调用时,会引发 :exc:`RuntimeError` 异常。"
759+
msgstr "当在未锁定的锁上发起调用时,会引发 :exc:`RuntimeError`。"
759760

760761
#: ../../library/threading.rst:491 ../../library/threading.rst:572
761762
msgid "There is no return value."
@@ -1053,7 +1054,7 @@ msgstr "返回 ``True`` ,除非提供的 *timeout* 过期,这种情况下返
10531054

10541055
#: ../../library/threading.rst:693 ../../library/threading.rst:908
10551056
msgid "Previously, the method always returned ``None``."
1056-
msgstr "很明显,方法总是返回 ``None``。"
1057+
msgstr "在此之前,方法总是返回 ``None``。"
10571058

10581059
#: ../../library/threading.rst:698
10591060
msgid ""
@@ -1187,13 +1188,13 @@ msgstr "获取一个信号量。"
11871188

11881189
#: ../../library/threading.rst:783
11891190
msgid "When invoked without arguments:"
1190-
msgstr "在不带参数的情况下调用时: "
1191+
msgstr "在不带参数的情况下调用时:"
11911192

11921193
#: ../../library/threading.rst:785
11931194
msgid ""
11941195
"If the internal counter is larger than zero on entry, decrement it by one "
11951196
"and return ``True`` immediately."
1196-
msgstr "如果在进入时内部计数器的值大于零,则将其减一并立即返回 ``True``."
1197+
msgstr "如果在进入时内部计数器的值大于零,则将其减一并立即返回 ``True``"
11971198

11981199
#: ../../library/threading.rst:787
11991200
msgid ""
@@ -1377,7 +1378,7 @@ msgstr ""
13771378

13781379
#: ../../library/threading.rst:927
13791380
msgid "For example::"
1380-
msgstr "例如::"
1381+
msgstr "例如"
13811382

13821383
#: ../../library/threading.rst:938
13831384
msgid ""

0 commit comments

Comments
 (0)