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

Skip to content

Commit a6e36fd

Browse files
[po] auto sync
1 parent 3493ffb commit a6e36fd

18 files changed

Lines changed: 487 additions & 140 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.17%", "updated_at": "2024-03-08T15:41:42Z"}
1+
{"translation": "92.52%", "updated_at": "2024-03-09T16:42:55Z"}

library/abc.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-01 16:38+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:12+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -150,6 +150,9 @@ msgid ""
150150
":data:`!NotImplemented`, the subclass check is continued with the usual "
151151
"mechanism."
152152
msgstr ""
153+
"该方法应为返回 ``True`` , ``False`` 或 :data:`NotImplemented` 。如果返回 ``True`` ,则 *子类*"
154+
" 被视为该抽象基类的子类 。如果返回 ``False`` ,则 *子类* 不被视为此抽象基类的子类 ,即使它通常是。 如果返回 "
155+
":data:`!NotImplemented` ,则继续按照常规机制检查子类 。"
153156

154157
#: ../../library/abc.rst:114
155158
msgid ""

library/ast.po

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2023
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-01 16:38+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:12+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1181,11 +1181,16 @@ msgid ""
11811181
" is the same as when run on the Python version corresponding to "
11821182
"``feature_version``."
11831183
msgstr ""
1184+
"将 ``feature_version`` 设置为元组 ``(major, minor)`` 将导致使用该 "
1185+
"Python版语法\"尽力\"尝试解析。例如,设置 ``feature_version=(3, 9)`` 将尝试禁止解析 "
1186+
":keyword:`match` 语句 。目前, ``major`` 必须等于 ``3`` 。支持的最低版是 ``(3, 4)`` (在未来的 "
1187+
"Python 版本中可能会增加);最高是 ``sys.version_info[0:2]`` 。\"尽力 \"尝试意味着不能保证解析 (或解析的成功) "
1188+
"与在与 ``feature_version`` 对应的 Python版 上运行时相同。"
11841189

11851190
#: ../../library/ast.rst:2051
11861191
msgid ""
11871192
"If source contains a null character (``\\0``), :exc:`ValueError` is raised."
1188-
msgstr ""
1193+
msgstr "如果源包含一个空字符 (``\\0``),则会引发 :exc:`ValueError`。"
11891194

11901195
#: ../../library/ast.rst:2054
11911196
msgid ""

library/constants.po

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2023
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-01 16:38+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:13+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -62,6 +62,11 @@ msgid ""
6262
"evaluated in a boolean context. :data:`!NotImplemented` is the sole instance"
6363
" of the :data:`types.NotImplementedType` type."
6464
msgstr ""
65+
"一个应当由双目运算特殊方法(如 :meth:`~object.__eq__`, :meth:`~object.__lt__`, "
66+
":meth:`~object.__add__`, :meth:`~object.__rsub__` "
67+
"等)返回的特殊值,用来表明该运算没有针对其他类型的实现;也可由原地双目运算特殊方法(如 :meth:`~object.__imul__`, "
68+
":meth:`~object.__iand__` 等)出于同样的目的而返回。 它不应在布尔上下文中被求值。 "
69+
":data:`!NotImplemented` 是 :data:`types.NotImplementedType` 类型的唯一实例。"
6570

6671
#: ../../library/constants.rst:40
6772
msgid ""
@@ -73,6 +78,10 @@ msgid ""
7378
"misleading error message or the :data:`!NotImplemented` value being returned"
7479
" to Python code."
7580
msgstr ""
81+
"当一个双目(或原地)方法返回 :data:`!NotImplemented` "
82+
"时解释器将尝试对另一种类型(或其他回退操作,具体取决于所用的运算符)的反射操作。 如果所有尝试都返回 "
83+
":data:`!NotImplemented`,解释器将引发适当的异常。 错误地返回 :data:`!NotImplemented` "
84+
"将导致误导性的错误消息或 :data:`!NotImplemented` 值被返回给 Python 代码。"
7685

7786
#: ../../library/constants.rst:47
7887
msgid "See :ref:`implementing-the-arithmetic-operations` for examples."
@@ -84,13 +93,17 @@ msgid ""
8493
" even though they have similar names and purposes. See "
8594
":exc:`NotImplementedError` for details on when to use it."
8695
msgstr ""
96+
"``NotImplementedError`` 和 :data:`!NotImplemented` 不可相互替代,即使它们有相似的名称和用途。 请参阅 "
97+
":exc:`NotImplementedError` 了解其使用细节。"
8798

