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

Skip to content

Commit 586de0b

Browse files
[po] auto sync
1 parent 99e419b commit 586de0b

64 files changed

Lines changed: 1940 additions & 1732 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.09%", "updated_at": "2024-04-19T03:41:38Z"}
1+
{"translation": "93.15%", "updated_at": "2024-04-20T03:41:49Z"}

c-api/allocation.po

Lines changed: 5 additions & 5 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.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-08-18 14:42+0000\n"
14+
"POT-Creation-Date: 2024-04-19 16:58+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:08+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"
@@ -81,7 +81,7 @@ msgid ""
8181
"memory is no longer a valid Python object."
8282
msgstr ""
8383
"释放使用 :c:macro:`PyObject_New` 或 :c:macro:`PyObject_NewVar` 分配给一个对象的内存。 "
84-
"这通常由在对象的类型中指定的 :c:member:`~PyTypeObject.tp_dealloc` 处理句柄来调用。 "
84+
"这通常由在对象的类型中指定的 :c:member:`~PyTypeObject.tp_dealloc` 处理器来调用。 "
8585
"在此调用之后该对象中的字段不应再被访问因为原来的内存已不再是一个有效的 Python 对象。"
8686

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

c-api/exceptions.po

Lines changed: 9 additions & 9 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: 2024-02-23 16:44+0000\n"
14+
"POT-Creation-Date: 2024-04-19 16:58+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -702,8 +702,8 @@ msgid ""
702702
"if so, invokes the corresponding signal handler. If the :mod:`signal` "
703703
"module is supported, this can invoke a signal handler written in Python."
704704
msgstr ""
705-
"如果在主 Python 解释器下从主线程调用该函数,它将检查是否向进程发送了信号,如果是,则发起调用相应的信号处理句柄。 如果支持 "
706-
":mod:`signal` 模块,则可以发起调用以 Python 编写的信号处理句柄。"
705+
"如果在主 Python 解释器下从主线程调用该函数,它将检查是否向进程发送了信号,如果是,则发起调用相应的信号处理器。 如果支持 "
706+
":mod:`signal` 模块,则可以发起调用以 Python 编写的信号处理器。"
707707

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

719719
#: ../../c-api/exceptions.rst:569
720720
msgid ""
@@ -733,7 +733,7 @@ msgid ""
733733
"The default Python signal handler for :c:macro:`!SIGINT` raises the "
734734
":exc:`KeyboardInterrupt` exception."
735735
msgstr ""
736-
"针对 :c:macro:`!SIGINT` 的默认 Python 信号处理句柄会引发 :exc:`KeyboardInterrupt` 异常。"
736+
"针对 :c:macro:`!SIGINT` 的默认 Python 信号处理器会引发 :exc:`KeyboardInterrupt` 异常。"
737737

738738
#: ../../c-api/exceptions.rst:587
739739
msgid ""
@@ -746,7 +746,7 @@ msgstr ""
746746
msgid ""
747747
"This function is async-signal-safe. It can be called without the "
748748
":term:`GIL` and from a C signal handler."
749-
msgstr "此函数是异步信号安全的。 它可以不带 :term:`GIL` 并由 C 信号处理句柄来调用。"
749+
msgstr "此函数是异步信号安全的。 它可以不带 :term:`GIL` 并由 C 信号处理器来调用。"
750750

751751
#: ../../c-api/exceptions.rst:601
752752
msgid ""
@@ -755,7 +755,7 @@ msgid ""
755755
"given signal number will be called."
756756
msgstr ""
757757
"模拟一个信号到达的效果。 当下次 :c:func:`PyErr_CheckSignals` 被调用时,将会调用针对指定的信号编号的 Python "
758-
"信号处理句柄。"
758+
"信号处理器。"
759759

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

770770
#: ../../c-api/exceptions.rst:610

c-api/gcsupport.po

Lines changed: 2 additions & 2 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: 2024-02-23 16:44+0000\n"
14+
"POT-Creation-Date: 2024-04-19 16:58+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -47,7 +47,7 @@ msgid ""
4747
msgstr ""
4848
"要创建一个容器类,类型对象的 :c:member:`~PyTypeObject.tp_flags` 字段必须包括 "
4949
":c:macro:`Py_TPFLAGS_HAVE_GC` 并提供一个 :c:member:`~PyTypeObject.tp_traverse` "
50-
"处理句柄的实现。 如果该类型的实例是可变的,则还必须提供 :c:member:`~PyTypeObject.tp_clear` 的实现。"
50+
"处理器的实现。 如果该类型的实例是可变的,则还必须提供 :c:member:`~PyTypeObject.tp_clear` 的实现。"
5151

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

