Skip to content

Commit 679bfbd

Browse files
[po] auto sync
1 parent 71fdcc5 commit 679bfbd

File tree

9 files changed

+13145
-13046
lines changed

9 files changed

+13145
-13046
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.33%", "updated_at": "2025-04-18T14:56:01Z"}
1+
{"translation": "81.36%", "updated_at": "2025-04-18T15:55:37Z"}

c-api/unicode.po

Lines changed: 196 additions & 186 deletions
Large diffs are not rendered by default.

howto/perf_profiling.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,15 +544,15 @@ msgstr ""
544544
msgid ""
545545
"Builds with ``-O0`` typically have much larger stack frames than those with "
546546
"``-O1`` or higher"
547-
msgstr ""
547+
msgstr "使用 ``-O0`` 构建通常会比使用 ``-O1`` 或更高的值具有大得多的栈帧数。"
548548

549549
#: ../../howto/perf_profiling.rst:280
550550
msgid ""
551551
"Adding optimizations (``-O1``, ``-O2``, etc.) typically reduces stack size"
552-
msgstr ""
552+
msgstr "添加优化 (``-O1``, ``-O2`` 等) 通常会减小栈大小"
553553

554554
#: ../../howto/perf_profiling.rst:281
555555
msgid ""
556556
"Frame pointers (``-fno-omit-frame-pointer``) generally provide more reliable"
557557
" stack unwinding"
558-
msgstr ""
558+
msgstr "帧指针 (``-fno-omit-frame-pointer``) 通常会提供更可靠的栈展开"

library/asyncio-eventloop.po

Lines changed: 418 additions & 410 deletions
Large diffs are not rendered by default.

library/asyncio-task.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,13 +2195,13 @@ msgstr "请求取消 Task 对象。"
21952195
msgid ""
21962196
"If the Task is already *done* or *cancelled*, return ``False``, otherwise, "
21972197
"return ``True``."
2198-
msgstr ""
2198+
msgstr "如果该 Task 已经 *完成* 或 *取消*,则返回 ``False``,否则,将返回 ``True``。"
21992199

22002200
#: ../../library/asyncio-task.rst:1342
22012201
msgid ""
22022202
"The method arranges for a :exc:`CancelledError` exception to be thrown into "
22032203
"the wrapped coroutine on the next cycle of the event loop."
2204-
msgstr ""
2204+
msgstr "该方法将安排在下一轮事件循环中将 :exc:`CancelledError` 异常抛出给被封包的协程。"
22052205

22062206
#: ../../library/asyncio-task.rst:1345
22072207
msgid ""

library/dataclasses.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,11 @@ msgid ""
11201120
"to the optional :meth:`__post_init__` method. They are not otherwise used "
11211121
"by dataclasses."
11221122
msgstr ""
1123+
"另一个 :func:`@dataclass <dataclass>` 会检查类型标注的地方是为了确定一个字段是否为仅限初始化的变量。 "
1124+
"它通过检查字段的类型是否为 :class:`InitVar` 类型来做到这一点。 如果一个字段是 "
1125+
":class:`InitVar`,它会被当作是一个名为仅限初始化字段的伪字段。 因为它不是一个真正的字段,所以它不会被模块层级的 "
1126+
":func:`fields` 函数返回。 仅限初始化字段会作为形参被添加到所生成的 :meth:`~object.__init__` "
1127+
"方法中,并会被传递给可选的 :meth:`__post_init__` 方法。 在其他情况下它们将不会被类所使用。"
11231128

11241129
#: ../../library/dataclasses.rst:615
11251130
msgid ""

library/socket.po

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,34 +336,39 @@ msgstr ""
336336

337337
#: ../../library/socket.rst:146
338338
msgid ":const:`BTPROTO_HCI` accepts a format that depends on your OS."
339-
msgstr ""
339+
msgstr ":const:`BTPROTO_HCI` 将接受依赖于具体操作系统的格式。"
340340

