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

Skip to content

Commit 856a6e6

Browse files
[po] auto sync
1 parent 68bc0d3 commit 856a6e6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

library/optparse.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ msgid ""
237237
"something leftover in the argument list after options have been parsed, i.e."
238238
" after options and their arguments have been parsed and removed from the "
239239
"argument list."
240-
msgstr ""
240+
msgstr "在解析选项之后,即在选项及其参数解析完成并从参数列表中移除后参数列表中余下的内容。"
241241

242242
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:171
243243
msgid "required option"
@@ -250,17 +250,21 @@ msgid ""
250250
"doesn't prevent you from implementing required options, but doesn't give you"
251251
" much help at it either."
252252
msgstr ""
253+
"必须在命令行中提供的选项;请注意在英文中 \"required option\" 这个短语是自相矛盾的。 :mod:`optparse` "
254+
"不会阻止你实现必须选项,但也不会在这方面给你什么帮助。"
253255

254256
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:173
255257
msgid "For example, consider this hypothetical command-line::"
256-
msgstr ""
258+
msgstr "例如,考虑这个假设的命令行::"
257259

258260
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:177
259261
msgid ""
260262
"``-v`` and ``--report`` are both options. Assuming that ``--report`` takes "
261263
"one argument, ``report.txt`` is an option argument. ``foo`` and ``bar`` are"
262264
" positional arguments."
263265
msgstr ""
266+
"``-v`` 和 ``--report`` 都是选项。 假定 ``--report`` 接受一个参数,``report.txt`` 是一个选项参数。 "
267+
"``foo`` 和 ``bar`` 是位置参数。"
264268

265269
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:185
266270
msgid "What are options for?"

0 commit comments

Comments
 (0)