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

Skip to content

Commit bf8e284

Browse files
[po] auto sync
1 parent fb8e3c0 commit bf8e284

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

library/zipapp.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,12 @@ msgid ""
267267
"directory, if the target is a file object it will be passed to the "
268268
"``zipfile.ZipFile`` class, and must supply the methods needed by that class."
269269
msgstr ""
270+
"当复制已有的打包文件时,提供的文件对象只需 ``read`` 和 ``readline`` 方法,或 ``write`` "
271+
"方法。当由目录创建打包文件时,若目标为文件对象,将会将其传给 类,且必须提供 ``zipfile.ZipFile`` 类所需的方法。"
270272

271273
#: ../../library/zipapp.rst:174
272274
msgid "Added the *filter* and *compressed* arguments."
273-
msgstr ""
275+
msgstr "加入了 *filter* 和 *compressed* 参数。"
274276

275277
#: ../../library/zipapp.rst:179
276278
msgid ""
@@ -279,24 +281,26 @@ msgid ""
279281
"argument can be a filename or a file-like object open for reading in bytes "
280282
"mode. It is assumed to be at the start of the archive."
281283
msgstr ""
284+
"返回打包文件开头的 行指定的解释器程序。如果没有 ``#!`` 行,则返回 :const:`None`。参数 *archive* "
285+
"可为文件名或在字节串模式下打开以供读取的文件类对象。``#!`` 行假定是在打包文件的开头。"
282286

283287
#: ../../library/zipapp.rst:188
284288
msgid "Examples"
285289
msgstr "示例"
286290

287291
#: ../../library/zipapp.rst:190
288292
msgid "Pack up a directory into an archive, and run it."
289-
msgstr ""
293+
msgstr "将目录打包成一个文件并运行它。"
290294

291295
#: ../../library/zipapp.rst:198
292296
msgid "The same can be done using the :func:`create_archive` function::"
293-
msgstr ""
297+
msgstr "同样还可用 :func:`create_archive` 函数完成:"
294298

295299
#: ../../library/zipapp.rst:203
296300
msgid ""
297301
"To make the application directly executable on POSIX, specify an interpreter"
298302
" to use."
299-
msgstr ""
303+
msgstr "要让应用程序能在 POSIX 平台上直接执行,需要指定所用的解释器。"
300304

301305
#: ../../library/zipapp.rst:212
302306
msgid ""

0 commit comments

Comments
 (0)