341341
#: ../../library/socket.rst:148
342342
msgid ""
343343
"On Linux it accepts a tuple ``(device_id,)`` where ``device_id`` is an "
344344
"integer specifying the number of the Bluetooth device."
345345
msgstr ""
346+
"在 Linux 上它接受一个元组 ``(device_id,)`` 其中 ``device_id`` 是一个指明 Bluetooth 设备号的整数。"
346347

347348
#: ../../library/socket.rst:150
348349
msgid ""
349350
"On FreeBSD, NetBSD and DragonFly BSD it accepts ``bdaddr`` where ``bdaddr`` "
350351
"is the Bluetooth address as a string."
351352
msgstr ""
353+
"在 FreeBSD, NetBSD 和 DragonFly BSD 上它接受 ``bdaddr`` 其中 ``bdaddr`` 是字符串形式的蓝牙地址。"
352354

353355
#: ../../library/socket.rst:153
354356
msgid "NetBSD and DragonFlyBSD support added."
355357
msgstr "添加了对 NetBSD 和 DragonFlyBSD 的支持。"
356358

357359
#: ../../library/socket.rst:156
358360
msgid "FreeBSD support added."
359-
msgstr ""
361+
msgstr "添加了 FreeBSD 支持。"
360362

361363
#: ../../library/socket.rst:159
362364
msgid ""
363365
":const:`BTPROTO_SCO` accepts ``bdaddr`` where ``bdaddr`` is the Bluetooth "
364366
"address as a string or a :class:`bytes` object. (ex. ``'12:23:34:45:56:67'``"
365367
" or ``b'12:23:34:45:56:67'``) This protocol is not supported under FreeBSD."
366368
msgstr ""
369+
":const:`BTPROTO_SCO` 接受 ``bdaddr`` 其中 ``bdaddr`` 是字符串或 :class:`bytes` "
370+
"对象形式的蓝牙地址。 (例如 ``'12:23:34:45:56:67'`` 或 ``b'12:23:34:45:56:67'``) 此协议在 "
371+
"FreeBSD 下不受支持。"
367372

368373
#: ../../library/socket.rst:164
369374
msgid ""
@@ -932,6 +937,8 @@ msgid ""
932937
" Linux and FreeBSD. :const:`!HCI_TIME_STAMP` and :const:`!HCI_DATA_DIR` are "
933938
"only available on Linux."
934939
msgstr ""
940+
"配合 :const:`BTPROTO_HCI` 使用。 :const:`!HCI_FILTER` 仅在 Linux 和 FreeBSD 上可用。 "
941+
":const:`!HCI_TIME_STAMP` 和 :const:`!HCI_DATA_DIR` 仅在 Linux 上可用。"
935942

936943
#: ../../library/socket.rst:644
937944
msgid ""

library/typing.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4389,6 +4389,9 @@ msgid ""
43894389
"ponies\" in :mod:`collections.abc` such as "
43904390
":class:`~collections.abc.Iterable`. For example::"
43914391
msgstr ""
4392+
"这样的协议可以配合 :func:`isinstance` 和 :func:`issubclass` 使用。 这允许简单的结构化检查,非常类似于 "
4393+
":mod:`collections.abc` 中 :class:`~collections.abc.Iterable` 这样特别擅长做一件事的对象。 "
4394+
"例如::"
43924395

43934396
#: ../../library/typing.rst:2384
43944397
msgid ""
@@ -4421,7 +4424,7 @@ msgstr ""
44214424
#: ../../library/typing.rst:2397
44224425
msgid ""
44234426
"This decorator raises :exc:`TypeError` when applied to a non-protocol class."
4424-
msgstr ""
4427+
msgstr "当应用于非协议类时此装饰器将引发 :exc:`TypeError`。"
44254428

44264429
#: ../../library/typing.rst:2401
44274430
msgid ""

0 commit comments

Comments
 (0)