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

Skip to content

Commit d7b78d2

Browse files
[po] auto sync
1 parent 030e067 commit d7b78d2

12 files changed

Lines changed: 56 additions & 27 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.56%", "updated_at": "2023-10-14T01:19:25Z"}
1+
{"translation": "91.61%", "updated_at": "2023-10-14T06:56:50Z"}

c-api/structures.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,10 +485,12 @@ msgid ""
485485
"struct member. When defining a class, put a NULL-terminated array of these "
486486
"structures in the :c:member:`~PyTypeObject.tp_members` slot."
487487
msgstr ""
488+
"描述某个 C 结构成员对应类型的属性的结构体。 在定义类时,要把由这些结构组成的以 NULL 结尾的数组 放在 "
489+
":c:member:`~PyTypeObject.tp_members` 槽位中。"
488490

489491
#: ../../c-api/structures.rst:413
490492
msgid "Its fields are, in order:"
491-
msgstr ""
493+
msgstr "其中的字段及顺序如下:"
492494

493495
#: ../../c-api/structures.rst:417
494496
msgid ""

howto/clinic.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Dai Xu <[email protected]>, 2022
8+
# Freesand Leo <[email protected]>, 2023
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
1516
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
16-
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2022\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -30,3 +31,5 @@ msgid ""
3031
"The Argument Clinic How-TO has been moved to the `Python Developer's Guide "
3132
"<https://devguide.python.org/development-tools/clinic/>`__."
3233
msgstr ""
34+
"Argument Clinic 指南已被移至 `Python Developer's Guide "
35+
"<https://devguide.python.org/development-tools/clinic/>`__。"

library/asyncio-task.po

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.12\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
22+
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
2323
"PO-Revision-Date: 2021-06-28 00:55+0000\n"
2424
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2525
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -344,7 +344,7 @@ msgstr "在该任务组中创建一个任务。 其签名与 :func:`asyncio.crea
344344

345345
#: ../../library/asyncio-task.rst:338 ../../library/asyncio-task.rst:472
346346
#: ../../library/asyncio-task.rst:645 ../../library/asyncio-task.rst:703
347-
#: ../../library/asyncio-task.rst:729 ../../library/asyncio-task.rst:772
347+
#: ../../library/asyncio-task.rst:729 ../../library/asyncio-task.rst:769
348348
#: ../../library/asyncio-task.rst:869
349349
msgid "Example::"
350350
msgstr "示例::"
@@ -449,9 +449,8 @@ msgid ""
449449
msgstr "以下协程示例运行 5 秒,每秒显示一次当前日期::"
450450

451451
#: ../../library/asyncio-task.rst:426 ../../library/asyncio-task.rst:521
452-
#: ../../library/asyncio-task.rst:620 ../../library/asyncio-task.rst:767
453-
#: ../../library/asyncio-task.rst:797 ../../library/asyncio-task.rst:849
454-
#: ../../library/asyncio-task.rst:875
452+
#: ../../library/asyncio-task.rst:620 ../../library/asyncio-task.rst:794
453+
#: ../../library/asyncio-task.rst:849 ../../library/asyncio-task.rst:875
455454
msgid "Removed the *loop* parameter."
456455
msgstr "移除了 *loop* 形参。"
457456

@@ -812,14 +811,18 @@ msgstr "此函数将等待直到 Future 确实被取消,所以总等待时间
812811
msgid "If the wait is cancelled, the future *aw* is also cancelled."
813812
msgstr "如果等待被取消,则 *aw* 指定的对象也会被取消。"
814813

815-
#: ../../library/asyncio-task.rst:792
814+
#: ../../library/asyncio-task.rst:789
816815
msgid ""
817816
"When *aw* is cancelled due to a timeout, ``wait_for`` waits for *aw* to be "
818817
"cancelled. Previously, it raised :exc:`TimeoutError` immediately."
819818
msgstr ""
820819
"当 *aw* 由于超时被取消时,``wait_for`` 会等待 *aw* 被取消。 在之前版本中,它会立即引发 "
821820
":exc:`TimeoutError`。"
822821

822+
#: ../../library/asyncio-task.rst:797
823+
msgid "Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`."
824+
msgstr "引发 :exc:`TimeoutError` 而不是 :exc:`asyncio.TimeoutError`。"
825+
823826
#: ../../library/asyncio-task.rst:802
824827
msgid "Waiting Primitives"
825828
msgstr "简单等待"

library/ctypes.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,7 +1530,7 @@ msgstr ""
15301530
msgid ""
15311531
":exc:`WindowsError` used to be raised, which is now an alias of "
15321532
":exc:`OSError`."
1533-
msgstr ""
1533+
msgstr "过去会引发 :exc:`WindowsError`,现在它是 :exc:`OSError` 的别名。"
15341534

