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

Skip to content

Commit 7135c7a

Browse files
[po] auto sync
1 parent 007e935 commit 7135c7a

17 files changed

Lines changed: 358 additions & 298 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.17%", "updated_at": "2024-07-19T15:46:54Z"}
1+
{"translation": "95.22%", "updated_at": "2024-07-19T18:46:57Z"}

c-api/cell.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-07-12 14:46+0000\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+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"
@@ -67,6 +67,8 @@ msgid ""
6767
"Return the contents of the cell *cell*, which can be ``NULL``. If *cell* is "
6868
"not a cell object, returns ``NULL`` with an exception set."
6969
msgstr ""
70+
"返回 cell 对象 *cell* 的内容,可以为 ``NULL``。 如果 *cell* 不是一个 cell 对象,则返回 ``NULL`` "
71+
"并设置一个异常。"
7072

7173
#: ../../c-api/cell.rst:48
7274
msgid ""
@@ -80,12 +82,14 @@ msgid ""
8082
"reference to any current content of the cell. *value* may be ``NULL``. "
8183
"*cell* must be non-``NULL``."
8284
msgstr ""
85+
"将 cell 对象 *cell* 的内容设为 *value*。 这将释放任何对该 cell 对象当前内容的引用。 *value* 可以为 "
86+
"``NULL``。 *cell* 必须不为 ``NULL``。"
8387

8488
#: ../../c-api/cell.rst:58
8589
msgid ""
8690
"On success, return ``0``. If *cell* is not a cell object, set an exception "
8791
"and return ``-1``."
88-
msgstr ""
92+
msgstr "当成功时,返回 ``0``。 如果 *cell* 不是一个 cell 对象,则设置一个异常并返回 ``-1``。"
8993

9094
#: ../../c-api/cell.rst:64
9195
msgid ""

c-api/module.po

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ msgstr ""
6060
#: ../../c-api/module.rst:46 ../../c-api/module.rst:270
6161
#: ../../c-api/module.rst:445
6262
msgid "Return ``NULL`` with an exception set on error."
63-
msgstr ""
63+
msgstr "当发生错误时将返回 ``NULL`` 并设置一个异常。"
6464

6565
#: ../../c-api/module.rst:50
6666
msgid ":attr:`__package__` and :attr:`__loader__` are set to ``None``."
@@ -687,6 +687,8 @@ msgid ""
687687
"can be used from the module's initialization function. Return ``-1`` with an"
688688
" exception set on error, ``0`` on success."
689689
msgstr ""
690+
"将一个整数常量作为 *name* 添加到 *module* 中。 这个便捷函数可在模块的初始化函数中使用。 当发生错误时将返回 ``-1`` "
691+
"并设置一个异常,成功时则返回 ``0``。"
690692

691693
#: ../../c-api/module.rst:596
692694
msgid ""
@@ -695,6 +697,8 @@ msgid ""
695697
"be ``NULL``-terminated. Return ``-1`` with an exception set on error, ``0`` "
696698
"on success."
697699
msgstr ""
700+
"将一个字符串常量作为 *name* 添加到 *module* 中。 这个便捷函数可在模块初始化函数中使用。 字符串 *value* 必须以 "
701+
"``NULL`` 结尾。 当发生错误时将返回 ``-1``,成功时则返回 ``0``。"
698702

699703
#: ../../c-api/module.rst:604
700704
msgid ""
@@ -703,6 +707,9 @@ msgid ""
703707
"constant *AF_INET* with the value of *AF_INET* to *module*. Return ``-1`` "
704708
"with an exception set on error, ``0`` on success."
705709
msgstr ""
710+
"将一个整数常量添加到 *module* 中。 名称和值取自 *macro*。 例如 ``PyModule_AddIntMacro(module, "
711+
"AF_INET)`` 将值为 *AF_INET* 的整数常量 *AF_INET* 添加到 *module* 中。 当发生错误时将抬 ``-1`` "
712+
"并设置一个异常,成功时将返回 ``0``。"
706713

707714
#: ../../c-api/module.rst:612
708715
msgid "Add a string constant to *module*."
@@ -715,6 +722,9 @@ msgid ""
715722
" the last component of :c:member:`~PyTypeObject.tp_name` after dot. Return "
716723
"``-1`` with an exception set on error, ``0`` on success."
717724
msgstr ""
725+
"将一个类型对象添加到 *module* 中。 类型对象是通过在内部调用 :c:func:`PyType_Ready` 来最终化的。 类型对象的名称取自 "
726+
":c:member:`~PyTypeObject.tp_name` 在点号之后的部分。 当发生错误时将返回 ``-1`` 并设置一个异常,成功时将返回 "
727+
"``0``。"
718728

719729
#: ../../c-api/module.rst:626
720730
msgid "Module lookup"
@@ -776,13 +786,13 @@ msgstr "调用时必须携带GIL。"
776786

