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

Skip to content

Commit a05bda6

Browse files
committed
[po] auto sync bot
1 parent 4c9e4f1 commit a05bda6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

library/cmd.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ msgid ""
149149
"could be used to provide different completion depending upon which position "
150150
"the argument is in."
151151
msgstr ""
152+
"如果激活了完成,全部命令将会自动完成,并且通过调用 :meth:`complete_foo` 参数 *text* , *line*, *begidx* "
153+
",和 *endidx* 完成全部命令参数。 *text* 是我们试图匹配的字符串前缀,所有返回的匹配项必须以它为开头。 *line* "
154+
"是删除了前导空格的当前的输入行, *begidx* 和 *endidx* 是前缀文本的开始和结束索引。,可以用于根据参数位置提供不同的完成。"
152155

153156
#: ../../library/cmd.rst:86
154157
msgid ""
@@ -160,6 +163,10 @@ msgid ""
160163
":meth:`help_\\*` methods or commands that have docstrings), and also lists "
161164
"any undocumented commands."
162165
msgstr ""
166+
"所有 :class:`Cmd` 的子类继承一个预定义 :meth:`do_help` 。 这个方法使用参数 ``'bar'`` 调用, 调用对应的方法 "
167+
":meth:`help_bar` ,如果不存在,打印 :meth:`do_bar` 的文档字符串,如果可用。没有参数的情况下, "
168+
":meth:`do_help` 方法会列出所有可用的帮助主题 (即所有具有相应的 :meth:`help_\\*` 方法或命令的 "
169+
"文档字符串),也会列举所有未被记录的命令。"
163170

164171
#: ../../library/cmd.rst:97
165172
msgid ""

0 commit comments

Comments
 (0)