@@ -937,7 +937,7 @@ msgstr "举例来说,如果你的脚本是 ``/usr/bin/foo``:"
937937msgid ""
938938"The following two methods can be used to print and get the ``version`` "
939939"string:"
940- msgstr ""
940+ msgstr "下列两个方法可被用来打印和获取 ``version`` 字符串: "
941941
942942#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:692
943943msgid ""
@@ -946,16 +946,19 @@ msgid ""
946946"``%prog`` in ``self.version`` is replaced with the name of the current "
947947"program. Does nothing if ``self.version`` is empty or undefined."
948948msgstr ""
949+ "将当前程序的版本消息 (``self.version``) 打印到 *file* (默认为 stdout)。 就像 "
950+ ":meth:`print_usage` 一样,任何在 ``self.version`` 中出现的 ``%prog`` 将被替换为当前程序的名称。 如果 "
951+ "``self.version`` 为空或未定义则不做任何操作。"
949952
950953#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:699
951954msgid ""
952955"Same as :meth:`print_version` but returns the version string instead of "
953956"printing it."
954- msgstr ""
957+ msgstr "与 :meth:`print_version` 相似但是会返回版本字符串而不是打印它。 "
955958
956959#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:706
957960msgid "How :mod:`optparse` handles errors"
958- msgstr ""
961+ msgstr ":mod:`optparse` 如何处理错误handles errors "
959962
960963#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:708
961964msgid ""