c-api/init.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.11\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-02-23 16:44+0000\n"
16+
"POT-Creation-Date: 2024-04-19 16:58+0000\n"
1717
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
1818
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -313,8 +313,8 @@ msgid ""
313313
"handler, instead of the UTF-8 encoding with ``surrogatepass`` error handler,"
314314
" for the :term:`filesystem encoding and error handler`."
315315
msgstr ""
316-
"如果该旗标为非零值,则使用 ``mbcs`` 编码和``replace`` 错误处理句柄,而不是 UTF-8 编码和 ``surrogatepass``"
317-
" 错误处理句柄作用 :term:`filesystem encoding and error handler`。"
316+
"如果该旗标为非零值,则使用 ``mbcs`` 编码和``replace`` 错误处理器,而不是 UTF-8 编码和 ``surrogatepass`` "
317+
"错误处理器作用 :term:`filesystem encoding and error handler`。"
318318

319319
#: ../../c-api/init.rst:158
320320
msgid ""
@@ -458,7 +458,7 @@ msgid ""
458458
"handlers, which might be useful when Python is embedded."
459459
msgstr ""
460460
"如果 *initsigs* 为 ``1`` 则该函数的工作方式与 :c:func:`Py_Initialize` 类似。 如果 *initsigs* 为"
461-
" ``0``,它将跳过信号处理句柄的初始化注册,这在嵌入 Python 时可能会很有用处。"
461+
" ``0``,它将跳过信号处理器的初始化注册,这在嵌入 Python 时可能会很有用处。"
462462

463463
#: ../../c-api/init.rst:270
464464
msgid ""
@@ -571,7 +571,7 @@ msgstr ""
571571
msgid ""
572572
"Note that :data:`sys.stderr` always uses the \"backslashreplace\" error "
573573
"handler, regardless of this (or any other) setting."
574-
msgstr "请注意无论是否有此设置(或任何其他设置),:data:`sys.stderr` 都会使用 \"backslashreplace\" 错误处理句柄。"
574+
msgstr "请注意无论是否有此设置(或任何其他设置),:data:`sys.stderr` 都会使用 \"backslashreplace\" 错误处理器。"
575575

576576
#: ../../c-api/init.rst:345
577577
msgid ""
@@ -2018,7 +2018,7 @@ msgstr ""
20182018
"将不会在系统调用返回之前被调用。 此函数 通常 **不适合** 从任意 C 线程调用 Python 代码。 作为替代,请使用 "
20192019
":ref:`PyGILStateAPI <gilstate>`。"
20202020

2021-
#: ../../c-api/init.rst:1536
2021+
#: ../../c-api/init.rst:1538
20222022
msgid ""
20232023
"If this function is called in a subinterpreter, the function *func* is now "
20242024
"scheduled to be called from the subinterpreter, rather than being called "

c-api/init_config.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
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
# Menghua Xiao <[email protected]>, 2023
88
# Freesand Leo <[email protected]>, 2023
9-
# Rafael Fontenelle <[email protected]>, 2023
9+
# Rafael Fontenelle <[email protected]>, 2024
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.11\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-09-01 14:43+0000\n"
16+
"POT-Creation-Date: 2024-04-19 16:58+0000\n"
1717
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
18-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
18+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -58,7 +58,7 @@ msgid ""
5858
"and no signal handler is registered."
5959
msgstr ""
6060
":ref:`隔离配置 <init-isolated-conf>` 可被用于将 Python 嵌入到应用程序。 它将 Python 与系统隔离开来。 "
61-
"例如,环境变量将被忽略,LC_CTYPE 语言区域设置保持不变并且不会注册任何信号处理句柄。"
61+
"例如,环境变量将被忽略,LC_CTYPE 语言区域设置保持不变并且不会注册任何信号处理器。"
6262