777787
#: ../../c-api/module.rst:659
778788
msgid "Return ``-1`` with an exception set on error, ``0`` on success."
779-
msgstr ""
789+
msgstr "出错时返回 ``-1`` 并设置一个异常,成功时返回 ``0``。"
780790

781791
#: ../../c-api/module.rst:665
782792
msgid ""
783793
"Removes the module object created from *def* from the interpreter state. "
784794
"Return ``-1`` with an exception set on error, ``0`` on success."
785-
msgstr ""
795+
msgstr "从解释器状态中移除由 *def* 创建的模块对象。 当发生错误时将返回 ``-1`` 并设置一个异常,成功时将返回 ``0``。"
786796

787797
#: ../../c-api/module.rst:8
788798
msgid "object"

c-api/object.po

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2024
8-
# Freesand Leo <[email protected]>, 2024
98
#
109
#, fuzzy
1110
msgid ""
1211
msgstr ""
1312
"Project-Id-Version: Python 3.12\n"
1413
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-06-28 14:50+0000\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
1615
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1817
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=UTF-8\n"
@@ -38,8 +37,8 @@ msgid ""
3837
"function (that is, create a new :term:`strong reference` to "
3938
":const:`NotImplemented` and return it)."
4039
msgstr ""
41-
"正确处理从 C 的函数中返回 :c:data:`Py_NotImplemented` 的问题(即创建一个对 "
42-
":const:`NotImplemented` 的新的 :term:`strong reference` 并返回)。"
40+
"正确处理从 C 函数内部返回 :c:data:`Py_NotImplemented` 的问题(即新建一个指向 "
41+
":const:`NotImplemented` :term:`strong reference` 并返回它)。"
4342

4443
#: ../../c-api/object.rst:24
4544
msgid ""

c-api/slice.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-07-12 14:46+0000\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+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"
@@ -44,12 +44,14 @@ msgid ""
4444
"the same names. Any of the values may be ``NULL``, in which case the "
4545
"``None`` will be used for the corresponding attribute."
4646
msgstr ""
47+
"返回一个具有给定值的新切片对象。 *start*, *stop* 和 *step* 形参会被用作该切片对象相同名称的属性值。 这些值中的任何一个都可以为"
48+
" ``NULL``,在此情况下将使用 ``None`` 作为相应的属性值。"
4749

4850
#: ../../c-api/slice.rst:28
4951
msgid ""
5052
"Return ``NULL`` with an exception set if the new object could not be "
5153
"allocated."
52-
msgstr ""
54+
msgstr "当无法分配新对象时将返回 ``NULL`` 并设置一个异常。"
5355

5456
#: ../../c-api/slice.rst:34
5557
msgid ""
@@ -91,7 +93,7 @@ msgstr ""
9193

9294
#: ../../c-api/slice.rst:57
9395
msgid "Return ``0`` on success and ``-1`` on error with an exception set."
94-
msgstr ""
96+
msgstr "成功时返回 ``0`` 而在出错时返回 ``-1`` 并设置一个异常。"
9597

9698
#: ../../c-api/slice.rst:60
9799
msgid ""
@@ -143,7 +145,7 @@ msgstr ""
143145

144146
#: ../../c-api/slice.rst:100
145147
msgid "Return ``-1`` with an exception set on error, ``0`` on success."
146-
msgstr ""
148+
msgstr "出错时返回 ``-1`` 并设置一个异常,成功时返回 ``0``。"
147149

148150
#: ../../c-api/slice.rst:107
149151
msgid ""

library/ast.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-06-20 07:11+0000\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+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"
@@ -622,6 +622,9 @@ msgid ""
622622
"``annotation`` is the annotation, such as a :class:`Constant` or "
623623
":class:`Name` node. ``value`` is a single optional node."
624624
msgstr ""
625+
"一次带有类型标注的赋值。 ``target`` 为单独的节点并可以是 :class:`Name`, :class:`Attribute` 或 "
626+
":class:`Subscript` 之一。 ``annotation`` 为标注,例如一个 :class:`Constant` 或 "
627+
":class:`Name` 节点。 ``value`` 为单独的可选节点。"
625628

626629
#: ../../library/ast.rst:888
627630
msgid ""
@@ -631,6 +634,9 @@ msgid ""
631634
"targets are considered complex. Only simple targets appear in the "
632635
":attr:`__annotations__` dictionary of modules and classes."
633636
msgstr ""
637+
"``simple`` 将始终为 0 (表示一个“复杂”目标) 或 1 (表示一个“简单”目标)。 “简单”目标仅由一个两边不带圆括号的 "
638+
":class:`Name` 节点组成;所有其他目标均被视为复杂目标。 只有简单目标会出现在模块和类的 :attr:`__annotations__` "
639+
"字典中。"
634640

635641
#: ../../library/ast.rst:942
636642
msgid ""

