8000 [po] auto sync · python/python-docs-zh-cn@ee84e6f · GitHub
[go: up one dir, main page]

Skip to content

Commit ee84e6f

Browse files
[po] auto sync
1 parent 049b222 commit ee84e6f

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.39%", "updated_at": "2024-05-12T00:28:20Z"}
1+
{"translation": "92.39%", "updated_at": "2024-05-14T15:09:23Z"}

library/threading.po

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2021, 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-
# Shengjing Zhu <zsj950618@gmail.com>, 2020
8-
# dannyvi <dannyvis@icloud.com>, 2020
97
# 叶浚安 <ye.pandaaaa906@gmail.com>, 2020
108
# TX Lee <litmxs@gmail.com>, 2020
119
# walkinrain <walkinrain2008@outlook.com>, 2020
1210
# ppcfish <ppcfish@gmail.com>, 2020
1311
# Arisaka97 <solitaire2312@gmail.com>, 2020
14-
# Freesand Leo <yuqinju@163.com>, 2022
12+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
13+
# Freesand Leo <yuqinju@163.com>, 2024
1514
#
1615
#, fuzzy
1716
msgid ""
1817
msgstr ""
1918
"Project-Id-Version: Python 3.8\n"
2019
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2021-02-25 16:37+0000\n"
20+
"POT-Creation-Date: 2024-05-11 21:06+0000\n"
2221
"PO-Revision-Date: 2020-05-30 12:11+0000\n"
23-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
24-
"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"
2524
"MIME-Version: 1.0\n"
2625
"Content-Type: text/plain; charset=UTF-8\n"
2726
"Content-Transfer-Encoding: 8bit\n"
@@ -324,7 +323,7 @@ msgid ""
324323
"override the :meth:`~Thread.__init__` and :meth:`~Thread.run` methods of "
325324
"this class."
326325
msgstr ""
327-
" :class:`Thread` 类代表在独立控制线程运行的活动。有两种方式指定活动:传递一个可调用对象给构造函数或者在子类重载 "
326+
":class:`Thread` 类代表在独立控制线程运行的活动。有两种方式指定活动:传递一个可调用对象给构造函数或者在子类重载 "
328327
":meth:`~Thread.run` 方法。其它方法不应该在子类被(除了构造函数)重载。换句话说,*只能* 重载这个类的 "
329328
":meth:`~Thread.__init__` 和 :meth:`~Thread.run` 方法。"
330329

@@ -379,8 +378,8 @@ msgid ""
379378
"can be set through the :attr:`~Thread.daemon` property or the *daemon* "
380379
"constructor argument."
381380
msgstr ""
382-
"一个线程可以被标记成一个“守护线程”。 这个标志的意义是,当剩下的线程都是守护线程时,整个 Python 程序将会退出。 初始值继承于创建线程。 "
383-
"这个标志可以通过 :attr:`~Thread.daemon` 特征属性或者 *daemon* 构造器参数来设置。"
381+
"一个线程可以被标记成一个“守护线程”。 这个标识的意义是,当剩下的线程都是守护线程时,整个 Python 程序将会退出。 初始值继承于创建线程。 "
382+
"这个标识可以通过 :attr:`~Thread.daemon` 特征属性或者 *daemon* 构造器参数来设置。"
384383

385384
#: ../../library/threading.rst:252
386385
msgid ""
@@ -756,7 +755,7 @@ msgstr "当锁被锁定,将它重置为未锁定,并返回。如果其他线
756755

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

761760
#: ../../library/threading.rst:490 ../../library/threading.rst:571
762761
msgid "There is no return value."
@@ -894,7 +893,7 @@ msgid ""
894893
":meth:`~Condition.release` methods also call the corresponding methods of "
895894
"the associated lock."
896895
msgstr ""
897-
"条件变量服从 :ref:`上下文管理协议 <with-locks>`:使用 ``with`` 语句会在它包围的代码块内获取关联的锁。 "
896+
"条件变量遵循 :ref:`上下文管理协议 <with-locks>` :使用 ``with`` 语句会在它包围的代码块内获取关联的锁。 "
898897
":meth:`~Condition.acquire` 和 :meth:`~Condition.release` 方法也能调用关联锁的相关方法。"
899898

900899
#: ../../library/threading.rst:590
@@ -1054,7 +1053,7 @@ msgstr "返回 ``True`` ,除非提供的 *timeout* 过期,这种情况下返
10541053

10551054
#: ../../library/threading.rst:692 ../../library/threading.rst:904
10561055
msgid "Previously, the method always returned ``None``."
1057-
msgstr "很明显,方法总是返回 ``None``。"
1056+
msgstr "在此之前,方法总是返回 ``None``。"
10581057

10591058
#: ../../library/threading.rst:697
10601059
msgid ""
@@ -1188,7 +1187,7 @@ msgstr "获取一个信号量。"
11881187

