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

Skip to content

Commit 26cc555

Browse files
[po] auto sync
1 parent 558c7df commit 26cc555

15 files changed

Lines changed: 667 additions & 532 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.62%", "updated_at": "2023-09-29T15:42:48Z"}
1+
{"translation": "89.79%", "updated_at": "2023-09-30T06:42:07Z"}

c-api/exceptions.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ msgstr ""
10211021
msgid ""
10221022
"This function is now also available in the :ref:`limited API <limited-c-"
10231023
"api>`."
1024-
msgstr ""
1024+
msgstr "此函数现在也在 :ref:`受限 API <limited-c-api>` 中可用。"
10251025

10261026
#: ../../c-api/exceptions.rst:813
10271027
msgid ""

c-api/stable.po

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ msgid ""
6363
"and Stable ABI work the same way for all uses of the API – for example, "
6464
"embedding Python."
6565
msgstr ""
66+
"简单起见,本文档只讨论了 *扩展*,但受限 API 和稳定 ABI 对于 API 的所有用法都能发挥相同的作用 – 例如嵌入版的 Python 等。"
6667

6768
#: ../../c-api/stable.rst:35
6869
msgid "Limited C API"
69-
msgstr ""
70+
msgstr "受限 C API"
7071

7172
#: ../../c-api/stable.rst:37
7273
msgid ""
@@ -75,6 +76,8 @@ msgid ""
7576
"multiple versions of Python. Contents of the Limited API are :ref:`listed "
7677
"below <limited-api-list>`."
7778
msgstr ""
79+
"Python 3.2 引入了 *受限 API*,它是 Python 的 C API 的一个子集。 只使用受限 API 扩展可以一次编译即适用于多个 "
80+
"Python 版本。 受限 API 的内容 :ref:`如下所示 <limited-api-list>`。"
7881

7982
#: ../../c-api/stable.rst:44
8083
msgid ""
@@ -112,20 +115,22 @@ msgstr ""
112115

113116
#: ../../c-api/stable.rst:64
114117
msgid "Stable ABI"
115-
msgstr ""
118+
msgstr "稳定 ABI"
116119

117120
#: ../../c-api/stable.rst:66
118121
msgid ""
119122
"To enable this, Python provides a *Stable ABI*: a set of symbols that will "
120123
"remain compatible across Python 3.x versions."
121-
msgstr ""
124+
msgstr "为启用此特性,Python 提供了一个 *稳定 ABI*: 将能跨 Python 3.x 版本保持兼容的一组符号。"
122125

123126
#: ../../c-api/stable.rst:69
124127
msgid ""
125128
"The Stable ABI contains symbols exposed in the :ref:`Limited API <limited-c-"
126129
"api>`, but also other ones – for example, functions necessary to support "
127130
"older versions of the Limited API."
128131
msgstr ""
132+
"稳定 ABI 包含在 :ref:`受限 API <limited-c-api>` 中对外公开的符号,但还包含其他符号 – 例如,为支持旧版本受限 API"
133+
" 所需的函数。"
129134

130135
#: ../../c-api/stable.rst:73
131136
msgid ""
@@ -208,6 +213,9 @@ msgid ""
208213
":ref:`Stable ABI <stable-abi>`. ``Py_LIMITED_API`` only covers definitions, "
209214
"but an API also includes other issues, such as expected semantics."
210215
msgstr ""
216+
"请注意使用 ``Py_LIMITED_API`` 进行编译 *无法* 完全保证代码能够兼容 :ref:`受限 API <limited-c-api>` "
217+
"或 :ref:`稳定 ABI <stable-abi>`。 ``Py_LIMITED_API`` 仅仅涵盖定义部分,但一个 API "
218+
"还包括其他因素,如预期的语义等。"
211219

212220
#: ../../c-api/stable.rst:121
213221
msgid ""
@@ -268,6 +276,8 @@ msgid ""
268276
":ref:`Stable ABI <stable-abi>`, these details define a “platform”. They "
269277
"usually depend on the OS type and processor architecture"
270278
msgstr ""
279+
"ABI 的稳定性不仅取决于 Python,取决于所使用的编译器、低层级库和编译器选项等。 对于 :ref:`稳定 ABI <stable-abi>` "
280+
"的目标来说,这些细节定义了一个 “平台”。 它们通常会依赖于 OS 类型和处理器架构等。"
271281

272282
#: ../../c-api/stable.rst:156
273283
msgid ""
@@ -287,4 +297,4 @@ msgstr "受限 API 的内容"
287297
msgid ""
288298
"Currently, the :ref:`Limited API <limited-c-api>` includes the following "
289299
"items:"
290-
msgstr ""
300+
msgstr "目前 :ref:`受限 API <limited-c-api>` 包括下面这些项:"

c-api/structures.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ msgstr ""
357357

358358
#: ../../c-api/structures.rst:321
359359
msgid "``METH_FASTCALL`` is now part of the :ref:`stable ABI <stable-abi>`."
360-
msgstr ""
360+
msgstr "``METH_FASTCALL`` 现在是 :ref:`稳定 ABI <stable-abi>` 的一部分。"
361361

362362
#: ../../c-api/structures.rst:338
363363
msgid ":c:expr:`METH_FASTCALL | METH_KEYWORDS`"

