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

Skip to content

Commit 01ac22e

Browse files
[po] auto sync
1 parent a3623a6 commit 01ac22e

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

library/zipapp.po

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ msgstr ""
259259
msgid ""
260260
"If a file object is specified for *source* or *target*, it is the caller's "
261261
"responsibility to close it after calling create_archive."
262-
msgstr ""
262+
msgstr "若 *source* 或 *target* 指定的是文件对象,则调用者有责任在调用 create_archive 之后关闭这些文件对象。"
263263

264264
#: ../../library/zipapp.rst:168
265265
msgid ""
@@ -268,10 +268,12 @@ msgid ""
268268
"directory, if the target is a file object it will be passed to the "
269269
"``zipfile.ZipFile`` class, and must supply the methods needed by that class."
270270
msgstr ""
271+
"当复制已有的打包文件时,提供的文件对象只需 ``read`` 和 ``readline`` 方法,或 ``write`` "
272+
"方法。当由目录创建打包文件时,若目标为文件对象,将会将其传给 类,且必须提供 ``zipfile.ZipFile`` 类所需的方法。"
271273

272274
#: ../../library/zipapp.rst:174
273275
msgid "Added the *filter* and *compressed* arguments."
274-
msgstr ""
276+
msgstr "加入了 *filter* 和 *compressed* 参数。"
275277

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

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

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

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

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

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

0 commit comments

Comments
 (0)