11891188
#: ../../library/threading.rst:782
11901189
msgid "When invoked without arguments:"
1191-
msgstr "在不带参数的情况下调用时: "
1190+
msgstr "在不带参数的情况下调用时:"
11921191

11931192
#: ../../library/threading.rst:784
11941193
msgid ""
@@ -1286,8 +1285,8 @@ msgid ""
12861285
":meth:`~Event.set` method and reset to false with the :meth:`~Event.clear` "
12871286
"method. The :meth:`~Event.wait` method blocks until the flag is true."
12881287
msgstr ""
1289-
"一个事件对象管理一个内部标志,调用 :meth:`~Event.set` 方法可将其设置为true,调用 :meth:`~Event.clear` "
1290-
"方法可将其设置为false,调用 :meth:`~Event.wait` 方法将进入阻塞直到标志为true。"
1288+
"一个事件对象管理一个内部标识,调用 :meth:`~Event.set` 方法可将其设置为 true ,调用 :meth:`~Event.clear`"
1289+
" 方法可将其设置为 false ,调用 :meth:`~Event.wait` 方法将进入阻塞直到标识为 true 。"
12911290

12921291
#: ../../library/threading.rst:865
12931292
msgid ""
@@ -1296,38 +1295,39 @@ msgid ""
12961295
":meth:`clear` method. The :meth:`wait` method blocks until the flag is "
12971296
"true. The flag is initially false."
12981297
msgstr ""
1299-
"实现事件对象的类。事件对象管理一个内部标志,调用 :meth:`~Event.set` 方法可将其设置为true。调用 "
1300-
":meth:`~Event.clear` 方法可将其设置为false。调用 :meth:`~Event.wait` "
1301-
"方法将进入阻塞直到标志为true。这个标志初始时为false。"
1298+
"实现事件对象的类。事件对象管理一个内部标识,调用 :meth:`~Event.set` 方法可将其设置为true。调用 "
1299+
":meth:`~Event.clear` 方法可将其设置为 false 。调用 :meth:`~Event.wait` "
1300+
"方法将进 A3D4 阻塞直到标识为true。这个标识初始时为 false 。"
13021301

13031302
#: ../../library/threading.rst:875
13041303
msgid "Return ``True`` if and only if the internal flag is true."
1305-
msgstr "当且仅当内部旗标为时返回 ``True``。"
1304+
msgstr "当且仅当内部标识为 true 时返回 ``True`` 。"
13061305

13071306
#: ../../library/threading.rst:879
13081307
msgid ""
13091308
"Set the internal flag to true. All threads waiting for it to become true are"
13101309
" awakened. Threads that call :meth:`wait` once the flag is true will not "
13111310
"block at all."
1312-
msgstr "将内部标志设置为true。所有正在等待这个事件的线程将被唤醒。当标志为true时,调用 :meth:`wait` 方法的线程不会被被阻塞。"
1311+
msgstr ""
1312+
"将内部标识设置为 true 。所有正在等待这个事件的线程将被唤醒。当标识为 true 时,调用 :meth:`wait` 方法的线程不会被被阻塞。"
13131313

13141314
#: ../../library/threading.rst:885
13151315
msgid ""
13161316
"Reset the internal flag to false. Subsequently, threads calling :meth:`wait`"
13171317
" will block until :meth:`.set` is called to set the internal flag to true "
13181318
"again."
13191319
msgstr ""
1320-
"将内部标志设置为false。之后调用 :meth:`wait` 方法的线程将会被阻塞,直到调用 :meth:`.set` "
1321-
"方法将内部标志再次设置为true。"
1320+
"将内部标识设置为 false 。之后调用 :meth:`wait` 方法的线程将会被阻塞,直到调用 :meth:`.set` 方法将内部标识再次设置为 "
1321+
"true 。"
13221322

13231323
#: ../../library/threading.rst:891
13241324
msgid ""
13251325
"Block until the internal flag is true. If the internal flag is true on "
13261326
"entry, return immediately. Otherw 9F0E ise, block until another thread calls "
13271327
":meth:`.set` to set the flag to true, or until the optional timeout occurs."
13281328
msgstr ""
1329-
"阻塞线程直到内部变量为true。如果调用时内部标志为true,将立即返回。否则将阻塞线程,直到调用 :meth:`.set` "
1330-
"方法将标志设置为true或者发生可选的超时。"
1329+
"阻塞线程直到内部变量为 true 。如果调用时内部标识为 true,将立即返回。否则将阻塞线程,直到调用 :meth:`.set` 方法将标识设置为 "
1330+
"true 或者发生可选的超时。"
13311331

13321332
#: ../../library/threading.rst:895
13331333
msgid ""
@@ -1373,7 +1373,7 @@ msgstr ""
13731373

13741374
#: ../../library/threading.rst:923
13751375
msgid "For example::"
1376-
msgstr "例如 ::"
1376+
msgstr "例如"
13771377

13781378
#: ../../library/threading.rst:934
13791379
msgid ""

0 commit comments

Comments
 (0)
0