library/asyncio-eventloop.po

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
87
# Freesand Leo <[email protected]>, 2024
8+
# Rafael Fontenelle <[email protected]>, 2024
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-07-12 14:46+0000\n"
15+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
1616
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 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"
@@ -1622,6 +1622,9 @@ msgid ""
16221622
"consider using a custom executor for other user tasks, or setting a default "
16231623
"executor with a larger number of workers."
16241624
msgstr ""
1625+
"*getaddrinfo* 和 *getnameinfo* 均在内部通过循环的默认线程池执行器使用其同步版本。 "
1626+
"当执行器饱和时,这些方法可能会遭遇延迟,对此高层级网络库可能报告为更多的超时。 "
1627+
"为缓解此问题,可以考虑使用针对其他用户任务的自定义执行器,或者设置具有更多工作线程的默认执行器。"
16251628

16261629
#: ../../library/asyncio-eventloop.rst:1150
16271630
msgid ""
@@ -1753,6 +1756,10 @@ msgid ""
17531756
" a :class:`concurrent.futures.ThreadPoolExecutor` will be lazy-initialized "
17541757
"and used by :func:`run_in_executor` if needed."
17551758
msgstr ""
1759+
"*executor* 参数应当是一个 :class:`concurrent.futures.Executor` 实例。 如果 *executor* 为 "
1760+
"``None`` 则为使用默认执行器。 默认执行器可通过 :meth:`loop.set_default_executor` "
1761+
"来设置,在其他情况下,将在有需要时惰性初始化 :class:`concurrent.futures.ThreadPoolExecutor` 并由 "
1762+
":func:`run_in_executor` 来使用。"
17561763

17571764
#: ../../library/asyncio-eventloop.rst:1295
17581765
msgid ""

library/asyncio-task.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-11 19:07+0000\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+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"
@@ -523,6 +523,9 @@ msgid ""
523523
"calling ``gather.cancel()`` after catching an exception (raised by one of "
524524
"the awaitables) from gather won't cancel any other awaitables."
525525
msgstr ""
526+
"如果 *return_exceptions* 为假值,则在 gather() 被标记为完成后取消它将不会取消任何已提交的可等待对象。 "
527+
"例如,在将一个异常传播给调用者之后,gather 可被标记为已完成,因此,在从 gather 捕获一个(由可等待对象所引发的)异常之后调用 "
528+
"``gather.cancel()`` 将不会取消任何其他可等待对象。"
526529

527530
#: ../../library/asyncio-task.rst:517
528531
msgid ""
@@ -1404,7 +1407,7 @@ msgid ""
14041407
"If end-user code is, for some reason, suppressing cancellation by catching "
14051408
":exc:`CancelledError`, it needs to call this method to remove the "
14061409
"cancellation state."
1407-
msgstr ""
1410+
msgstr "如果最终用户代码出于某种原因通过捕获 :exc:`CancelledError` 抑制撤销操作,那么它需要调用此方法来移除撤销状态。"
14081411

14091412
#: ../../library/asyncio-task.rst:1329
14101413
msgid ""

library/datetime.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,8 +1111,8 @@ msgid ""
11111111
":func:`time.ctime` invokes, but which :meth:`date.ctime` does not invoke) "
11121112
"conforms to the C standard."
11131113
msgstr ""
1114-
"在原生 C :c:func:`ctime` 函数 (:func:`time.ctime` 会发起调用该函数,但 :meth:`date.ctime` "
1115-
"则不会) 遵循 C 标准的平台上。"
1114+
"在原生 C :c:func:`ctime` 函数遵循 C 标准的平台上 (:func:`time.ctime` 会发起对该函数的调用,但 "
1115+
":meth:`date.ctime` 并不会) 。"
11161116

11171117
#: ../../library/datetime.rst:735
11181118
msgid ""
@@ -2104,8 +2104,8 @@ msgid ""
21042104
":func:`time.ctime` invokes, but which :meth:`datetime.ctime` does not "
21052105
"invoke) conforms to the C standard."
21062106
msgstr ""
2107-
"在原生 C :c:func:`ctime` 函数 (:func:`time.ctime` 会发起调用该函数,但 "
2108-
":meth:`datetime.ctime` 则不会) 遵循 C 标准的平台上。"
2107+
"在原生 C :c:func:`ctime` 函数遵循 C 标准的平台上 (:func:`time.ctime` 会发起对该函数的调用,但 "
2108+
":meth:`datetime.ctime` 并不会) 。"
21092109

21102110
#: ../../library/datetime.rst:1534
21112111
msgid ""

library/dis.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ msgstr ":mod:`!dis` --- Python 字节码反汇编器"
2727

2828
#: ../../library/dis.rst:7
2929
msgid "**Source code:** :source:`Lib/dis.py`"
30-
msgstr "**Source code:** :source:`Lib/dis.py`"
30+
msgstr "**源代码:** :source:`Lib/dis.py`"
3131

3232
#: ../../library/dis.rst:17
3333
msgid ""

0 commit comments

Comments
 (0)