Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1d32321

Browse files
[po] auto sync
1 parent 8f98377 commit 1d32321

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

library/shutil.po

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,44 +453,49 @@ msgid ""
453453
"*excinfo*, will be the exception information returned by "
454454
":func:`sys.exc_info`. Exceptions raised by *onerror* will not be caught."
455455
msgstr ""
456+
"第一个形参 *function* 是引发异常的函数;它依赖于具体的平台和实现。 第二个形参 *path* 将是传递给 *function* 的路径名。 "
457+
"第三个形参 *excinfo* 将是由 :func:`sys.exc_info` 所返回的异常信息。 由 *onerror* 所引发的异常将不会被捕获。"
456458

457459
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:305
458460
msgid ""
459461
"Raises an :ref:`auditing event <auditing>` ``shutil.rmtree`` with argument "
460462
"``path``."
461-
msgstr ""
463+
msgstr "引发一个 :ref:`审核事件 <auditing>` ``shutil.rmtree`` 附带参数 ``path``。"
462464

463465
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:306
464466
msgid ""
465467
"Added a symlink attack resistant version that is used automatically if "
466468
"platform supports fd-based functions."
467-
msgstr ""
469+
msgstr "添加了一个防御符号链接攻击的版本,如果平台支持基于 fd 的函数就会被使用。"
468470

469471
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:310
470472
msgid ""
471473
"On Windows, will no longer delete the contents of a directory junction "
472474
"before removing the junction."
473-
msgstr ""
475+
msgstr "在 Windows 上将不会再在移除连接之前删除目录连接中的内容。"
474476

475477
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:316
476478
msgid ""
477479
"Indicates whether the current platform and implementation provides a symlink"
478480
" attack resistant version of :func:`rmtree`. Currently this is only true "
479481
"for platforms supporting fd-based directory access functions."
480482
msgstr ""
483+
"指明当前平台和实现是否提供防御符号链接攻击的 :func:`rmtree` 版本。 目前它仅在平台支持基于 fd 的目录访问函数时才返回真值。"
481484

482485
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:325
483486
msgid ""
484487
"Recursively move a file or directory (*src*) to another location (*dst*) and"
485488
" return the destination."
486-
msgstr ""
489+
msgstr "递归地将一个文件或目录 (*src*) 移至另一位置 (*dst*) 并返回目标位置。"
487490

488491
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:328
489492
msgid ""
490493
"If the destination is an existing directory, then *src* is moved inside that"
491494
" directory. If the destination already exists but is not a directory, it may"
492495
" be overwritten depending on :func:`os.rename` semantics."
493496
msgstr ""
497+
"如果目标是已存在的目录,则 *src* 会被移至该目录下。 如果目标已存在但不是目录,它可能会被覆盖,具体取决于 :func:`os.rename` "
498+
"的语义。"
494499

495500
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:332
496501
msgid ""

0 commit comments

Comments
 (0)