Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5cb2d54

Browse files
[po] auto sync
1 parentbcba367 commit5cb2d54

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎library/optparse.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2532,10 +2532,11 @@ msgid ""
25322532
"command-line options are the action and type of each option, the most likely"
25332533
" direction of extension is to add new actions and new types."
25342534
msgstr""
2535+
"由于控制 :mod:`optparse` 如何读取命令行选项的两个主要因子是每个选项的动作和类型,所以扩展最可能的方向就是添加新的动作和新的类型。"
25352536

25362537
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1852
25372538
msgid"Adding new types"
2538-
msgstr""
2539+
msgstr"添加新的类型"
25392540

25402541
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1854
25412542
msgid""
@@ -2544,18 +2545,21 @@ msgid ""
25442545
":mod:`optparse`'s types: :attr:`~Option.TYPES` and "
25452546
":attr:`~Option.TYPE_CHECKER`."
25462547
msgstr""
2548+
"要添加新的类型,你必须自定义 :mod:`optparse` 的 :class:`Option` 类的子类。 这个类包含几个用来定义 "
2549+
":mod:`optparse` 的类型的属性: :attr:`~Option.TYPES` 和 "
2550+
":attr:`~Option.TYPE_CHECKER`。"
25472551

25482552
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1860
25492553
msgid""
25502554
"A tuple of type names; in your subclass, simply define a new tuple "
25512555
":attr:`TYPES` that builds on the standard one."
2552-
msgstr""
2556+
msgstr"一个由类型名称组成的元组;在你的子类中,简单地定义一个在标准元组基础上构建的新元组 :attr:`TYPES`。"
25532557

25542558
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1865
25552559
msgid""
25562560
"A dictionary mapping type names to type-checking functions. A type-checking"
25572561
" function has the following signature::"
2558-
msgstr""
2562+
msgstr"一个将类型名称映射到类型检查函数的字典。 类型检查函数具有如下签名::"
25592563

25602564
#:/home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:1870
25612565
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp