@@ -385,27 +385,32 @@ msgid ""
385385"as arguments. By default, :func:`~shutil.copy2` is used, but any function "
386386"that supports the same signature (like :func:`~shutil.copy`) can be used."
387387msgstr ""
388+ "如果给出了 *copy_function*,它必须是一个将被用来拷贝每个文件的可调用对象。 它在被调用时会将源路径和目标路径作为参数传入。 "
389+ "默认情况下,:func:`~shutil.copy2` 将被使用,但任何支持同样签名(与 :func:`~shutil.copy` 一致)都可以使用。"
388390
389391#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:256
390392msgid ""
391393"Raises an :ref:`auditing event <auditing>` ``shutil.copytree`` with "
392394"arguments ``src``, ``dst``."
393395msgstr ""
396+ "引发一个 :ref:`审核事件 <auditing>` ``shutil.copytree`` 附带参数 ``src``, ``dst``。"
394397
395398#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:257
396399msgid "Copy metadata when *symlinks* is false. Now returns *dst*."
397- msgstr ""
400+ msgstr "当 *symlinks* 为假值时拷贝元数据。 现在会返回 *dst*。 "
398401
399402#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:261
400403msgid ""
401404"Added the *copy_function* argument to be able to provide a custom copy "
402405"function. Added the *ignore_dangling_symlinks* argument to silent dangling "
403406"symlinks errors when *symlinks* is false."
404407msgstr ""
408+ "添加了 *copy_function* 参数以允许提供定制的拷贝函数。 添加了 *ignore_dangling_symlinks* 参数以便在 "
409+ "*symlinks* 为假值时屏蔽符号链接错误。"
405410
406411#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:272
407412msgid "The *dirs_exist_ok* parameter."
408- msgstr ""
413+ msgstr "*dirs_exist_ok* 形参。 "
409414
410415#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:279
411416msgid ""
@@ -415,6 +420,9 @@ msgid ""
415420"errors are handled by calling a handler specified by *onerror* or, if that "
416421"is omitted, they raise an exception."
417422msgstr ""
423+ "删除一个完整的目录树;*path* 必须指向一个目录(但不能是一个目录的符号链接)。 如果 *ignore_errors* "
424+ "为真值,删除失败导致的错误将被忽略;如果为假值或是省略,此类错误将通过调用由 *onerror* "
425+ "所指定的处理程序来处理,或者如果此参数被省略则将引发一个异常。"
418426
419427#: /home/travis/build/python/cpython-doc-catalog/Doc/library/shutil.rst:287
420428msgid ""
0 commit comments