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

Skip to content

Commit c594816

Browse files
[po] auto sync
1 parent fa09bc6 commit c594816

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

library/argparse.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,8 @@ msgid ""
11131113
"at the command line), these ``help`` descriptions will be displayed with "
11141114
"each argument::"
11151115
msgstr ""
1116+
"``help`` 值是一个包含参数简短描述的字符串。 当用户请求帮助时(一般是通过在命令行中使用 ``-h`` 或 ``--help`` 的方式),这些"
1117+
" ``help`` 描述将随每个参数一同显示::"
11161118

11171119
#: ../../library/argparse.rst:1162
11181120
msgid ""
@@ -1122,12 +1124,15 @@ msgid ""
11221124
" arguments to :meth:`~ArgumentParser.add_argument`, e.g. ``%(default)s``, "
11231125
"``%(type)s``, etc.::"
11241126
msgstr ""
1127+
"``help`` 字符串可包括各种格式描述符以避免重复使用程序名称或参数 default_ 等文本。 有效的描述符包括程序名称 ``%(prog)s``"
1128+
" 和传给 :meth:`~ArgumentParser.add_argument` 的大部分关键字参数,例如 ``%(default)s``, "
1129+
"``%(type)s`` 等等::"
11251130

11261131
#: ../../library/argparse.rst:1179
11271132
msgid ""
11281133
"As the help string supports %-formatting, if you want a literal ``%`` to "
11291134
"appear in the help string, you must escape it as ``%%``."
1130-
msgstr ""
1135+
msgstr "由于帮助字符串支持 %-formatting,如果你希望在帮助字符串中显示 ``%`` 字面值,你必须将其转义为 ``%%``。"
11311136

11321137
#: ../../library/argparse.rst:1182
11331138
msgid ""

0 commit comments

Comments
 (0)