8000 docs(library/argparse.po): up to line 268 · SkyLull/python-docs-zh-tw@f965aaf · GitHub
[go: up one dir, main page]

Skip to content

Commit f965aaf

Browse files
committed
docs(library/argparse.po): up to line 268
1 parent 963e30f commit f965aaf

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

library/argparse.po

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,48 +163,58 @@ msgstr ""
163163

164164
#: ../../library/argparse.rst:84
165165
msgid "formatter_class_ - A class for customizing the help output"
166-
msgstr "formatter_class_ - 能自訂幫助說明文字的類別"
166+
msgstr "formatter_class_ - 能自訂幫助文字的類別"
167167

168168
#: ../../library/argparse.rst:86
169169
msgid ""
170170
"prefix_chars_ - The set of characters that prefix optional arguments "
171171
"(default: '-')"
172172
msgstr ""
173+
"prefix_chars_ - 可選項的前置修飾符字符組(預設:'-')"
173174

174175
#: ../../library/argparse.rst:89
175176
msgid ""
176177
"fromfile_prefix_chars_ - The set of characters that prefix files from which "
177178
"additional arguments should be read (default: ``None``)"
178179
msgstr ""
180+
"fromfile_prefix_chars_ - 指示額外參數所在檔案的前置修飾符字符組 (預設:``None``)"
179181

180182
#: ../../library/argparse.rst:92
181183
msgid ""
182184
"argument_default_ - The global default value for arguments (default: "
183185
"``None``)"
184186
msgstr ""
187+
"argument_default_ - 所有參數的預設值 (預設:"
188+
"``None``)"
185189

186190
#: ../../library/argparse.rst:95
187191
msgid ""
188192
"conflict_handler_ - The strategy for resolving conflicting optionals "
189193
"(usually unnecessary)"
190194
msgstr ""
195+
"conflict_handler_ - 排解互相衝突選項的策略"
196+
"(一般來說不需要)"
191197

192198
#: ../../library/argparse.rst:98
193199
msgid ""
194200
"add_help_ - Add a ``-h/--help`` option to the parser (default: ``True``)"
195201
msgstr ""
202+
"add_help_ - 增加 ``-h/--help`` 選項到剖析選項中 (預設:``True``)"
196203

197204
#: ../../library/argparse.rst:100
198205
msgid ""
199206
"allow_abbrev_ - Allows long options to be abbreviated if the abbreviation is "
200207
"unambiguous. (default: ``True``)"
201208
msgstr ""
209+
"allow_abbrev_ - 在無混淆可能的前提下允許使用簡寫來替代較長的選項名稱。"
210+
"(預設:``True``)"
202211

203212
#: ../../library/argparse.rst:103
204213
msgid ""
205214
"exit_on_error_ - Determines whether or not :class:`!ArgumentParser` exits "
206215
"with error info when an error occurs. (default: ``True``)"
207216
msgstr ""
217+
"exit_on_error_ - 當剖析出錯時,:class:`!ArgumentParser` 是否中止程式並跳出錯誤訊息。(預設:``True``)"
208218

209219
#: ../../library/argparse.rst:106
210220
msgid "*allow_abbrev* parameter was added."
@@ -215,42 +225,47 @@ msgid ""
215225
"In previous versions, *allow_abbrev* also disabled grouping of short flags "
216226
"such as ``-vv`` to mean ``-v -v``."
217227
msgstr ""
228+
"在早前的版本中,*allow_abbrev* 還會讓能組合使用的短旗標失效(例如讓 ``-vv`` 被視為 ``-v -v``)。"
218229

219230
#: ../../library/argparse.rst:113
220231
msgid "*exit_on_error* parameter was added."
221232
msgstr "新增 *exit_on_error* 參數。"
222233

223234
#: ../../library/argparse.rst:116 ../../library/argparse.rst:598
224235
msgid "The following sections describe how each of these are used."
225-
msgstr ""
236+
msgstr "以下段落將詳述這些選項各自的用法"
226237

227238
#: ../../library/argparse.rst:122
228239
msgid "prog"
229-
msgstr ""
240+
msgstr "prog"
230241

231< 8000 /code>242
#: ../../library/argparse.rst:125
232243
msgid ""
233244
"By default, :class:`ArgumentParser` calculates the name of the program to "
234245
"display in help messages depending on the way the Python interpreter was run:"
235246
msgstr ""
247+
":class:`ArgumentParser` 預設會依據 Python 直譯器被啟動時的不同狀況,自動生成該程式在幫助訊息裡的名稱:"
236248

237249
#: ../../library/argparse.rst:128
238250
msgid ""
239251
"The :func:`base name <os.path.basename>` of ``sys.argv[0]`` if a file was "
240252
"passed as argument."
241253
msgstr ""
254+
"如果該程式是作為檔案被傳入啟動參數,則使用 ``sys.argv[0]`` 的 :func:`base name <os.path.basename>`。"
242255

243256
#: ../../library/argparse.rst:130
244257
msgid ""
245258
"The Python interpreter name followed by ``sys.argv[0]`` if a directory or a "
246259
"zipfile was passed as argument."
247260
msgstr ""
261+
"如果被傳入啟動參數的是一個資料夾或壓縮檔,則使用 Python 直譯器的名稱加上 ``sys.argv[0]``。"
248262

249263
#: ../../library/argparse.rst:132
250264
msgid ""
251265
"The Python interpreter name followed by ``-m`` followed by the module or "
252266
"package name if the :option:`-m` option was used."
253267
msgstr ""
268+
"如果傳入了 :option:`-m` 選項,則使用 Python 直譯器的名稱加上所呼叫的模組或套件的名字。"
254269

255270
#: ../../library/argparse.rst:135
256271
msgid ""

0 commit comments

Comments
 (0)
0