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

Skip to content

Commit db2459f

Browse files
[po] auto sync
1 parent 531c339 commit db2459f

7 files changed

Lines changed: 40 additions & 24 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.19%", "updated_at": "2024-04-18T02:56:10Z"}
1+
{"translation": "95.20%", "updated_at": "2024-04-19T02:56:21Z"}

c-api/allocation.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
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:
77
# 强 陈 <[email protected]>, 2021
88
# Sonny <[email protected]>, 2021
99
# Naisen Xu <[email protected]>, 2021
10-
# Freesand Leo <[email protected]>, 2023
10+
# Freesand Leo <[email protected]>, 2024
1111
#
1212
#, fuzzy
1313
msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
17+
"POT-Creation-Date: 2024-04-14 22:56+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
19-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
19+
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -84,7 +84,7 @@ msgid ""
8484
"memory is no longer a valid Python object."
8585
msgstr ""
8686
"释放使用 :c:macro:`PyObject_New` 或 :c:macro:`PyObject_NewVar` 分配给一个对象的内存。 "
87-
"这通常由在对象的类型中指定的 :c:member:`~PyTypeObject.tp_dealloc` 处理句柄来调用。 "
87+
"这通常由在对象的类型中指定的 :c:member:`~PyTypeObject.tp_dealloc` 处理器来调用。 "
8888
"在此调用之后该对象中的字段不应再被访问因为原来的内存已不再是一个有效的 Python 对象。"
8989

9090
#: ../../c-api/allocation.rst:66

c-api/exceptions.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Yi Cao <[email protected]>, 2021
1010
# jsgang <[email protected]>, 2021
1111
# ppcfish <[email protected]>, 2021
12-
# Jiuh-star <[email protected]>, 2021
12+
# Jiuh.star <[email protected]>, 2021
1313
# helloworldSB <[email protected]>, 2021
1414
# 文博 周 <[email protected]>, 2021
1515
# Dai Xu <[email protected]>, 2022
@@ -25,7 +25,7 @@ msgid ""
2525
msgstr ""
2626
"Project-Id-Version: Python 3.12\n"
2727
"Report-Msgid-Bugs-To: \n"
28-
"POT-Creation-Date: 2024-02-16 14:13+0000\n"
28+
"POT-Creation-Date: 2024-04-14 22:56+0000\n"
2929
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
3030
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
3131
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -787,8 +787,8 @@ msgid ""
787787
"if so, invokes the corresponding signal handler. If the :mod:`signal` "
788788
"module is supported, this can invoke a signal handler written in Python."
789789
msgstr ""
790-
"如果在主 Python 解释器下从主线程调用该函数,它将检查是否向进程发送了信号,如果是,则发起调用相应的信号处理句柄。 如果支持 "
791-
":mod:`signal` 模块,则可以发起调用以 Python 编写的信号处理句柄。"
790+
"如果在主 Python 解释器下从主线程调用该函数,它将检查是否向进程发送了信号,如果是,则发起调用相应的信号处理器。 如果支持 "
791+
":mod:`signal` 模块,则可以发起调用以 Python 编写的信号处理器。"
792792

793793
#: ../../c-api/exceptions.rst:635
794794
msgid ""
@@ -798,8 +798,8 @@ msgid ""
798798
"other pending signals may not have been handled yet: they will be on the "
799799
"next :c:func:`PyErr_CheckSignals()` invocation)."
800800
msgstr ""
801-
"该函数会尝试处理所有待处理信号,然后返回 ``0``。 但是,如果 Python 信号处理句柄引发了异常,则设置错误指示符并且函数将立即返回 "
802-
"``-1`` (这样其他待处理信号可能还没有被处理:它们将在下次发起调用 :c:func:`PyErr_CheckSignals()` 时被处理)。"
801+
"该函数会尝试处理所有待处理信号,然后返回 ``0``。 但是,如果 Python 信号处理器引发了异常,则设置错误指示符并且函数将立即返回 ``-1``"
802+
" (这样其他待处理信号可能还没有被处理:它们将在下次发起调用 :c:func:`PyErr_CheckSignals()` 时被处理)。"
803803

804804
#: ../../c-api/exceptions.rst:641
805805
msgid ""
@@ -818,7 +818,7 @@ msgid ""
818818
"The default Python signal handler for :c:macro:`!SIGINT` raises the "
819819
":exc:`KeyboardInterrupt` exception."
820820
msgstr ""
821-
"针对 :c:macro:`!SIGINT` 的默认 Python 信号处理句柄会引发 :exc:`KeyboardInterrupt` 异常。"
821+
"针对 :c:macro:`!SIGINT` 的默认 Python 信号处理器会引发 :exc:`KeyboardInterrupt` 异常。"
822822

823823
#: ../../c-api/exceptions.rst:659
824824
msgid ""
@@ -831,7 +831,7 @@ msgstr ""
831831
msgid ""
832832
"This function is async-signal-safe. It can be called without the "
833833
":term:`GIL` and from a C signal handler."
834-
msgstr "此函数是异步信号安全的。 它可以不带 :term:`GIL` 并由 C 信号处理句柄来调用。"
834+
msgstr "此函数是异步信号安全的。 它可以不带 :term:`GIL` 并由 C 信号处理器来调用。"
835835

836836
#: ../../c-api/exceptions.rst:673
837837
msgid ""
@@ -840,7 +840,7 @@ msgid ""
840840
"given signal number will be called."
841841
msgstr ""
842842
"模拟一个信号到达的效果。 当下次 :c:func:`PyErr_CheckSignals` 被调用时,将会调用针对指定的信号编号的 Python "
843-
"信号处理句柄。"
843+
"信号处理器。"
844844

845845
#: ../../c-api/exceptions.rst:677
846846
msgid ""
@@ -849,7 +849,7 @@ msgid ""
849849
"interruption is requested (for example when the user presses Ctrl-C to "
850850
"interrupt an operation)."
851851
msgstr ""
852-
"此函数可由自行设置信号处理,并希望 Python 信号处理句柄会在请求中断时(例如当用户按下 Ctrl-C 来中断操作时)按照预期被发起调用的 C "
852+
"此函数可由自行设置信号处理,并希望 Python 信号处理器会在请求中断时(例如当用户按下 Ctrl-C 来中断操作时)按照预期被发起调用的 C "
853853
"代码来调用。"
854854

855855
#: ../../c-api/exceptions.rst:682

c-api/file.po

Lines changed: 2 additions & 2 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-02-16 14:13+0000\n"
16+
"POT-Creation-Date: 2024-04-14 22:56+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:48+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"
@@ -104,7 +104,7 @@ msgstr "重写 :func:`io.open_code` 的正常行为,将其形参通过所提
104104

105105
#: ../../c-api/file.rst:68
106106
msgid "The handler is a function of type:"
107-
msgstr "处理句柄函数的类型为:"
107+
msgstr "处理器函数的类型为:"
108108

109109
#: ../../c-api/file.rst:72
110110
msgid ""

c-api/gcsupport.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.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-02-16 14:13+0000\n"
15+
"POT-Creation-Date: 2024-04-14 22:56+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1717
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -48,7 +48,7 @@ msgid ""
4848
msgstr ""
4949
"要创建一个容器类,类型对象的 :c:member:`~PyTypeObject.tp_flags` 字段必须包括 "
5050
":c:macro:`Py_TPFLAGS_HAVE_GC` 并提供一个 :c:member:`~PyTypeObject.tp_traverse` "
51-
"处理句柄的实现。 如果该类型的实例是可变的,则还必须提供 :c:member:`~PyTypeObject.tp_clear` 的实现。"
51+
"处理器的实现。 如果该类型的实例是可变的,则还必须提供 :c:member:`~PyTypeObject.tp_clear` 的实现。"
5252

5353
#: ../../c-api/gcsupport.rst:24
5454
msgid ":c:macro:`Py_TPFLAGS_HAVE_GC`"

glossary.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.12\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2024-03-22 14:14+0000\n"
22+
"POT-Creation-Date: 2024-04-14 22:56+0000\n"
2323
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2424
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2525
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -835,13 +835,13 @@ msgstr ":term:`file object` 的同义词。"
835835

836836
#: ../../glossary.rst:412
837837
msgid "filesystem encoding and error handler"
838-
msgstr "filesystem encoding and error handler -- 文件系统编码格式与错误处理句柄"
838+
msgstr "filesystem encoding and error handler -- 文件系统编码格式与错误处理器"
839839

840840
#: ../../glossary.rst:414
841841
msgid ""
842842
"Encoding and error handler used by Python to decode bytes from the operating"
843843
" system and encode Unicode to the operating system."
844-
msgstr "Python 用来从操作系统解码字节串和向操作系统编码 Unicode 的编码格式与错误处理句柄。"
844+
msgstr "Python 用来从操作系统解码字节串和向操作系统编码 Unicode 的编码格式与错误处理器。"
845845

