Skip to content

Commit ed21af3

Browse files
[po] auto sync
1 parent a1436f2 commit ed21af3

File tree

13 files changed

+146
-77
lines changed

13 files changed

+146
-77
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.14%", "updated_at": "2025-02-21T15:46:28Z"}
1+
{"translation": "81.18%", "updated_at": "2025-02-21T18:47:56Z"}

c-api/init.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
#
66
# Translators:
77
# Freesand Leo <[email protected]>, 2024
8-
# Rafael Fontenelle <[email protected]>, 2024
8+
# Rafael Fontenelle <[email protected]>, 2025
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
15+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1616
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
17-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
17+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -792,7 +792,7 @@ msgstr ""
792792
msgid ""
793793
"Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a "
794794
":c:expr:`wchar_t*` string."
795-
msgstr ""
795+
msgstr "使用 :c:func:`Py_DecodeLocale` 解码字节串以得到一个 :c:expr:`wchar_t*` 字符串。"
796796

797797
#: ../../c-api/init.rst:504
798798
msgid ""

c-api/typeobj.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
14+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -3403,6 +3403,8 @@ msgid ""
34033403
"It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and "
34043404
":c:member:`~PyTypeObject.tp_dictoffset`."
34053405
msgstr ""
3406+
"同时设置 :c:macro:`Py_TPFLAGS_MANAGED_DICT` 位和 "
3407+
":c:member:`~PyTypeObject.tp_dictoffset` 将导致报错。"
34063408

34073409
#: ../../c-api/typeobj.rst:1829
34083410
msgid ""

c-api/unicode.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,7 @@ msgid ""
18271827
"Similar to :c:func:`PyUnicode_DecodeMBCSStateful`, except uses the code page"
18281828
" specified by *code_page*."
18291829
msgstr ""
1830+
"类似于 :c:func:`PyUnicode_DecodeMBCSStateful`,区别在于使用由 *code_page* 所指定的代码页。"
18301831

18311832
#: ../../c-api/unicode.rst:1337
18321833
msgid ""

howto/enum.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,9 +1019,7 @@ msgstr "使用 :func:`!dataclass` 参数 ``repr=False`` 来使用标准的 :func
10191019
msgid ""
10201020
"Only the dataclass fields are shown in the value area, not the dataclass' "
10211021
"name."
1022-
msgstr ""
1023-
"只有数据类字段会被显示在值区域中,而不会显示数据类的名称。Only the dataclass fields are shown in the "
1024-
"value area, not the dataclass' name."
1022+
msgstr "只有数据类字段会被显示在值区域中,数据类名称不会被显示。"
10251023

10261024
#: ../../howto/enum.rst:512
10271025
msgid "Pickling"
@@ -1062,6 +1060,8 @@ msgid ""
10621060
":meth:`~object.__reduce_ex__` in the enumeration class. The default method "
10631061
"is by-value, but enums with complicated values may want to use by-name::"
10641062
msgstr ""
1063+
"通过在枚举类中定义 :meth:`~object.__reduce_ex__`,可以修改枚举成员的 pickled/unpicled "
1064+
"方式。默认方法是根据值进行的,但具有复杂值的枚举可能需要根据名称进行::"
10651065

10661066
#: ../../howto/enum.rst:534
10671067
msgid ""
@@ -1125,6 +1125,9 @@ msgid ""
11251125
"class derived from :class:`Enum` is returned. In other words, the above "
11261126
"assignment to :class:`!Animal` is equivalent to::"
11271127
msgstr ""
1128+
"第二个参数是枚举成员名称的 *来源*。它可以是以空白分隔的名称字符串、名称序列、包含键/值对的 2 "
1129+
"元组序列或名称到值的映射(如字典)。后两个选项可为枚举指定任意值;其他选项则自动指定从 1 开始的递增整数(使用 ``start`` "
1130+
"参数可指定不同的起始值)。返回值是一个从 :class:`Enum` 派生的新类。也就是说,上述对 :class:`!Animal` 的赋值相当于:"
11281131

