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

Skip to content

Commit 70eba7b

Browse files
[po] auto sync
1 parent f84b47e commit 70eba7b

6 files changed

Lines changed: 391 additions & 56 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.79%", "updated_at": "2024-05-25T16:46:53Z"}
1+
{"translation": "95.05%", "updated_at": "2024-05-28T23:46:54Z"}

library/copy.po

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2024
8+
# Unknownuserfrommars, 2024
9+
# Freesand Leo <[email protected]>, 2024
810
#
911
#, fuzzy
1012
msgid ""
1113
msgstr ""
1214
"Project-Id-Version: Python 3.12\n"
1315
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-11 19:07+0000\n"
16+
"POT-Creation-Date: 2024-05-24 14:49+0000\n"
1517
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1719
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1820
"MIME-Version: 1.0\n"
1921
"Content-Type: text/plain; charset=UTF-8\n"
@@ -23,7 +25,7 @@ msgstr ""
2325

2426
#: ../../library/copy.rst:2
2527
msgid ":mod:`!copy` --- Shallow and deep copy operations"
26-
msgstr ""
28+
msgstr ":mod:`!copy` --- 浅复制和深复制操作"
2729

2830
#: ../../library/copy.rst:7
2931
msgid "**Source code:** :source:`Lib/copy.py`"
@@ -46,11 +48,11 @@ msgstr "接口摘要:"
4648

4749
#: ../../library/copy.rst:22
4850
msgid "Return a shallow copy of *x*."
49-
msgstr ""
51+
msgstr "返回 *x* 的浅复制。"
5052

5153
#: ../../library/copy.rst:27
5254
msgid "Return a deep copy of *x*."
53-
msgstr ""
55+
msgstr "返回 *x* 的深复制。"
5456

5557
#: ../../library/copy.rst:32
5658
msgid "Raised for module specific errors."
@@ -151,6 +153,10 @@ msgid ""
151153
"dictionary as second argument. The memo dictionary should be treated as an "
152154
"opaque object."
153155
msgstr ""
156+
"为了让一个类定义其自己的复制实现,它可以定义特殊方法 :meth:`__copy__` 和 :meth:`__deepcopy__`。 "
157+
"前者用于实现浅复制操作,后者用于实现深复制操作,它接受一个参数,即 ``memo`` 字典。 如果 :meth:`__deepcopy__` "
158+
"实现需要对某个组件进行深复制,它应该调用 :func:`deepcopy` 函数,组件作为第一个参数,memo 字典作为第二个参数。 memo "
159+
"字典应被视为不透明对象。"
154160

155161
#: ../../library/copy.rst:94
156162
msgid "Module :mod:`pickle`"
@@ -164,7 +170,7 @@ msgstr "讨论了支持对象状态检索和恢复的特殊方法。"
164170

165171
#: ../../library/copy.rst:71
166172
msgid "module"
167-
msgstr "module"
173+
msgstr "模块"
168174

169175
#: ../../library/copy.rst:71
170176
msgid "pickle"

library/platform.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2024
8+
# 钟旭尧 <[email protected]>, 2024
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.12\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-11 19:07+0000\n"
15+
"POT-Creation-Date: 2024-05-24 14:49+0000\n"
1516
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
17+
"Last-Translator: 钟旭尧 <python_zhong@qq.com>, 2024\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -23,7 +24,7 @@ msgstr ""
2324

2425
#: ../../library/platform.rst:2
2526
msgid ":mod:`!platform` --- Access to underlying platform's identifying data"
26-
msgstr ""
27+
msgstr ":mod:`!platform` --- 获取底层平台的标识数据"
2728

2829
#: ../../library/platform.rst:10
2930
msgid "**Source code:** :source:`Lib/platform.py`"

tutorial/controlflow.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2024
8+
# Freesand Leo <[email protected]>, 2024
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.12\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-11 19:07+0000\n"
15+
"POT-Creation-Date: 2024-05-24 14:49+0000\n"
1516
"PO-Revision-Date: 2024-05-11 00:34+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -486,9 +487,9 @@ msgid ""
486487
"the only value written. You can see it if you really want to using "
487488
":func:`print`::"
488489
msgstr ""
489-
"``fib`` 不返回值,因此,其他语言不把它当作函数,而是当作过程。事实上,没有 :keyword:`return` "
490-
"语句的函数也返回值,只不过这个值比较是 ``None`` 是一个内置名称)。一般来说,解释器不会输出单独的返回值 ``None`` "
491-
",如需查看该值,可以使用 :func:`print`"
490+
"如果你用过其他语言,你可能会认为 ``fib`` 不是函数而是一个过程,因为它没有返回值。 事实上,即使没有 :keyword:`return` "
491+
"语句的函数也有返回值,尽管这个值可能相当无聊。 这个值被称为 ``None`` (是一个内置名称)。 通常解释器会屏蔽单独的返回值 ``None`` "
492+
"如果你确有需要可以使用 :func:`print` 查看它::"
492493

493494
#: ../../tutorial/controlflow.rst:508
494495
msgid ""

0 commit comments

Comments
 (0)