6363
#: ../../c-api/init_config.rst:27
6464
msgid ""
@@ -1075,7 +1075,7 @@ msgid ""
10751075
":term:`Filesystem error handler <filesystem encoding and error handler>`: "
10761076
":func:`sys.getfilesystemencodeerrors`."
10771077
msgstr ""
1078-
":term:`文件系统错误处理句柄 <filesystem encoding and error handler>`: "
1078+
":term:`文件系统错误处理器 <filesystem encoding and error handler>`: "
10791079
":func:`sys.getfilesystemencodeerrors`。"
10801080

10811081
#: ../../c-api/init_config.rst:768
@@ -1093,7 +1093,7 @@ msgstr "在其他平台上:默认使用 ``\"surrogateescape\"``。"
10931093

10941094
#: ../../c-api/init_config.rst:774
10951095
msgid "Supported error handlers:"
1096-
msgstr "支持的错误处理句柄:"
1096+
msgstr "支持的错误处理器:"
10971097

10981098
#: ../../c-api/init_config.rst:776
10991099
msgid "``\"strict\"``"
@@ -1188,7 +1188,7 @@ msgstr ""
11881188

11891189
#: ../../c-api/init_config.rst:833
11901190
msgid "Install Python signal handlers?"
1191-
msgstr "安装 Python 信号处理句柄?"
1191+
msgstr "安装 Python 信号处理器?"
11921192

11931193
#: ../../c-api/init_config.rst:835 ../../c-api/init_config.rst:985
11941194
#: ../../c-api/init_config.rst:1006 ../../c-api/init_config.rst:1185
@@ -1597,7 +1597,7 @@ msgid ""
15971597
"``\"backslashreplace\"`` error handler)."
15981598
msgstr ""
15991599
":data:`sys.stdin`、:data:`sys.stdout` 和 :data:`sys.stderr` 的编码格式和编码格式错误(但 "
1600-
":data:`sys.stderr` 将始终使用 ``\"backslashreplace\"`` 错误处理句柄)。"
1600+
":data:`sys.stderr` 将始终使用 ``\"backslashreplace\"`` 错误处理器)。"
16011601

16021602
#: ../../c-api/init_config.rst:1137
16031603
msgid ""
@@ -1626,7 +1626,7 @@ msgstr "在其他情况下,使用 :term:`locale encoding`。"
16261626

16271627
#: ../../c-api/init_config.rst:1148
16281628
msgid "Default error handler:"
1629-
msgstr "默认错误处理句柄:"
1629+
msgstr "默认错误处理器:"
16301630

16311631
#: ../../c-api/init_config.rst:1150
16321632
msgid "On Windows: use ``\"surrogateescape\"``."
@@ -1856,7 +1856,7 @@ msgid ""
18561856
"LC_CTYPE locale are left unchanged. Signal handlers are not installed."
18571857
msgstr ""
18581858
"该配置将忽略全局配置变量、环境变量、命令行参数 (:c:member:`PyConfig.argv` 将不会被解析) 和用户站点目录。 C 标准流 "
1859-
"(例如 ``stdout``) 和 LC_CTYPE 语言区域将保持不变。 信号处理句柄将不会被安装。"
1859+
"(例如 ``stdout``) 和 LC_CTYPE 语言区域将保持不变。 信号处理器将不会被安装。"
18601860

18611861
#: ../../c-api/init_config.rst:1379
18621862
msgid ""
@@ -2213,7 +2213,7 @@ msgstr "应用 :ref:`路径配置 <init-path-config>`;"
22132213

22142214
#: ../../c-api/init_config.rst:1539
22152215
msgid "Install signal handlers;"
2216-
msgstr "安装信号处理句柄;"
2216+
msgstr "安装信号处理器;"
22172217

22182218
#: ../../c-api/init_config.rst:1540
22192219
msgid ""

c-api/sys.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: 2024-02-23 16:44+0000\n"
14+
"POT-Creation-Date: 2024-04-19 16:58+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -157,7 +157,7 @@ msgid ""
157157
"around either :c:func:`!sigaction` or :c:func:`!signal`. Do not call those "
158158
"functions directly!"
159159
msgstr ""
160-
"返回信号 *i* 当前的信号处理句柄。 这是一个对 :c:func:`!sigaction` 或 :c:func:`!signal` 的简单包装器。 "
160+
"返回信号 *i* 当前的信号处理器。 这是一个对 :c:func:`!sigaction` 或 :c:func:`!signal` 的简单包装器。 "
161161
"请不要直接调用这两个函数!"
162162