11291132
#: ../../howto/enum.rst:569
11301133
msgid ""
@@ -1181,6 +1184,8 @@ msgid ""
11811184
"able to find the class. For example, if the class was made available in "
11821185
"class SomeData in the global scope::"
11831186
msgstr ""
1187+
"在某些情况下,新的 pickle 版本 4 协议还需要 :attr:`~type.__qualname__` 在 pickle 能够找到类的位置。 "
1188+
"例如,如果该类是在全局作用域内的 SomeData 类中可见::"
11841189

11851190
#: ../../howto/enum.rst:599
11861191
msgid ""

library/dbm.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
14+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\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"
@@ -598,7 +598,7 @@ msgstr "在 :class:`collections.abc.MutableMapping` 类所提供的方法之外
598598
msgid ""
599599
"Synchronize the on-disk directory and data files. This method is called by "
600600
"the :meth:`shelve.Shelf.sync` method."
601-
msgstr ""
601+
msgstr "同步磁盘上的目录和数据文件。 此方法将被 :meth:`shelve.Shelf.sync` 方法调用。"
602602

603603
#: ../../library/dbm.rst:400
604604
msgid "Close the database."

library/idle.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
14+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\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"
@@ -23,7 +23,7 @@ msgstr ""
2323

2424
#: ../../library/idle.rst:4
2525
msgid "IDLE --- Python editor and shell"
26-
msgstr ""
26+
msgstr "IDLE --- Python 编辑器和 shell"
2727

2828
#: ../../library/idle.rst:8
2929
msgid "**Source code:** :source:`Lib/idlelib/`"
@@ -1828,7 +1828,7 @@ msgstr ""
18281828

18291829
#: ../../library/idle.rst:978
18301830
msgid "idlelib --- implementation of IDLE application"
1831-
msgstr ""
1831+
msgstr "idlelib --- IDLE 应用程序的实现"
18321832

18331833
#: ../../library/idle.rst:983
18341834
msgid "**Source code:** :source:`Lib/idlelib`"

library/logging.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
14+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -915,13 +915,13 @@ msgid ""
915915
"Tidy up any resources used by the handler. This version does no output but "
916916
"removes the handler from an internal map of handlers, which is used for "
917917
"handler lookup by name."
918-
msgstr ""
918+
msgstr "清理处理器使用的所有资源。 此版本没有输出但会从内部处理器映射中移除处理器,该映射被用来按名称查找处理器。"
919919

920920
#: ../../library/logging.rst:599
921921
msgid ""
922922
"Subclasses should ensure that this gets called from overridden :meth:`close`"
923923
" methods."
924-
msgstr ""
924+
msgstr "子类应当通过重写 :meth:`close` 方法确保它会被调用。"
925925

926926
#: ../../library/logging.rst:605
927927
msgid ""

library/plistlib.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
14+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\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"
@@ -155,7 +155,7 @@ msgstr ""
155155
msgid ""
156156
"Write *value* to a plist file. *fp* should be a writable, binary file "
157157
"object."
158-
msgstr ""
158+
msgstr "将 *value* 写入 plist 文件。 *fp* 应当是一个可写的二进制文件对象。"
159159

160160
#: ../../library/plistlib.rst:96
161161
msgid ""

