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

Skip to content

Commit 2577c42

Browse files
[po] auto sync
1 parent 82600a6 commit 2577c42

2 files changed

Lines changed: 9 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": "90.81%", "updated_at": "2023-09-18T15:56:54Z"}
1+
{"translation": "90.82%", "updated_at": "2023-09-18T22:56:43Z"}

extending/newtypes_tutorial.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
20+
"POT-Creation-Date: 2023-09-15 14:13+0000\n"
2121
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
2222
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2323
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -271,22 +271,24 @@ msgid ""
271271
"to the appropriate default values, including :c:member:`~PyObject.ob_type` "
272272
"that we initially set to ``NULL``. ::"
273273
msgstr ""
274+
"这将初始化 :class:`!Custom` 类型,为一些成员填充适当的默认值,包括我们在初始时设为 ``NULL`` 的 "
275+
":c:member:`~PyObject.ob_type`。 ::"
274276

275277
#: ../../extending/newtypes_tutorial.rst:190
276278
msgid ""
277279
"This adds the type to the module dictionary. This allows us to create "
278280
":class:`!Custom` instances by calling the :class:`!Custom` class:"
279-
msgstr ""
281+
msgstr "这将把类型添加到模块字典中。 这样我们就能通过调用 :class:`!Custom` 类来创建 :class:`!Custom` 实例:"
280282

281283
#: ../../extending/newtypes_tutorial.rst:198
282284
msgid ""
283285
"That's it! All that remains is to build it; put the above code in a file "
284286
"called :file:`custom.c`,"
285-
msgstr ""
287+
msgstr "就是这样! 剩下的工作就是编译它;将上述代码放入名为 :file:`custom.c` 的文件中,"
286288

287289
#: ../../extending/newtypes_tutorial.rst:203
288290
msgid "in a file called :file:`pyproject.toml`, and"
289-
msgstr ""
291+
msgstr "名为 :file:`pyproject.toml` 的文件中,并且"
290292

291293
#: ../../extending/newtypes_tutorial.rst:210
292294
msgid "in a file called :file:`setup.py`; then typing"
@@ -298,6 +300,8 @@ msgid ""
298300
"install it; now fire up Python --- you should be able to ``import custom`` "
299301
"and play around with ``Custom`` objects."
300302
msgstr ""
303+
"在 shell 中应该会在子目录下产生一个文件 :file:`custom.so` 并安装它;现在启动 Python --- 你应当能够执行 "
304+
"``import custom`` 并尝试使用 ``Custom`` 对象。"
301305

302306
#: ../../extending/newtypes_tutorial.rst:220
303307
msgid "That wasn't so hard, was it?"

0 commit comments

Comments
 (0)