@@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
1818"Project-Id-Version : Python 3.12\n "
1919"Report-Msgid-Bugs-To : \n "
20- "POT-Creation-Date : 2023-09-15 14:13+0000\n "
20+ "POT-Creation-Date : 2023-09-22 14:13+0000\n "
2121"PO-Revision-Date : 2021-06-28 01:14+0000\n "
2222"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2323"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1069,12 +1069,15 @@ msgid ""
10691069"metadata is unused or unknown. Different :class:`TarInfo` methods handle "
10701070"``None`` differently:"
10711071msgstr ""
1072+ "部分属性可以设为 ``None`` 以表示一些元数据未被使用或未知。 不同的 :class:`TarInfo` 方法会以不同的方式处理 "
1073+ "``None``:"
10721074
10731075#: ../../library/tarfile.rst:653
10741076msgid ""
10751077"The :meth:`~TarFile.extract` or :meth:`~TarFile.extractall` methods will "
10761078"ignore the corresponding metadata, leaving it set to a default."
10771079msgstr ""
1080+ ":meth:`~TarFile.extract` 或 :meth:`~TarFile.extractall` 方法会忽略相应的元数据,让其保持默认设置。"
10781081
10791082#: ../../library/tarfile.rst:655
10801083msgid ":meth:`~TarFile.addfile` will fail."
@@ -1170,6 +1173,8 @@ msgid ""
11701173"directory that contains the link. For hard links (``LNKTYPE``), the "
11711174"*linkname* is relative to the root of the archive."
11721175msgstr ""
1176+ "对于符号链接 (``SYMTYPE``),*linkname* 是相对于包含链接的目录的。 对于硬链接 (``LNKTYPE``),*linkname*"
1177+ " 则是相对于存档根目录的。"
11731178
11741179#: ../../library/tarfile.rst:747
11751180msgid "User ID of the user who originally stored this member."
@@ -1199,13 +1204,17 @@ msgid ""
11991204"attributes changed. For example, to return a ``TarInfo`` with the group name"
12001205" set to ``'staff'``, use::"
12011206msgstr ""
1207+ "返回修改了给定属性的 :class:`!TarInfo` 对象的 *新* 副本。 例如,要返回组名设为 ``'staff'`` 的 "
1208+ "``TarInfo``,请使用::"
12021209
12031210#: ../../library/tarfile.rst:805
12041211msgid ""
12051212"By default, a deep copy is made. If *deep* is false, the copy is shallow, "
12061213"i.e. ``pax_headers`` and any custom attributes are shared with the original "
12071214"``TarInfo`` object."
12081215msgstr ""
1216+ "在默认情况下,将执行深拷贝。 如果 *deep* 为假值,则执行浅拷贝,即 ``pax_headers`` 及任何自定义属性都与原始 "
1217+ "``TarInfo`` 对象共享。"
12091218
12101219#: ../../library/tarfile.rst:809
12111220msgid "A :class:`TarInfo` object also provides some convenient query methods:"
0 commit comments