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

Skip to content

Commit 59253bc

Browse files
[po] auto sync
1 parent f8e1889 commit 59253bc

32 files changed

+452
-282
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.93%", "updated_at": "2024-04-13T03:31:23Z"}
1+
{"translation": "93.26%", "updated_at": "2024-04-15T15:31:32Z"}

c-api/bool.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2022
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-14 15:16+0000\n"
14+
"POT-Creation-Date: 2024-04-15 10:22+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:21+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2022\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"
@@ -45,13 +45,13 @@ msgstr "如果 *o* 的类型为 :c:data:`PyBool_Type` 则返回真值。 此函
4545
msgid ""
4646
"The Python ``False`` object. This object has no methods. It needs to be "
4747
"treated just like any other object with respect to reference counts."
48-
msgstr "Python的``False``对象。该对象没有任何方法。它应该象其它使用引用计数管理的对象一样使用。"
48+
msgstr "Python的 ``False`` 对象。该对象没有任何方法。它应该象其它使用引用计数管理的对象一样使用。"
4949

5050
#: ../../c-api/bool.rst:28
5151
msgid ""
5252
"The Python ``True`` object. This object has no methods. It needs to be "
5353
"treated just like any other object with respect to reference counts."
54-
msgstr "Python的``True``对象。该对象没有任何方法。它应该象其它使用引用计数管理的对象一样使用。"
54+
msgstr "Python的 ``True`` 对象。该对象没有任何方法。它应该象其它使用引用计数管理的对象一样使用。"
5555

5656
#: ../../c-api/bool.rst:34
5757
msgid ""

c-api/init_config.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
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.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-09-01 15:12+0000\n"
14+
"POT-Creation-Date: 2024-04-15 10:22+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:21+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"
@@ -1138,7 +1138,7 @@ msgstr ""
11381138

11391139
#: ../../c-api/init_config.rst:799
11401140
msgid "See also :c:member:`PyPreConfig.isolated`."
1141-
msgstr ""
1141+
msgstr "另请参见 :c:member:`PyPreConfig.isolated` 。"
11421142

11431143
#: ../../c-api/init_config.rst:803
11441144
msgid ""
@@ -1408,7 +1408,7 @@ msgstr ":option:`-m` 命令行选项的值。"
14081408

14091409
#: ../../c-api/init_config.rst:1021
14101410
msgid "Show total reference count at exit?"
1411-
msgstr ""
1411+
msgstr "在退出时显示引用总数?"
14121412

14131413
#: ../../c-api/init_config.rst:1023
14141414
msgid "Set to 1 by :option:`-X showrefcount <-X>` command line option."

c-api/structures.po

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
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.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-29 03:05+0000\n"
14+
"POT-Creation-Date: 2024-04-15 10:22+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:21+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"
@@ -242,7 +242,7 @@ msgstr ""
242242

243243
#: ../../c-api/structures.rst:252 ../../c-api/structures.rst:411
244244
msgid "points to the contents of the docstring"
245-
msgstr ""
245+
msgstr "指向文档字符串的内容"
246246

247247
#: ../../c-api/structures.rst:254
248248
msgid ""
@@ -405,7 +405,7 @@ msgstr "访问扩展类型的属性"
405405
msgid ""
406406
"Structure which describes an attribute of a type which corresponds to a C "
407407
"struct member. Its fields are:"
408-
msgstr ""
408+
msgstr "描述与某个 C 结构体成员相对应的类型的属性的结构体。 它的字段有:"
409409

410410
#: ../../c-api/structures.rst:396 ../../c-api/structures.rst:492
411411
msgid "Field"
@@ -427,15 +427,15 @@ msgstr ":attr:`name`"
427427
#: ../../c-api/structures.rst:427 ../../c-api/structures.rst:494
428428
#: ../../c-api/structures.rst:502
429429
msgid "const char \\*"
430-
msgstr ""
430+
msgstr "const char \\*"
431431

432432
#: ../../c-api/structures.rst:398
433433
msgid "name of the member"
434-
msgstr ""
434+
msgstr "成员名称"
435435

436436
#: ../../c-api/structures.rst:400
437437
msgid ":attr:`!type`"
438-
msgstr ""
438+
msgstr ":attr:`!type`"
439439

440440
#: ../../c-api/structures.rst:400 ../../c-api/structures.rst:407
441441
#: ../../c-api/structures.rst:423
@@ -444,7 +444,7 @@ msgstr "int"
444444

445445
#: ../../c-api/structures.rst:400
446446
msgid "the type of the member in the C struct"
447-
msgstr ""
447+
msgstr "C 结构体中成员的类型"
448448

