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

Skip to content

Commit 4fe6cd3

Browse files
[po] auto sync
1 parent d3a4a5e commit 4fe6cd3

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.13%", "updated_at": "2023-09-21T01:29:05Z"}
1+
{"translation": "89.14%", "updated_at": "2023-09-21T02:14:06Z"}

library/tarfile.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,9 @@ msgid ""
920920
"wrapped in :func:`staticmethod()` to prevent injection of a ``self`` "
921921
"argument."
922922
msgstr ""
923+
"该属性可在实例上设置或在子类中重载。 也可以在 ``TarFile`` 类本身上设置它以设置一个全局默认值,不过,由于它会影响 *tarfile* "
924+
"的所有使用,因此最好只在最高层级应用程序或 :mod:`站点配置 <site>` 中这样做。 要以这种方式设置全局默认值,需要用 "
925+
":func:`staticmethod()` 包装过滤器函数以防止 ``self`` 参数的注入。"
923926

924927
#: ../../library/tarfile.rst:553
925928
msgid ""
@@ -1013,6 +1016,8 @@ msgid ""
10131016
":meth:`~TarFile.getmember`, :meth:`~TarFile.getmembers` and "
10141017
":meth:`~TarFile.gettarinfo`."
10151018
msgstr ""
1019+
":class:`TarInfo` 对象可通过 :class:`TarFile` 的方法 :meth:`~TarFile.getmember`, "
1020+
":meth:`~TarFile.getmembers` 和 :meth:`~TarFile.gettarinfo` 返回。"
10161021

10171022
#: ../../library/tarfile.rst:628
10181023
msgid ""
@@ -1022,6 +1027,9 @@ msgid ""
10221027
"<copy>` or call the :meth:`~TarInfo.replace` method to create a modified "
10231028
"copy in one step."
10241029
msgstr ""
1030+
"修改 :meth:`~!TarFile.getmember` 或 :meth:`~!TarFile.getmembers` "
1031+
"返回的对象将会影响在归档上的所有后续操作。 对于不希望如此的情况,你可以使用 :mod:`copy.copy() <copy>` 或调用 "
1032+
":meth:`~TarInfo.replace` 方法通过一个步骤创建经修改的副本。"
10251033

10261034
#: ../../library/tarfile.rst:634
10271035
msgid ""

0 commit comments

Comments
 (0)