c-api/sys.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2023
8-
# Freesand Leo <yuqinju@163.com>, 2023
8+
# Jiuh-star <jiuh.star@gmail.com>, 2023
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: 2023-09-22 14:44+0000\n"
15+
"POT-Creation-Date: 2023-09-29 14:44+0000\n"
1616
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
17+
"Last-Translator: Jiuh-star <jiuh.star@gmail.com>, 2023\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"

c-api/type.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ msgid ""
6161
":c:member:`~PyTypeObject.tp_flags` itself is not part of the :ref:`limited "
6262
"API <limited-c-api>`."
6363
msgstr ""
64+
"返回 *type* 的 :c:member:`~PyTypeObject.tp_flags` 成员。 此函数主要是配合 "
65+
"``Py_LIMITED_API`` 使用;单独的旗标位会确保在各个 Python 发布版之间保持稳定,但对 "
66+
":c:member:`~PyTypeObject.tp_flags` 本身的访问并不是 :ref:`受限 API <limited-c-api>` "
67+
"的一部分。"
6468

6569
#: ../../c-api/type.rst:49
6670
msgid "The return type is now ``unsigned long`` rather than ``long``."
@@ -439,6 +443,9 @@ msgid ""
439443
":c:member:`~PyBufferProcs.bf_releasebuffer` are now available under the "
440444
":ref:`limited API <limited-c-api>`."
441445
msgstr ""
446+
"现在 :c:member:`~PyBufferProcs.bf_getbuffer` 和 "
447+
":c:member:`~PyBufferProcs.bf_releasebuffer` 将在 :ref:`受限 API <limited-c-api>`"
448+
" 中可用。"
442449

443450
#: ../../c-api/type.rst:308
444451
msgid ""

c-api/typeobj.po

Lines changed: 8 additions & 8 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: 2023-09-22 14:44+0000\n"
14+
"POT-Creation-Date: 2023-09-29 14:44+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1798,30 +1798,30 @@ msgid ""
17981798
"Pointer to an additional structure that contains fields relevant only to "
17991799
"objects which implement the mapping protocol. These fields are documented "
18001800
"in :ref:`mapping-structs`."
1801-
msgstr ""
1801+
msgstr "指向一个附加结构体的指针,其中包含只与执行映射协议的对象相关的字段。 这些字段的文档见 :ref:`mapping-structs`。"
18021802

18031803
#: ../../c-api/typeobj.rst:866
18041804
msgid ""
18051805
"The :c:member:`~PyTypeObject.tp_as_mapping` field is not inherited, but the "
18061806
"contained fields are inherited individually."
1807-
msgstr ""
1807+
msgstr ":c:member:`~PyTypeObject.tp_as_mapping` 字段不会继承,但所包含的字段会被单独继承。"
18081808

18091809
#: ../../c-api/typeobj.rst:874
18101810
msgid ""
18111811
"An optional pointer to a function that implements the built-in function "
18121812
":func:`hash`."
1813-
msgstr ""
1813+
msgstr "一个指向实现了内置函数 :func:`hash` 的函数的可选指针。"
18141814

18151815
#: ../../c-api/typeobj.rst:877
18161816
msgid "The signature is the same as for :c:func:`PyObject_Hash`::"
1817-
msgstr ""
1817+
msgstr "其签名与 :c:func:`PyObject_Hash` 的相同::"
18181818

18191819
#: ../../c-api/typeobj.rst:881
18201820
msgid ""
18211821
"The value ``-1`` should not be returned as a normal return value; when an "
18221822
"error occurs during the computation of the hash value, the function should "
18231823
"set an exception and return ``-1``."
1824-
msgstr ""
1824+
msgstr "``-1`` 不应作为正常返回值被返回;当计算哈希值过程中发生错误时,函数应设置一个异常并返回 ``-1``。"
18251825

18261826
#: ../../c-api/typeobj.rst:885
18271827
msgid ""
@@ -3167,8 +3167,8 @@ msgstr ""
31673167
#: ../../c-api/typeobj.rst:2084
31683168
msgid ""
31693169
"Also, since :c:type:`PyTypeObject` is only part of the :ref:`Limited API "
3170-
"<stable>` as an opaque struct, any extension modules using static types must"
3171-
" be compiled for a specific Python minor version."
3170+
"<limited-c-api>` as an opaque struct, any extension modules using static "
3171+
"types must be compiled for a specific Python minor version."
31723172
msgstr ""
31733173

31743174
#: ../../c-api/typeobj.rst:2092

library/logging.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: 2023-09-22 14:44+0000\n"
14+
"POT-Creation-Date: 2023-09-29 14:44+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:17+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1278,6 +1278,8 @@ msgid ""
12781278
" as ``004``. Refer to the :meth:`str.format` documentation for full details "
12791279
"on the options available to you."
12801280
msgstr ""
1281+
"在 {}-格式化的情况下,你可以在属性名称之后放置指定的格式化旗标,并用冒号来分隔。 例如:占位符 ``{msecs:03.0f}`` 会将毫秒值 "
1282+
"``4`` 格式化为 ``004``。 有参看 :meth:`str.format` 文档了解你可以使用的选项的详情。"
12811283

12821284
#: ../../library/logging.rst:898
12831285
msgid "Attribute name"

0 commit comments

Comments
 (0)