15351535
#: ../../library/ctypes.rst:1416
15361536
msgid ""
@@ -2108,6 +2108,8 @@ msgid ""
21082108
"function so that it supports default parameters and named arguments. The C "
21092109
"declaration from the windows header file is this::"
21102110
msgstr ""
2111+
"下面的例子演示了如何包装 Windows 的 ``MessageBoxW`` 函数以使其支持默认形参和命名参数。 相应的 Windows 头文件的 C "
2112+
"声明是这样的::"
21112113

21122114
#: ../../library/ctypes.rst:1815 ../../library/ctypes.rst:1838
21132115
msgid "Here is the wrapping with :mod:`ctypes`::"
@@ -2462,12 +2464,15 @@ msgid ""
24622464
"specified, :func:`FormatError` is called to get a textual description of the"
24632465
" error."
24642466
msgstr ""
2467+
"仅限 Windows:此函数可能是 ctypes 中命名得最糟糕的。 它会创建一个 :exc:`OSError` 的实例。 如果未指定 "
2468+
"*code*,则会调用 ``GetLastError`` 来确定错误码。 如果未指定 *descr*,则会调用 :func:`FormatError` "
2469+
"来获取错误的文本描述。"
24652470

24662471
#: ../../library/ctypes.rst:2097
24672472
msgid ""
24682473
"An instance of :exc:`WindowsError` used to be created, which is now an alias"
24692474
" of :exc:`OSError`."
2470-
msgstr ""
2475+
msgstr "过去会创建 :exc:`WindowsError` 的实例,现在它是 :exc:`OSError` 的别名。"
24712476

24722477
#: ../../library/ctypes.rst:2104
24732478
msgid ""

library/dis.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# SKY H. <[email protected]>, 2021
88
# ppcfish <[email protected]>, 2022
99
# 云line ., 2023
10-
# Freesand Leo <[email protected]>, 2023
1110
# Alpha Du <[email protected]>, 2023
1211
# Dai Xu <[email protected]>, 2023
12+
# Freesand Leo <[email protected]>, 2023
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
2020
"PO-Revision-Date: 2021-06-28 01:04+0000\n"
21-
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2023\n"
21+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -100,7 +100,7 @@ msgstr "命令行接口"
100100
#: ../../library/dis.rst:71
101101
msgid ""
102102
"The :mod:`dis` module can be invoked as a script from the command line:"
103-
msgstr ""
103+
msgstr ":mod:`dis` 模块可以在命令行下作为一个脚本来发起调用:"
104104

105105
#: ../../library/dis.rst:77
106106
msgid "The following options are accepted:"
@@ -115,7 +115,7 @@ msgid ""
115115
"If :file:`infile` is specified, its disassembled code will be written to "
116116
"stdout. Otherwise, disassembly is performed on compiled source code recieved"
117117
" from stdin."
118-
msgstr ""
118+
msgstr "如果指定了 :file:`infile`,其反汇编代码将被写入到标准输出。 否则,反汇编将在从标准输入接收的已编译源代码上进行。"
119119

120120
#: ../../library/dis.rst:89
121121
msgid "Bytecode analysis"

library/http.cookiejar.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# nick <[email protected]>, 2021
1111
# ppcfish <[email protected]>, 2021
1212
# Alpha Du <[email protected]>, 2021
13-
# Freesand Leo <[email protected]>, 2022
1413
# Bryan不可思议, 2023
14+
# Freesand Leo <[email protected]>, 2023
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2023-10-13 14:14+0000\n"
2222
"PO-Revision-Date: 2021-06-28 01:07+0000\n"
23-
"Last-Translator: Bryan不可思议, 2023\n"
23+
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -93,7 +93,7 @@ msgstr ""
9393
msgid ""
9494
":exc:`LoadError` used to be a subtype of :exc:`IOError`, which is now an "
9595
"alias of :exc:`OSError`."
96-
msgstr ""
96+
msgstr ":exc:`LoadError` 曾经是 :exc:`IOError` 的子类型,现在它是 :exc:`OSError` 的一个别名。"
9797

9898
#: ../../library/http.cookiejar.rst:51
9999
msgid "The following classes are provided:"

library/socketserver.po

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ msgid ""
213213
":attr:`ForkingMixIn.block_on_close <block_on_close>` class attribute to opt-"
214214
"in for the pre-3.7 behaviour."
215215
msgstr ""
216+
":meth:`ForkingMixIn.server_close <BaseServer.server_close>` 和 "
217+
":meth:`ThreadingMixIn.server_close <BaseServer.server_close>` "
218+
"现在会等待直到所有子进程和非守护类线程完成。 新增了一个 :attr:`ForkingMixIn.block_on_close "
219+
"<block_on_close>` 类属性用来选择 3.7 版之前的行为。"
216220