library/smtplib.po

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
87
# Freesand Leo <[email protected]>, 2024
8+
# Rafael Fontenelle <[email protected]>, 2025
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
15+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1616
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -831,6 +831,14 @@ msgid ""
831831
":attr:`~email.policy.EmailPolicy.utf8` attribute set to ``True``, and "
832832
"``SMTPUTF8`` and ``BODY=8BITMIME`` are added to *mail_options*."
833833
msgstr ""
834+
"``send_message`` 使用 :class:`~email.generator.BytesGenerator` 来序列化 *msg* 并以 "
835+
"``\\r\\n`` 作为 *linesep*,然后调用 :meth:`sendmail` 来传输结果消息。 无论 *from_addr* 和 "
836+
"*to_addrs* 的值是什么,``send_message`` 都不会传输 *msg* 中可能出现的 :mailheader:`Bcc` 或 "
837+
":mailheader:`Resent-Bcc` 标头。 如果 *from_addr* 和 *to_addrs* 中的任何地址包含非 ASCII "
838+
"字符并且服务器没有声明 ``SMTPUTF8`` 支持,则会引发 :exc:`SMTPNotSupportedError`。 在其他情况下 "
839+
"``Message`` 将克隆其 :mod:`~email.policy` 来执行序列化并将 "
840+
":attr:`~email.policy.EmailPolicy.utf8` 属性设为 ``True``,且会把 ``SMTPUTF8`` 和 "
841+
"``BODY=8BITMIME`` 添加到 *mail_options* 中。"
834842

835843
#: ../../library/smtplib.rst:534
836844
msgid "Support for internationalized addresses (``SMTPUTF8``)."

library/socketserver.po

Lines changed: 4 additions & 1 deletion
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: 2025-02-14 14:53+0000\n"
15+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1616
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -417,6 +417,9 @@ msgid ""
417417
"module with class attribute ``address_family = AF_INET6`` set if you want "
418418
"IPv6 server classes."
419419
msgstr ""
420+
"服务器套接字所属的协议族。 常见的例子有 :const:`socket.AF_INET`, :const:`socket.AF_INET6` 和 "
421+
":const:`socket.AF_UNIX` 等。 如果你想要 IPv6 服务器类请子类化此模块中的 TCP 或 UDP 服务器类并设置类属性 "
422+
"``address_family = AF_INET6``。"
420423

421424
#: ../../library/socketserver.rst:272
422425
msgid ""

using/editors.po

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2025
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-14 14:53+0000\n"
14+
"POT-Creation-Date: 2025-02-21 14:51+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:34+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\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"
@@ -34,7 +34,7 @@ msgstr "有很多支持Python编程语言的集成开发环境。大多数编辑
3434

3535
#: ../../using/editors.rst:14
3636
msgid "IDLE --- Python editor and shell"
37-
msgstr ""
37+
msgstr "IDLE --- Python 编辑器和 shell"
3838

3939
#: ../../using/editors.rst:16
4040
msgid ""
@@ -44,10 +44,13 @@ msgid ""
4444
"<installing_idle_on_linux>`. For more information see the :ref:`IDLE docs "
4545
"<idle>`."
4646
msgstr ""
47+
"IDLE 是 Python 的集成开发和学习环境并通常会与 Python 安装版捆绑发布。 如果你在使用 Linux 并且尚未安装 IDLE 请参阅 "
48+
":ref:`在 Linux 上安装 IDLE <installing_idle_on_linux>`。 更多信息请参阅 :ref:`IDLE 文档 "
49+
"<idle>`。"
4750

4851
#: ../../using/editors.rst:22
4952
msgid "Other Editors and IDEs"
50-
msgstr ""
53+
msgstr "其他编辑器和 IDE"
5154

5255
#: ../../using/editors.rst:24
5356
msgid ""
@@ -58,3 +61,6 @@ msgid ""
5861
"<https://wiki.python.org/moin/IntegratedDevelopmentEnvironments>`_ for a "
5962
"comprehensive list."
6063
msgstr ""
64+
"Python 的社区维基上有由社区成员提交的编辑器和 IDE 相关信息。 请访问 `Python 编辑器 "
65+
"<https://wiki.python.org/moin/PythonEditors>`_ 和 `集成开发环境 "
66+
"<https://wiki.python.org/moin/IntegratedDevelopmentEnvironments>`_ 以获取完整的列表。"

0 commit comments

Comments
 (0)