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

Skip to content

Commit 868d296

Browse files
committed
[po] auto sync bot
1 parent 20e95c1 commit 868d296

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

library/cmd.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ msgid ""
338338
" converted to a number and dispatched to the turtle module. The docstring "
339339
"is used in the help utility provided by the shell."
340340
msgstr ""
341+
"基础的 turtle 命令比如 :meth:`~turtle.forward` 被添加进一个 :class:`Cmd` 子类,方法名为 "
342+
":meth:`do_forward` 。参数被转换成数字并且分发至 turtle 模组中。 docstring 是 shell 提供的帮助实用程序。"
341343

342344
#: ../../library/cmd.rst:239
343345
msgid ""
@@ -347,10 +349,12 @@ msgid ""
347349
":meth:`do_playback` method reads the file and adds the recorded commands to "
348350
"the :attr:`cmdqueue` for immediate playback::"
349351
msgstr ""
352+
"例子也包含使用 :meth:`~Cmd.precmd` 方法实现基础的记录和回放的功能,这个方法负责将输入转换为小写并且将命令写入文件。 "
353+
":meth:`do_playback` 方法读取文件并添加记录命令至 :attr:`cmdqueue` 用于即时回放::"
350354

351355
#: ../../library/cmd.rst:320
352356
msgid ""
353357
"Here is a sample session with the turtle shell showing the help functions, "
354358
"using blank lines to repeat commands, and the simple record and playback "
355359
"facility:"
356-
msgstr ""
360+
msgstr "这是一个示例会话,其中 turtle shell 显示帮助功能,使用空行重复命令,以及简单的记录和回放功能:"

0 commit comments

Comments
 (0)