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

Skip to content

Commit 29452ff

Browse files
[po] auto sync
1 parent 2eff8f4 commit 29452ff

40 files changed

Lines changed: 2385 additions & 2518 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.40%", "updated_at": "2024-01-26T09:56:01Z"}
1+
{"translation": "93.09%", "updated_at": "2024-01-26T14:56:02Z"}

c-api/memory.po

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
#
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.12\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2023-10-20 14:13+0000\n"
19+
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
2121
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -389,21 +389,17 @@ msgstr "以下面向类型的宏为方便而提供。 注意 *TYPE* 可以指任
389389
#: ../../c-api/memory.rst:269
390390
msgid ""
391391
"Same as :c:func:`PyMem_Malloc`, but allocates ``(n * sizeof(TYPE))`` bytes "
392-
"of memory. Returns a pointer cast to :c:expr:`TYPE*`. The memory will not "
393-
"have been initialized in any way."
392+
"of memory. Returns a pointer cast to ``TYPE*``. The memory will not have "
393+
"been initialized in any way."
394394
msgstr ""
395-
"与 :c:func:`PyMem_Malloc` 相同,但会分配 ``(n * sizeof(TYPE))`` 字节的内存。 返回一个转换为 "
396-
":c:expr:`TYPE*` 的指针。 内存将不会以任何方式被初始化。"
397395

398396
#: ../../c-api/memory.rst:276
399397
msgid ""
400398
"Same as :c:func:`PyMem_Realloc`, but the memory block is resized to ``(n * "
401-
"sizeof(TYPE))`` bytes. Returns a pointer cast to :c:expr:`TYPE*`. On "
402-
"return, *p* will be a pointer to the new memory area, or ``NULL`` in the "
403-
"event of failure."
399+
"sizeof(TYPE))`` bytes. Returns a pointer cast to ``TYPE*``. On return, *p* "
400+
"will be a pointer to the new memory area, or ``NULL`` in the event of "
401+
"failure."
404402
msgstr ""
405-
"与 :c:func:`PyMem_Realloc` 相同,但内存块的大小被调整为 ``(n * sizeof(TYPE))`` 字节。 返回一个转换为 "
406-
":c:expr:`TYPE*` 的指针。 在返回时,*p* 将为一个指向新内存区域的指针,如果执行失败则为 ``NULL``。"
407403

408404
#: ../../c-api/memory.rst:281
409405
msgid ""
@@ -558,11 +554,10 @@ msgid "``\"pymalloc\"``"
558554
msgstr "``\"pymalloc\"``"
559555

560556
#: ../../c-api/memory.rst:382 ../../c-api/memory.rst:384
561-
#: ../../c-api/memory.rst:384 ../../c-api/memory.rst:384
562557
msgid "``malloc``"
563558
msgstr "``malloc``"
564559

565-
#: ../../c-api/memory.rst:382 ../../c-api/memory.rst:382
560+
#: ../../c-api/memory.rst:382
566561
msgid "``pymalloc``"
567562
msgstr "``pymalloc``"
568563

@@ -575,11 +570,10 @@ msgid "``\"pymalloc_debug\"``"
575570
msgstr "``\"pymalloc_debug\"``"
576571

577572
#: ../../c-api/memory.rst:383 ../../c-api/memory.rst:385
578-
#: ../../c-api/memory.rst:385 ../../c-api/memory.rst:385
579573
msgid "``malloc`` + debug"
580574
msgstr "``malloc`` + debug"
581575

582-
#: ../../c-api/memory.rst:383 ../../c-api/memory.rst:383
576+
#: ../../c-api/memory.rst:383
583577
msgid "``pymalloc`` + debug"
584578
msgstr "``pymalloc`` + debug"
585579

c-api/structures.po

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-01-19 14:14+0000\n"
16+
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -677,23 +677,18 @@ msgstr ""
677677
#: ../../c-api/structures.rst:553
678678
msgid ""
679679
"Can only be used as part of :c:member:`Py_tp_members "
680-
"<PyTypeObject.tp_members>` :c:type:`slot <PyTypeSlot>` when creating a class"
681-
" using negative :c:member:`~PyType_Spec.basicsize`. It is mandatory in that "
682-
"case."
680+
"<PyTypeObject.tp_members>` :c:type:`slot <PyType_Slot>` when creating a "
681+
"class using negative :c:member:`~PyType_Spec.basicsize`. It is mandatory in "
682+
"that case."
683683
msgstr ""
684-
"只能在使用负的 :c:member:`~PyType_Spec.basicsize` 创建类时用作 :c:member:`Py_tp_members "
685-
"<PyTypeObject.tp_members>` :c:type:`槽位 <PyTypeSlot>` 的组成部分。 它在此种情况下是强制要求。"
686684

