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

Skip to content

Commit e8b3cf6

Browse files
[po] auto sync
1 parent 8025c50 commit e8b3cf6

4 files changed

Lines changed: 24 additions & 5 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.40%", "updated_at": "2023-08-07T05:56:22Z"}
1+
{"translation": "89.43%", "updated_at": "2023-08-07T06:56:45Z"}

faq/extending.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ msgid ""
142142
"specified index. Lists have similar functions, :c:func:`PyList_Size` and "
143143
":c:func:`PyList_GetItem`."
144144
msgstr ""
145+
"这取决于对象的类型。 如果是元组,:c:func:`PyTuple_Size` 将返回其长度而 :c:func:`PyTuple_GetItem` "
146+
"将返回指定索引号上的项。 对于列表也有类似的函数 :c:func:`PyList_Size` 和 :c:func:`PyList_GetItem`。"
145147

146148
#: ../../faq/extending.rst:87
147149
msgid ""
@@ -150,6 +152,8 @@ msgid ""
150152
"length. Note that Python bytes objects may contain null bytes so C's "
151153
":c:func:`!strlen` should not be used."
152154
msgstr ""
155+
"对于字节串,:c:func:`PyBytes_Size` 将返回其长度而 :c:func:`PyBytes_AsStringAndSize` "
156+
"将提供一个指向其值和长度的指针。 请注意 Python 字节串对象可能包含空字节因此不应使用 C 的 :c:func:`!strlen`。"
153157

154158
#: ../../faq/extending.rst:92
155159
msgid ""

howto/curses.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,8 @@ msgid ""
833833
"quirks, and provide complete lists of all the functions, attributes, and "
834834
":ref:`ACS_\\* <curses-acs-codes>` characters available to you."
835835
msgstr ""
836+
"如果你对 curses 函数的细节行为有疑问,请查看你的 curses 具体实现的指南页面不论它是 ncurses 还是特定 Unix 厂商的版本。 "
837+
"指南页面将写明各种怪异问题,并为你提供所有函数、属性及可用 :ref:`ACS_\\* <curses-acs-codes>` 字符的完整列表。"
836838

837839
#: ../../howto/curses.rst:533
838840
msgid ""

whatsnew/3.12.po

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3911,32 +3911,35 @@ msgstr ":c:macro:`T_NONE` (之前未写入文档,并且相当怪异)"
39113911

39123912
#: ../../whatsnew/3.12.rst:1989
39133913
msgid "The macro ``WRITE_RESTRICTED`` which does nothing."
3914-
msgstr ""
3914+
msgstr "不进行任何操作的宏 ``WRITE_RESTRICTED``。"
39153915

39163916
#: ../../whatsnew/3.12.rst:1990
39173917
msgid ""
39183918
"The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of "
39193919
":c:macro:`Py_AUDIT_READ`."
3920-
msgstr ""
3920+
msgstr "``RESTRICTED`` 和 ``READ_RESTRICTED`` 宏,等同于 :c:macro:`Py_AUDIT_READ`。"
39213921

39223922
#: ../../whatsnew/3.12.rst:1992
39233923
msgid ""
39243924
"In some configurations, ``<stddef.h>`` is not included from ``Python.h``. It"
39253925
" should be included manually when using ``offsetof()``."
39263926
msgstr ""
3927+
"在某些配置中,``Python.h`` 未被 ``<stddef.h>`` 包括。 在使用 ``offsetof()`` 时应当手动包括它。"
39273928

39283929
#: ../../whatsnew/3.12.rst:1995
39293930
msgid ""
39303931
"The deprecated header continues to provide its original contents under the "
39313932
"original names. Your old code can stay unchanged, unless the extra include "
39323933
"and non-namespaced macros bother you greatly."
3933-
msgstr ""
3934+
msgstr "已被弃用的头文件将继续以原来的名称提供原来的内容。 你的旧代码可以保持不变,除非额外的包括指令和无命名空间宏会给你带来很大困扰。"
39343935

39353936
#: ../../whatsnew/3.12.rst:2000
39363937
msgid ""
39373938
"(Contributed in :gh:`47146` by Petr Viktorin, based on earlier work by "
39383939
"Alexander Belopolsky and Matthias Braun.)"
39393940
msgstr ""
3941+
"(由 Petr Viktorin 在 :gh:`47146` 中贡献,基于 Alexander Belopolsky 和 Matthias Braun "
3942+
"在先前的工作。).)"
39403943

39413944
#: ../../whatsnew/3.12.rst:2003
39423945
msgid ""
@@ -3953,12 +3956,16 @@ msgid ""
39533956
":c:func:`!PyErr_Display` is deprecated. Use :c:func:`PyErr_DisplayException`"
39543957
" instead. (Contributed by Irit Katriel in :gh:`102755`)."
39553958
msgstr ""
3959+
":c:func:`!PyErr_Display` 已被弃用,请改用 :c:func:`PyErr_DisplayException`。 (由 Irit "
3960+
"Katriel 在 :gh:`102755` 中贡献。)"
39563961

39573962
#: ../../whatsnew/3.12.rst:2011
39583963
msgid ""
39593964
"``_PyErr_ChainExceptions`` is deprecated. Use ``_PyErr_ChainExceptions1`` "
39603965
"instead. (Contributed by Irit Katriel in :gh:`102192`.)"
39613966
msgstr ""
3967+
"``_PyErr_ChainExceptions`` 已被弃用。 请改用 ``_PyErr_ChainExceptions1``。 (由 Irit "
3968+
"Katriel 在 :gh:`102192` 中贡献。)"
39623969

39633970
#: ../../whatsnew/3.12.rst:2014
39643971
msgid ""
@@ -3967,17 +3974,23 @@ msgid ""
39673974
"overrides :c:member:`~PyTypeObject.tp_new` is deprecated. Call the metaclass"
39683975
" instead."
39693976
msgstr ""
3977+
"使用 :c:func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases` 或 "
3978+
":c:func:`PyType_FromModuleAndSpec` 来创建所属元类重载了 "
3979+
":c:member:`~PyTypeObject.tp_new` 的类的做法已被弃用。 请改为调用相应元类。is deprecated. Call "
3980+
"the metaclass instead."
39703981

39713982
#: ../../whatsnew/3.12.rst:2022
39723983
msgid ""
39733984
"Remove the ``token.h`` header file. There was never any public tokenizer C "
39743985
"API. The ``token.h`` header file was only designed to be used by Python "
39753986
"internals. (Contributed by Victor Stinner in :gh:`92651`.)"
39763987
msgstr ""
3988+
"移除了 ``token.h`` 头文件。 从来就没有任何公用的分词器 C API。 ``token.h`` 头文件只是为 Python "
3989+
"内部使用而设计的。 (由 Victor Stinner 在 :gh:`92651` 中贡献。)"
39773990

39783991
#: ../../whatsnew/3.12.rst:2027
39793992
msgid "Legacy Unicode APIs have been removed. See :pep:`623` for detail."
3980-
msgstr ""
3993+
msgstr "旧式 Unicode API 已被移除。 请参阅 :pep:`623` 了解详情。for detail."
39813994

39823995
#: ../../whatsnew/3.12.rst:2029
39833996
msgid ":c:macro:`!PyUnicode_WCHAR_KIND`"

0 commit comments

Comments
 (0)