8899
#: ../../library/constants.rst:55
89100
msgid ""
90101
"Evaluating :data:`!NotImplemented` in a boolean context is deprecated. While"
91102
" it currently evaluates as true, it will emit a :exc:`DeprecationWarning`. "
92103
"It will raise a :exc:`TypeError` in a future version of Python."
93104
msgstr ""
105+
"在布尔上下文件中对 :data:`!NotImplemented` 求值的操作已被弃用。 虽然它目前会被求解为真值,但将同时发出 "
106+
":exc:`DeprecationWarning`。 它将在未来的 Python 版本中引发 :exc:`TypeError`。"
94107

95108
#: ../../library/constants.rst:64
96109
msgid ""

library/exceptions.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-01 16:38+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:15+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -454,6 +454,8 @@ msgid ""
454454
"even though they have similar names and purposes. See "
455455
":data:`!NotImplemented` for details on when to use it."
456456
msgstr ""
457+
"``NotImplementedError`` 和 :data:`NotImplemented` "
458+
"不能互换,尽管它们的名称和用途相似。有关何时使用的详细信息,请参阅 :data:`!NotImplemented` 。 "
457459

458460
#: ../../library/exceptions.rst:347
459461
msgid ""

library/fcntl.po

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-01 16:38+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:15+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -251,21 +251,21 @@ msgstr ""
251251

252252
#: ../../library/fcntl.rst:154
253253
msgid "Release an existing lock."
254-
msgstr ""
254+
msgstr "释放一个已存在的锁 。"
255255

256256
#: ../../library/fcntl.rst:158
257257
msgid "Acquire a shared lock."
258-
msgstr ""
258+
msgstr "获取一个共享的锁。"
259259

260260
#: ../../library/fcntl.rst:162
261261
msgid "Acquire an exclusive lock."
262-
msgstr ""
262+
msgstr "获得一个独占的锁。"
263263

264264
#: ../../library/fcntl.rst:166
265265
msgid ""
266266
"Bitwise OR with any of the other three ``LOCK_*`` constants to make the "
267267
"request non-blocking."
268-
msgstr ""
268+
msgstr "与其他三个 ``LOCK_*`` 常量中的任何一个进行位或操作,使请求不阻塞。"
269269

270270
#: ../../library/fcntl.rst:169
271271
msgid ""
@@ -276,6 +276,9 @@ msgid ""
276276
"least some systems, :const:`!LOCK_EX` can only be used if the file "
277277
"descriptor refers to a file opened for writing."
278278
msgstr ""
279+
"如果使用了 :const:`!LOCK_NB` ,但无法获取锁 ,则 :exc:`OSError` 将被引发 ,异常将被 *errno* 属性 设置为 "
280+
":const:`~errno.EACCES` 或 :const:`~errno.EAGAIN` (取决于操作系统;为便于移植,请检查这两个值)。 "
281+
"至少在某些系统中,只有当文件描述符指向一个已打开供写入的文件时,才能使用:const:`!LOCK_EX` 。"
279282

280283
#: ../../library/fcntl.rst:176
281284
msgid ""

library/inspect.po

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
#
66
# Translators:
77
# Freesand Leo <[email protected]>, 2023
8-
# Rafael Fontenelle <[email protected]>, 2023
8+
# Rafael Fontenelle <[email protected]>, 2024
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.11\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-03-01 16:38+0000\n"
15+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1616
"PO-Revision-Date: 2023-05-24 02:16+0000\n"
17-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
17+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1015,6 +1015,8 @@ msgid ""
10151015
"and are subject to unannounced changes. Consult the source code for current "
10161016
"semantics."
10171017
msgstr ""
1018+
"如果传递的对象有一个 :attr:`!__signature__` 属性 "
1019+
",我们可以用它来创建签名。确切的语义是实现的一个细节,可能会有未经宣布的更改。有关当前语义,请查阅源代码。"
10181020

10191021
#: ../../library/inspect.rst:681
10201022
msgid ""

library/logging.po

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-01 16:38+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:17+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -156,11 +156,11 @@ msgstr "请不要直接设置该值 —— 应当始终使用 :meth:`setLevel`
156156
msgid ""
157157
"The parent logger of this logger. It may change based on later instantiation"
158158
" of loggers which are higher up in the namespace hierarchy."
159-
msgstr ""
159+
msgstr "此日志记录器的父日志记录器。它可能会根据命名空间层次结构中更高日志记录器的实例化而发生变化。"
160160

161161
#: ../../library/logging.rst:99
162162
msgid "This value should be treated as read-only."
163-
msgstr ""
163+
msgstr "该值应被视为只读 。"
164164

165165
#: ../../library/logging.rst:103
166166
msgid ""
@@ -218,20 +218,22 @@ msgstr ""
218218