163163
#: ../../c-api/sys.rst:120
@@ -166,7 +166,7 @@ msgid ""
166166
"handler. This is a thin wrapper around either :c:func:`!sigaction` or "
167167
":c:func:`!signal`. Do not call those functions directly!"
168168
msgstr ""
169-
"将信号 *i* 的信号处理句柄设为 *h*;返回原来的信号处理句柄。 这是一个对 :c:func:`!sigaction` 或 "
169+
"将信号 *i* 的信号处理器设为 *h*;返回原来的信号处理器。 这是一个对 :c:func:`!sigaction` 或 "
170170
":c:func:`!signal` 的简单包装器。 请不要直接调用这两个函数!"
171171

172172
#: ../../c-api/sys.rst:127
@@ -196,9 +196,9 @@ msgid ""
196196
"character, the bytes are escaped using the surrogateescape error handler "
197197
"instead of decoding them."
198198
msgstr ""
199-
"使用 :term:`filesystem encoding and error handler` 来解码一个字节串。 如果错误处理句柄为 "
200-
":ref:`surrogateescape 错误处理句柄 <surrogateescape>`,则不可解码的字节将被解码为 U+DC80..U+DCFF"
201-
" 范围内的字符;而如果一个字节序列可被解码为代理字符,则其中的字节会使用 surrogateescape 错误处理句柄来转义而不是解码它们。"
199+
"使用 :term:`filesystem encoding and error handler` 来解码一个字节串。 如果错误处理器为 "
200+
":ref:`surrogateescape 错误处理器 <surrogateescape>`,则不可解码的字节将被解码为 U+DC80..U+DCFF "
201+
"范围内的字符;而如果一个字节序列可被解码为代理字符,则其中的字节会使用 surrogateescape 错误处理器来转义而不是解码它们。"
202202

203203
#: ../../c-api/sys.rst:142
204204
msgid ""
@@ -268,8 +268,8 @@ msgid ""
268268
"<surrogateescape>`, surrogate characters in the range U+DC80..U+DCFF are "
269269
"converted to bytes 0x80..0xFF."
270270
msgstr ""
271-
"将一个由宽字符组成的字符串编码为 :term:`filesystem encoding and error handler`。 如果错误处理句柄为 "
272-
":ref:`surrogateescape 错误处理句柄 <surrogateescape>`,则在 U+DC80..U+DCFF "
271+
"将一个由宽字符组成的字符串编码为 :term:`filesystem encoding and error handler`。 如果错误处理器为 "
272+
":ref:`surrogateescape 错误处理器 <surrogateescape>`,则在 U+DC80..U+DCFF "
273273
"范围内的代理字符会被转换为字节值 0x80..0xFF。"
274274

275275
#: ../../c-api/sys.rst:183

c-api/type.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.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-09-29 14:44+0000\n"
14+
"POT-Creation-Date: 2024-04-19 16:58+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:09+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"
@@ -109,7 +109,7 @@ msgid ""
109109
"object. Use Python's default memory allocation mechanism to allocate a new "
110110
"instance and initialize all its contents to ``NULL``."
111111
msgstr ""
112-
"类型对象的 :c:member:`~PyTypeObject.tp_alloc` 槽位的通用处理句柄。 请使用 Python "
112+
"类型对象的 :c:member:`~PyTypeObject.tp_alloc` 槽位的通用处理器。 请使用 Python "
113113
"的默认内存分配机制来分配一个新的实例并将其所有内容初始化为 ``NULL``。"
114114

115115
#: ../../c-api/type.rst:90
@@ -118,7 +118,7 @@ msgid ""
118118
"object. Create a new instance using the type's "
119119
":c:member:`~PyTypeObject.tp_alloc` slot."
120120
msgstr ""
121-
"类型对象的 :c:member:`~PyTypeObject.tp_new` 槽位的通用处理句柄。 请使用类型的 "
121+
"类型对象的 :c:member:`~PyTypeObject.tp_new` 槽位的通用处理器。 请使用类型的 "
122122
":c:member:`~PyTypeObject.tp_alloc` 槽位来创建一个新的实例。"
123123

124124
#: ../../c-api/type.rst:95

0 commit comments

Comments
 (0)