@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.7\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2023-02-24 14:40 +0000\n "
19+ "POT-Creation-Date : 2023-03-03 14:41 +0000\n "
2020"PO-Revision-Date : 2019-09-01 03:18+0000\n "
2121"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2222"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1150,15 +1150,15 @@ msgstr "``\"store_true\"``"
11501150
11511151#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:931
11521152msgid "store ``True``"
1153- msgstr ""
1153+ msgstr "存储 ``True`` "
11541154
11551155#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:934
11561156msgid "``\" store_false\" ``"
11571157msgstr "``\" store_false\" ``"
11581158
11591159#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:934
11601160msgid "store ``False``"
1161- msgstr ""
1161+ msgstr "存储 ``False`` "
11621162
11631163#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:940
11641164msgid "``\" append_const\" ``"
@@ -1197,37 +1197,39 @@ msgstr ""
11971197
11981198#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:961
11991199msgid "For example, when you call ::"
1200- msgstr ""
1200+ msgstr "例如,当你调用 :: "
12011201
12021202#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:965
12031203msgid ""
12041204"one of the first things :mod:`optparse` does is create the ``options`` "
12051205"object::"
1206- msgstr ""
1206+ msgstr ":mod:`optparse` 首先会做的一件事情是创建 ``options`` 对象:: "
12071207
12081208#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:969
12091209msgid "If one of the options in this parser is defined with ::"
1210- msgstr ""
1210+ msgstr "如果该解析器中的某个选项定义带有 :: "
12111211
12121212#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:973
12131213msgid "and the command-line being parsed includes any of the following::"
1214- msgstr ""
1214+ msgstr "并且被解析的命令行包括以下任意一项:: "
12151215
12161216#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:980
12171217msgid ""
12181218"then :mod:`optparse`, on seeing this option, will do the equivalent of ::"
1219- msgstr ""
1219+ msgstr "那么 :mod:`optparse` 在看到此选项时,将执行这样的操作 :: "
12201220
12211221#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:984
12221222msgid ""
12231223"The :attr:`~Option.type` and :attr:`~Option.dest` option attributes are "
12241224"almost as important as :attr:`~Option.action`, but :attr:`~Option.action` is"
12251225" the only one that makes sense for *all* options."
12261226msgstr ""
1227+ ":attr:`~Option.type` 和 :attr:`~Option.dest` 选项属性几乎与 :attr:`~Option.action` "
1228+ "一样重要,但 :attr:`~Option.action` 是唯一对 *所有* 选项都有意义的。"
12271229
12281230#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:992
12291231msgid "Option attributes"
1230- msgstr ""
1232+ msgstr "选项属性 "
12311233
12321234#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:994
12331235msgid ""
@@ -1236,6 +1238,8 @@ msgid ""
12361238"not relevant to a particular option, or fail to pass a required option "
12371239"attribute, :mod:`optparse` raises :exc:`OptionError`."
12381240msgstr ""
1241+ "下列选项属性可以作为关键字参数传给 :meth:`OptionParser.add_option`。 "
1242+ "如果你传入一个与特定选项无关的选项属性,或是未能传入必要的选项属性,:mod:`optparse` 将会引发 :exc:`OptionError`。"
12391243
12401244#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1001
12411245msgid "(default: ``\" store\" ``)"
0 commit comments