846846
#: ../../glossary.rst:417
847847
msgid ""
@@ -859,7 +859,7 @@ msgid ""
859859
"filesystem encoding and error handler."
860860
msgstr ""
861861
":func:`sys.getfilesystemencoding` 和 :func:`sys.getfilesystemencodeerrors` "
862-
"函数可被用来获取文件系统编码格式与错误处理句柄。"
862+
"函数可被用来获取文件系统编码格式与错误处理器。"
863863

864864
#: ../../glossary.rst:425
865865
msgid ""

whatsnew/3.4.po

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,13 +1738,21 @@ msgid ""
17381738
"your code to use :func:`~inspect.signature` directly if those features are "
17391739
"desired. (Contributed by Yury Selivanov in :issue:`17481`.)"
17401740
msgstr ""
1741+
"现在 :func:`~inspect.getfullargspec` 和 :func:`~inspect.getargspec` 将使用 "
1742+
":func:`~inspect.signature` API。 这允许它们支持更多种类的可调用对象,包括具有 ``__signature__`` "
1743+
"属性的、具有通过 argument clinic 提供元数据的、:func:`functools.partial` 对象等等。 请注意,不同于 "
1744+
":func:`~inspect.signature`,这些函数仍然会忽略 ``__wrapped__`` "
1745+
"属性,并会报告绑定方法已绑定的第一个参数,所以如果想要这些特性的话你仍然需要更新你的代码以直接使用 "
1746+
":func:`~inspect.signature`。 (由 Yury Selivanov 在 :issue:`17481` 中贡献。)"
17411747

17421748
#: ../../whatsnew/3.4.rst:1053
17431749
msgid ""
17441750
":func:`~inspect.signature` now supports duck types of CPython functions, "
17451751
"which adds support for functions compiled with Cython. (Contributed by "
17461752
"Stefan Behnel and Yury Selivanov in :issue:`17159`.)"
17471753
msgstr ""
1754+
"现在 :func:`~inspect.signature` 支持 CPython 函数的鸭子类型,它增加了对使用 Cython 编译的函数的支持。 (由"
1755+
" Stefan Behnel 和 Yury Selivanov 在 :issue:`17159` 中贡献。)"
17481756

17491757
#: ../../whatsnew/3.4.rst:1059
17501758
msgid "ipaddress"
@@ -1758,13 +1766,17 @@ msgid ""
17581766
"by the normal standard library requirements to maintain backwards "
17591767
"compatibility."
17601768
msgstr ""
1769+
":mod:`ipaddress` 已在 Python 3.3 中作为 :term:`provisional API` 被添加到标准库。 随着 "
1770+
"Python 3.4 的发布,此限定已被移除:现在 :mod:`ipaddress` 属于稳定 API,由常规的标准库需求所覆盖以维护向下兼容性。"
17611771

17621772
#: ../../whatsnew/3.4.rst:1067
17631773
msgid ""
17641774
"A new :attr:`~ipaddress.IPv4Address.is_global` property is ``True`` if an "
17651775
"address is globally routeable. (Contributed by Peter Moody in "
17661776
":issue:`17400`.)"
17671777
msgstr ""
1778+
"如果一个地址是全局可路由的则新增的 :attr:`~ipaddress.IPv4Address.is_global` 属性将为 ``True``。 (由"
1779+
" Peter Moody 在 :issue:`17400` 中贡献。)"
17681780

17691781
#: ../../whatsnew/3.4.rst:1073
17701782
msgid "logging"
@@ -3949,6 +3961,10 @@ msgid ""
39493961
"string allocated by :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc` "
39503962
"(:issue:`16742`)"
39513963
msgstr ""
3964+
"现在 :c:data:`PyOS_ReadlineFunctionPointer` 回调的结果必须是一个由 "
3965+
":c:func:`PyMem_RawMalloc` 或 :c:func:`PyMem_RawRealloc` 分配的字符串,或者如果发生错误则为 "
3966+
"``NULL``,而不是由 :c:func:`PyMem_Malloc` 或 :c:func:`PyMem_Realloc` 分配的字符串 "
3967+
"(:issue:`16742`)"
39523968

39533969
#: ../../whatsnew/3.4.rst:2510
39543970
msgid ""

0 commit comments

Comments
 (0)