Skip to content

Commit c039bd8

Browse files
[po] auto sync
1 parent 54ddd8c commit c039bd8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

library/optparse.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ msgid ""
292292
"of information that your program absolutely requires in order to run "
293293
"successfully, that's what positional arguments are for."
294294
msgstr ""
295+
"有很多人希望他们的程序具有“必需选项”。 请再思考一下。 如果某个项是必需的,那么它就 *不是可选的*! "
296+
"如果你的程序必需要有某项信息才能成功运行,则它更适合作为位置参数。"
295297

296298
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:200
297299
msgid ""
@@ -301,6 +303,8 @@ msgid ""
301303
"``cp`` fails if you run it with no arguments. However, it has a flexible, "
302304
"useful syntax that does not require any options at all::"
303305
msgstr ""
306+
"作为良好的命令行界面设计的一个例子,请看基本的用于拷贝文件的 ``cp`` 工具。 试图拷贝文件而不提供一个目标和至少一个源是没有什么意义的。 "
307+
"因此,如果你不带参数地运行 ``cp`` 它将会报错。 不过,它具有一个完全不需要任何选项的灵活、易用的语法::"
304308

305309
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:209
306310
msgid ""
@@ -311,6 +315,9 @@ msgid ""
311315
"mission of ``cp``, which is to copy either one file to another, or several "
312316
"files to another directory."
313317
msgstr ""
318+
"你只使用这个语法就能畅行无阻。 大多数 ``cp`` "
319+
"实现还提供了许多精确调整文件拷贝方式的选项:你可以保留模式和修改时间,避免跟随符号链接,覆盖现有文件之前先询问,诸如此类。 但这些都不会破坏 "
320+
"``cp`` 的核心任务,即将一个文件拷贝为另一个文件,或将多个文件拷贝到另一个目录。"
314321

315322
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/optparse.rst:220
316323
msgid "What are positional arguments for?"

0 commit comments

Comments
 (0)