449449
#: ../../c-api/structures.rst:403
450450
msgid ":attr:`offset`"
@@ -457,15 +457,15 @@ msgstr "Py_ssize_t"
457457
#: ../../c-api/structures.rst:403
458458
msgid ""
459459
"the offset in bytes that the member is located on the type's object struct"
460-
msgstr ""
460+
msgstr "成员在类型的对象结构体中所在位置的以字节表示的偏移量"
461461

462462
#: ../../c-api/structures.rst:407
463463
msgid ":attr:`flags`"
464464
msgstr ":attr:`flags`"
465465

466466
#: ../../c-api/structures.rst:407
467467
msgid "flag bits indicating if the field should be read-only or writable"
468-
msgstr ""
468+
msgstr "指明字段是否应为只读或可写的旗标位"
469469

470470
#: ../../c-api/structures.rst:411
471471
msgid ":attr:`doc`"
@@ -477,6 +477,8 @@ msgid ""
477477
"types. When the member is accessed in Python, it will be converted to the "
478478
"equivalent Python type."
479479
msgstr ""
480+
":attr:`!type` 可以是与各种 C 类型相对应的许多 ``T_`` 宏中的一个。 当在 Python 中访问该成员时,它将被转换为等价的 "
481+
"Python 类型。"
480482

481483
#: ../../c-api/structures.rst:420
482484
msgid "Macro name"
@@ -532,7 +534,7 @@ msgstr "T_OBJECT"
532534

533535
#: ../../c-api/structures.rst:428 ../../c-api/structures.rst:429
534536
msgid "PyObject \\*"
535-
msgstr ""
537+
msgstr "PyObject \\*"
536538

537539
#: ../../c-api/structures.rst:429
538540
msgid "T_OBJECT_EX"
@@ -616,6 +618,11 @@ msgid ""
616618
":c:macro:`T_OBJECT_EX` handles use of the :keyword:`del` statement on that "
617619
"attribute more correctly than :c:macro:`T_OBJECT`."
618620
msgstr ""
621+
":c:macro:`T_OBJECT` 和 :c:macro:`T_OBJECT_EX` 的区别在于 :c:macro:`T_OBJECT` 返回 "
622+
"``None`` 表示其成员为 ``NULL`` 并且 :c:macro:`T_OBJECT_EX` 引发了 "
623+
":exc:`AttributeError`。 请尝试使用 :c:macro:`T_OBJECT_EX` 取代 :c:macro:`T_OBJECT` "
624+
"因为 :c:macro:`T_OBJECT_EX` 处理在属性上使用 :keyword:`del` 语句比 :c:macro:`T_OBJECT` "
625+
"更正确。"
619626

620627
#: ../../c-api/structures.rst:449
621628
msgid ""
@@ -625,6 +632,10 @@ msgid ""
625632
" :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` members can be deleted. "
626633
"(They are set to ``NULL``)."
627634
msgstr ""
635+
":attr:`flags` 可以为 ``0`` 表示读写访问或 :c:macro:`READONLY` 表示只读访问。 使用 "
636+
":c:macro:`T_STRING` 作为 :attr:`type` 表示 :c:macro:`READONLY`。 "
637+
":c:macro:`T_STRING` 数据将被解读为 UTF-8 编码格式。 只有 :c:macro:`T_OBJECT` 和 "
638+
":c:macro:`T_OBJECT_EX` 成员可以被删除。 (它们会被设为 ``NULL``)。"
628639

629640
#: ../../c-api/structures.rst:457
630641
msgid ""
@@ -636,6 +647,12 @@ msgid ""
636647
":c:member:`~PyTypeObject.tp_vectorcall_offset` in type objects. These must "
637648
"be defined with ``T_PYSSIZET`` and ``READONLY``, for example::"
638649
msgstr ""
650+
"堆分配类型 (使用 :c:func:`PyType_FromSpec` 或类似函数创建), ``PyMemberDef`` 可以包含特殊成员 "
651+
"``__dictoffset__``, ``__weaklistoffset__`` 和 ``__vectorcalloffset__`` "
652+
"的定义,对应类型对象中的 :c:member:`~PyTypeObject.tp_dictoffset`, "
653+
":c:member:`~PyTypeObject.tp_weaklistoffset` 和 "
654+
":c:member:`~PyTypeObject.tp_vectorcall_offset`。 它们必须使用 ``T_PYSSIZET`` 和 "
655+
"``READONLY`` 来定义,例如::"
639656

640657
#: ../../c-api/structures.rst:474
641658
msgid ""
@@ -671,45 +688,45 @@ msgstr "属性名称"
671688

672689
#: ../../c-api/structures.rst:496
673690
msgid "get"
674-
msgstr ""
691+
msgstr "get"
675692

676693
#: ../../c-api/structures.rst:496
677694
msgid "getter"
678-
msgstr ""
695+
msgstr "getter"
679696

680697
#: ../../c-api/structures.rst:496
681698
msgid "C function to get the attribute"
682-
msgstr ""
699+
msgstr "用于获取属性的 C 函数"
683700

684701
#: ../../c-api/structures.rst:498
685702
msgid "set"
686703
msgstr "set"
687704

688705
#: ../../c-api/structures.rst:498
689706
msgid "setter"
690-
msgstr ""
707+
msgstr "setter"
691708

692709
#: ../../c-api/structures.rst:498
693710
msgid ""
694711
"optional C function to set or delete the attribute, if omitted the attribute"
695712
" is readonly"
696-
msgstr ""
713+
msgstr "用于设置或删除属性的可选 C 函数,如果省略则属性将为只读"
697714

698715
#: ../../c-api/structures.rst:502
699716
msgid "doc"
700-
msgstr ""
717+
msgstr "doc"
701718

702719
#: ../../c-api/structures.rst:502
703720
msgid "optional docstring"
704721
msgstr "可选的文档字符串"
705722

706723
#: ../../c-api/structures.rst:504
707724
msgid "closure"
708-
msgstr ""
725+
msgstr "closure"
709726

710727
#: ../../c-api/structures.rst:504
711728
msgid "void \\*"
712-
msgstr ""
729+
msgstr "void \\*"
713730

714731
#: ../../c-api/structures.rst:504
715732
msgid ""

c-api/typeobj.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.10\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-01-19 19:10+0000\n"
15+
"POT-Creation-Date: 2024-04-15 10:22+0000\n"
1616
"PO-Revision-Date: 2022-11-05 17:21+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -3163,7 +3163,7 @@ msgstr "尚未使用。 仅供内部使用。"
31633163

31643164
#: ../../c-api/typeobj.rst:1965
31653165
msgid "List of weak references to subclasses. Internal use only."
3166-
msgstr ""
3166+
msgstr "由对子类的弱引用组成的列表。 仅供内部使用。"
31673167

31683168
#: ../../c-api/typeobj.rst:1974
31693169
msgid ""

c-api/unicode.po

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
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.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-12-08 18:45+0000\n"
14+
"POT-Creation-Date: 2024-04-15 10:22+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:21+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"
@@ -47,19 +47,21 @@ msgid ""
4747
"cached in the Unicode object. The :c:expr:`Py_UNICODE*` representation is "
4848
"deprecated and inefficient."
4949
msgstr ""
50+
":c:expr:`Py_UNICODE*` 和 UTF-8 表示形式将按需创建并缓存至 Unicode 对象。 "
51+
":c:expr:`Py_UNICODE*` 表示形式是已弃用且低效率的。"
5052

5153
#: ../../c-api/unicode.rst:24
5254
msgid ""
5355
"Due to the transition between the old APIs and the new APIs, Unicode objects"
5456
" can internally be in two states depending on how they were created:"
55-
msgstr ""
57+
msgstr "由于旧API和新API之间的转换,Unicode对象内部可以处于两种状态,这取决于它们的创建方式:"
5658

5759
#: ../../c-api/unicode.rst:27
5860
msgid ""
5961
"\"canonical\" Unicode objects are all objects created by a non-deprecated "
6062
"Unicode API. They use the most efficient representation allowed by the "
6163
"implementation."
62-
msgstr ""
64+
msgstr "“规范”Unicode对象是由非弃用的Unicode API创建的所有对象。它们使用实现所允许的最有效的表达方式。"
6365

6466
#: ../../c-api/unicode.rst:31
6567
msgid ""
@@ -147,7 +149,7 @@ msgstr "如果对象*o*是Unicode对象,但不是子类型的实例,则返
147149
msgid ""
148150
"Ensure the string object *o* is in the \"canonical\" representation. This "
149151
"is required before using any of the access macros described below."
150-
msgstr ""
152+
msgstr "确保字符串对象*o*处于“规范的”表达方式。在使用下面描述的任何访问宏之前,这是必需的。"
151153

152154
#: ../../c-api/unicode.rst:109
153155
msgid ""
@@ -892,7 +894,7 @@ msgstr ""
892894

893895
#: ../../c-api/unicode.rst:676
894896
msgid "Deprecated Py_UNICODE APIs"
895-
msgstr ""
897+
msgstr "已弃用的 Py_UNICODE API"
896898

897899
#: ../../c-api/unicode.rst:680
898900
msgid ""

0 commit comments

Comments
 (0)