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

Skip to content

Commit 3178edb

Browse files
[po] auto sync
1 parent c82b1d9 commit 3178edb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

library/optparse.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,10 +925,13 @@ msgid ""
925925
" it encounters this option on the command line, it expands your ``version`` "
926926
"string (by replacing ``%prog``), prints it to stdout, and exits."
927927
msgstr ""
928+
"``%prog`` 会像在 ``usage`` 中那样被扩展。 除了这一点,``version`` 还可包含你想存放的任何东西。 "
929+
"当你提供它时,:mod:`optparse` 将自动向你的解析器添加一个 ``--version`` 选项。 如果它在命令行中遇到了该选项,它将扩展你的"
930+
" ``version`` 字符串 (通过替换 ``%prog``),将其打印到标准输出,然后退出。"
928931

929932
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:681
930933
msgid "For example, if your script is called ``/usr/bin/foo``:"
931-
msgstr ""
934+
msgstr "举例来说,如果你的脚本是 ``/usr/bin/foo``:"
932935

933936
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:688
934937
msgid ""

0 commit comments

Comments
 (0)