219219
#: ../../library/logging.rst:134
220220
msgid "The list of handlers directly attached to this logger instance."
221-
msgstr ""
221+
msgstr "直接连接到此记录器的处理程序列表实例。"
222222

223223
#: ../../library/logging.rst:136
224224
msgid ""
225225
"This attribute should be treated as read-only; it is normally changed via "
226226
"the :meth:`addHandler` and :meth:`removeHandler` methods, which use locks to"
227227
" ensure thread-safe operation."
228228
msgstr ""
229+
"该属性应被视为只读 ;通常通过 :meth:`addHandler` 和 :meth:`removeHandler` "
230+
"方法进行更改,它们使用锁来确保线程安全的操作。"
229231

230232
#: ../../library/logging.rst:142
231233
msgid ""
232234
"This attribute disables handling of any events. It is set to ``False`` in "
233235
"the initializer, and only changed by logging configuration code."
234-
msgstr ""
236+
msgstr "该属性禁用对任何事件的处理。初始化程序将其设置为 ``False`` ,只有日志配置代码才能更改。"
235237

236238
#: ../../library/logging.rst:149
237239
msgid ""

library/pprint.po

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-08 15:18+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:18+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -76,6 +76,9 @@ msgid ""
7676
"*args* and *kwargs* will be passed to :func:`~pprint.pprint` as formatting "
7777
"parameters."
7878
msgstr ""
79+
"打印 *对象* 的格式化表示,后跟换行符。如果 *sort_dicts* 为 "
80+
"false(默认),字典将按插入顺序显示键值,否则将对字典键值进行排序。*args* 和 *kwargs* 将作为格式化形参传递给 "
81+
":func:`~pprint.pprint` 。"
7982

8083
#: ../../library/pprint.rst:53
8184
msgid ""
@@ -85,6 +88,9 @@ msgid ""
8588
"for inspecting values (you can even reassign ``print = pprint.pprint`` for "
8689
"use within a scope)."
8790
msgstr ""
91+
"在 *stream* 上打印 *object* 的格式化表示形式。 如果 *stream* 为 ``None``,则会使用 "
92+
":data:`sys.stdout` 。 这可以在交互式解释器中代替 :func:`print` 函数使用以便检查对象的值(你甚至可以通过重赋值 "
93+
"``print = pprint.pprint`` 在特定作用域内使用)。"
8894

8995
#: ../../library/pprint.rst:59
9096
msgid ""
@@ -129,7 +135,7 @@ msgstr "PrettyPrinter 对象"
129135

130136
#: ../../library/pprint.rst:117
131137
msgid "This module defines one class:"
132-
msgstr ""
138+
msgstr "此模块定义了一个类:"
133139

134140
#: ../../library/pprint.rst:127
135141
msgid ""
@@ -144,6 +150,9 @@ msgid ""
144150
"both *stream* and :data:`!sys.stdout` are ``None``, then "
145151
":meth:`~PrettyPrinter.pprint` silently returns."
146152
msgstr ""
153+
"*stream* (默认为 :data:`!sys.stdout`) 是一个 :term:`file-like object`,它是当调用其 "
154+
":meth:`!write` 方法时的输出将要写入的目标。 如果 *stream* 和 :data:`!sys.stdout` 均为 "
155+
"``None``,则 :meth:`~PrettyPrinter.pprint` 将静默地返回。"
147156

148157
#: ../../library/pprint.rst:135
149158
msgid ""
@@ -211,7 +220,7 @@ msgstr "添加了 *underscore_numbers* 形参。"
211220

212221
#: ../../library/pprint.rst:172
213222
msgid "No longer attempts to write to :data:`!sys.stdout` if it is ``None``."
214-
msgstr ""
223+
msgstr "如果 :data:`!sys.stdout` 为 ``None`` 则将不会尝试向其中写入。"
215224

216225
#: ../../library/pprint.rst:199
217226
msgid ":class:`PrettyPrinter` instances have the following methods:"

library/stdtypes.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-03-08 15:18+0000\n"
14+
"POT-Creation-Date: 2024-03-09 14:21+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:19+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -6527,6 +6527,8 @@ msgid ""
65276527
"more information. There is exactly one :data:`NotImplemented` object. "
65286528
":code:`type(NotImplemented)()` produces the singleton instance."
65296529
msgstr ""
6530+
"此对象会被作为比较和二元运算被应用于它们所不支持的类型时的返回值。 请参阅 :ref:`comparisons` 了解更多信息。 未实现对象只有一种值 "
6531+
":data:`NotImplemented`。 :code:`type(NotImplemented)()` 会生成这个单例。"
65306532

65316533
#: ../../library/stdtypes.rst:5397
65326534
msgid "It is written as :code:`NotImplemented`."

0 commit comments

Comments
 (0)