217221
#: ../../library/socketserver.rst:153
218222
msgid "These classes are pre-defined using the mix-in classes."
@@ -554,13 +558,18 @@ msgid ""
554558
"address as :attr:`client_address`; and the server instance as "
555559
":attr:`server`, in case it needs access to per-server information."
556560
msgstr ""
561+
"此函数必须执行为请求提供服务所需的全部操作。 默认实现不执行任何操作。 它有几个可用的实例属性;请求为 :attr:`request`;客户端地址为 "
562+
":attr:`client_address`;服务器实例为 :attr:`server`,如果它需要访问特定服务器信息的话。, in case it "
563+
"needs access to per-server information."
557564

558565
#: ../../library/socketserver.rst:424
559566
msgid ""
560567
"The type of :attr:`request` is different for datagram or stream services. "
561568
"For stream services, :attr:`request` is a socket object; for datagram "
562569
"services, :attr:`request` is a pair of string and socket."
563570
msgstr ""
571+
"针对数据报或流服务的 :attr:`request` 类型是不同的。 对于流服务,:attr:`request` "
572+
"是一个套接字对象;对于数据报服务,:attr:`request` 是一对字符串于套接字。"
564573

565574
#: ../../library/socketserver.rst:431
566575
msgid ""
@@ -575,40 +584,42 @@ msgstr ""
575584
msgid ""
576585
"The *new* :class:`socket.socket` object to be used to communicate with the "
577586
"client."
578-
msgstr ""
587+
msgstr "将被用于同客户端通信的 *新* :class:`socket.socket` 对象。"
579588

580589
#: ../../library/socketserver.rst:444
581590
msgid "Client address returned by :meth:`BaseServer.get_request`."
582-
msgstr ""
591+
msgstr ":meth:`BaseServer.get_request` 所返回的客户端地址。"
583592

584593
#: ../../library/socketserver.rst:449
585594
msgid ":class:`BaseServer` object used for handling the request."
586-
msgstr ""
595+
msgstr "用于处理请求的 :class:`BaseServer` 对象。"
587596

588597
#: ../../library/socketserver.rst:455
589598
msgid ""
590599
"These :class:`BaseRequestHandler` subclasses override the "
591600
":meth:`~BaseRequestHandler.setup` and :meth:`~BaseRequestHandler.finish` "
592601
"methods, and provide :attr:`rfile` and :attr:`wfile` attributes."
593602
msgstr ""
603+
"这些 :class:`BaseRequestHandler` 子类重载了 :meth:`~BaseRequestHandler.setup` 和 "
604+
":meth:`~BaseRequestHandler.finish` 方法,并提供了 :attr:`rfile` 和 :attr:`wfile` 属性。"
594605

595606
#: ../../library/socketserver.rst:461
596607
msgid ""
597608
"A file object from which receives the request is read. Support the "
598609
":class:`io.BufferedIOBase` readable interface."
599-
msgstr ""
610+
msgstr "用于读取所接受请求的文件对象。 支持 :class:`io.BufferedIOBase` 可读接口。"
600611

601612
#: ../../library/socketserver.rst:466
602613
msgid ""
603614
"A file object to which the reply is written. Support the "
604615
":class:`io.BufferedIOBase` writable interface"
605-
msgstr ""
616+
msgstr "用于写入所回复内容的文件对象。 支持 :class:`io.BufferedIOBase` 可写接口。"
606617

607618
#: ../../library/socketserver.rst:470
608619
msgid ""
609620
":attr:`wfile` also supports the :class:`io.BufferedIOBase` writable "
610621
"interface."
611-
msgstr ""
622+
msgstr ":attr:`wfile` 也支持 :class:`io.BufferedIOBase` 可写接口。"
612623

613624
#: ../../library/socketserver.rst:476
614625
msgid "Examples"

tutorial/floatingpoint.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ msgstr "虽然这些数字无法精确表示其所要代表的实际值,但是
185185
msgid ""
186186
"Alternatively, the :func:`round` function can be used to compare rough "
187187
"approximations:"
188-
msgstr ""
188+
msgstr "或者,也可以使用 :func:`round` 函数来大致地比较近似程度:"
189189

190190
#: ../../tutorial/floatingpoint.rst:147
191191
msgid ""

tutorial/introduction.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ msgid ""
456456
"`Fibonacci series <https://en.wikipedia.org/wiki/Fibonacci_sequence>`_ as "
457457
"follows::"
458458
msgstr ""
459+
"当然,我们还能用 Python 完成比二加二更复杂的任务。 例如,我们可以像下面这样写出 `斐波那契数列 "
460+
"<https://en.wikipedia.org/wiki/Fibonacci_sequence>`_ 初始部分的子序列::"
459461

460462
#: ../../tutorial/introduction.rst:501
461463
msgid "This example introduces several new features."

0 commit comments

Comments
 (0)