@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.9\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2023-09-15 15:42 +0000\n "
19+ "POT-Creation-Date : 2023-09-22 15:46 +0000\n "
2020"PO-Revision-Date : 2017-02-16 23:29+0000\n "
2121"
Last-Translator :
Freesand Leo <[email protected] >, 2023\n "
2222"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1053,12 +1053,15 @@ msgid ""
10531053"metadata is unused or unknown. Different :class:`TarInfo` methods handle "
10541054"``None`` differently:"
10551055msgstr ""
1056+ "部分属性可以设为 ``None`` 以表示一些元数据未被使用或未知。 不同的 :class:`TarInfo` 方法会以不同的方式处理 "
1057+ "``None``:"
10561058
10571059#: ../../library/tarfile.rst:645
10581060msgid ""
10591061"The :meth:`~TarFile.extract` or :meth:`~TarFile.extractall` methods will "
10601062"ignore the corresponding metadata, leaving it set to a default."
10611063msgstr ""
1064+ ":meth:`~TarFile.extract` 或 :meth:`~TarFile.extractall` 方法会忽略相应的元数据,让其保持默认设置。"
10621065
10631066#: ../../library/tarfile.rst:647
10641067msgid ":meth:`~TarFile.addfile` will fail."
@@ -1158,6 +1161,8 @@ msgid ""
11581161"directory that contains the link. For hard links (``LNKTYPE``), the "
11591162"*linkname* is relative to the root of the archive."
11601163msgstr ""
1164+ "对于符号链接 (``SYMTYPE``),*linkname* 是相对于包含链接的目录的。 对于硬链接 (``LNKTYPE``),*linkname*"
1165+ " 则是相对于存档根目录的。"
11611166
11621167#: ../../library/tarfile.rst:744
11631168msgid "User ID of the user who originally stored this member."
@@ -1187,13 +1192,17 @@ msgid ""
11871192"attributes changed. For example, to return a ``TarInfo`` with the group name"
11881193" set to ``'staff'``, use::"
11891194msgstr ""
1195+ "返回修改了给定属性的 :class:`!TarInfo` 对象的 *新* 副本。 例如,要返回组名设为 ``'staff'`` 的 "
1196+ "``TarInfo``,请使用::"
11901197
11911198#: ../../library/tarfile.rst:802
11921199msgid ""
11931200"By default, a deep copy is made. If *deep* is false, the copy is shallow, "
11941201"i.e. ``pax_headers`` and any custom attributes are shared with the original "
11951202"``TarInfo`` object."
11961203msgstr ""
1204+ "在默认情况下,将执行深拷贝。 如果 *deep* 为假值,则执行浅拷贝,即 ``pax_headers`` 及任何自定义属性都与原始 "
1205+ "``TarInfo`` 对象共享。"
11971206
11981207#: ../../library/tarfile.rst:806
11991208msgid "A :class:`TarInfo` object also provides some convenient query methods:"
0 commit comments