687685
#: ../../c-api/structures.rst:558
688686
msgid ""
689-
"This flag is only used in :c:type:`PyTypeSlot`. When setting "
687+
"This flag is only used in :c:type:`PyType_Slot`. When setting "
690688
":c:member:`~PyTypeObject.tp_members` during class creation, Python clears it"
691689
" and sets :c:member:`PyMemberDef.offset` to the offset from the ``PyObject``"
692690
" struct."
693691
msgstr ""
694-
"这个旗标只能在 :c:type:`PyTypeSlot` 中使用。 在类创建期间中设置 "
695-
":c:member:`~PyTypeObject.tp_members` 时,Python 会清除它并将 "
696-
":c:member:`PyMemberDef.offset` 设为相对于 ``PyObject`` 结构的偏移量。"
697692

698693
#: ../../c-api/structures.rst:570
699694
msgid ""
@@ -924,40 +919,38 @@ msgstr "用于获取属性的 C 函数。"
924919

925920
#: ../../c-api/structures.rst:696
926921
msgid ""
927-
"Optional C function to set or delete the attribute, if omitted the attribute"
928-
" is readonly."
929-
msgstr "用于设置或删除属性的可选 C 函数,如果省略则属性将为只读。"
922+
"Optional C function to set or delete the attribute. If ``NULL``, the "
923+
"attribute is read-only."
924+
msgstr ""
930925

931-
#: ../../c-api/structures.rst:700
926+
#: ../../c-api/structures.rst:701
932927
msgid "optional docstring"
933928
msgstr "可选的文档字符串"
934929

935-
#: ../../c-api/structures.rst:704
930+
#: ../../c-api/structures.rst:705
936931
msgid ""
937932
"Optional function pointer, providing additional data for getter and setter."
938933
msgstr "可选的函数指针,为 getter 和 setter 提供附加数据。"
939934

940-
#: ../../c-api/structures.rst:706
935+
#: ../../c-api/structures.rst:709
941936
msgid ""
942937
"The ``get`` function takes one :c:expr:`PyObject*` parameter (the instance) "
943-
"and a function pointer (the associated ``closure``)::"
938+
"and a function pointer (the associated ``closure``):"
944939
msgstr ""
945-
"``get`` 函数接受一个 :c:expr:`PyObject*` 形参 (实例) 和一个函数指针 (关联的 ``closure``)::"
946940

947-
#: ../../c-api/structures.rst:711
941+
#: ../../c-api/structures.rst:712
948942
msgid ""
949943
"It should return a new reference on success or ``NULL`` with a set exception"
950944
" on failure."
951945
msgstr "它应当在成功时返回一个新的引用或在失败时返回 ``NULL`` 并设置异常。"
952946

953-
#: ../../c-api/structures.rst:714
947+
#: ../../c-api/structures.rst:717
954948
msgid ""
955949
"``set`` functions take two :c:expr:`PyObject*` parameters (the instance and "
956-
"the value to be set) and a function pointer (the associated ``closure``)::"
950+
"the value to be set) and a function pointer (the associated ``closure``):"
957951
msgstr ""
958-
"``set`` 函数接受两个 :c:expr:`PyObject*` 形参 (实例和要设置的值) 和一个函数指针 (关联的 ``closure``)::"
959952

960-
#: ../../c-api/structures.rst:719
953+
#: ../../c-api/structures.rst:720
961954
msgid ""
962955
"In case the attribute should be deleted the second parameter is ``NULL``. "
963956
"Should return ``0`` on success or ``-1`` with a set exception on failure."

library/argparse.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msgid ""
2121
msgstr ""
2222
"Project-Id-Version: Python 3.12\n"
2323
"Report-Msgid-Bugs-To: \n"
24-
"POT-Creation-Date: 2024-01-05 14:14+0000\n"
24+
"POT-Creation-Date: 2024-01-26 14:13+0000\n"
2525
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
2626
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2727
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -41,7 +41,7 @@ msgstr ":mod:`argparse` --- 命令行选项、参数和子命令解析器"
4141
msgid "**Source code:** :source:`Lib/argparse.py`"
4242
msgstr "**源代码:** :source:`Lib/argparse.py`"
4343

44-
#: ../../library/argparse.rstNone
44+
#: ../../library/argparse.rst-1
4545
msgid "Tutorial"
4646
msgstr "教程"
4747

@@ -1962,8 +1962,8 @@ msgstr ""
19621962
":class:`FileType` 对象以及 :data:`sys.stdout` 用于可写的 :class:`FileType` 对象::"
19631963

19641964
#: ../../library/argparse.rst:1939
1965-
msgid "The *encodings* and *errors* keyword arguments."
1966-
msgstr "*encodings* 和 *errors* 关键字参数。"
1965+
msgid "Added the *encodings* and *errors* parameters."
1966+
msgstr ""
19671967

19681968
#: ../../library/argparse.rst:1944
19691969
msgid "Argument groups"

0 commit comments

Comments
 (0)