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

Skip to content

Commit 0003433

Browse files
[po] auto sync
1 parent e791383 commit 0003433

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

library/zipfile.po

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -709,24 +709,26 @@ msgstr "如果当前上下文引用了一个目录则返回 ``True``。"
709709

710710
#: ../../library/zipfile.rst:507
711711
msgid "Return ``True`` if the current context references a file."
712-
msgstr ""
712+
msgstr "如果当前上下文引用了一个文件则返回 ``True``。"
713713

714714
#: ../../library/zipfile.rst:511
715715
msgid ""
716716
"Return ``True`` if the current context references a file or directory in the"
717717
" zip file."
718-
msgstr ""
718+
msgstr "如果当前上下文引用了 zip 文件内的一个文件或目录则返回 ``True``。"
719719

720720
#: ../../library/zipfile.rst:516
721721
msgid ""
722722
"Read the current file as unicode text. Positional and keyword arguments are "
723723
"passed through to :class:`io.TextIOWrapper` (except ``buffer``, which is "
724724
"implied by the context)."
725725
msgstr ""
726+
"读取当前文件为 unicode 文本。 位置和关键字参数会被传递给 :class:`io.TextIOWrapper` (``buffer`` "
727+
"除外,它将由上下文确定)。"
726728

727729
#: ../../library/zipfile.rst:523
728730
msgid "Read the current file as bytes."
729-
msgstr ""
731+
msgstr "读取当前文件为字节串。"
730732

731733
#: ../../library/zipfile.rst:529
732734
msgid "PyZipFile Objects"
@@ -737,34 +739,39 @@ msgid ""
737739
"The :class:`PyZipFile` constructor takes the same parameters as the "
738740
":class:`ZipFile` constructor, and one additional parameter, *optimize*."
739741
msgstr ""
742+
":class:`PyZipFile` 构造器接受与 :class:`ZipFile` 构造器相同的形参,以及一个额外的形参 *optimize*。"
740743

741744
#: ../../library/zipfile.rst:537
742745
msgid "The *optimize* parameter."
743-
msgstr ""
746+
msgstr "*optimize* 形参。"
744747

745748
#: ../../library/zipfile.rst:543
746749
msgid ""
747750
"Instances have one method in addition to those of :class:`ZipFile` objects:"
748-
msgstr ""
751+
msgstr "实例在 :class:`ZipFile` 对象所具有的方法以外还附加了一个方法:"
749752

750753
#: ../../library/zipfile.rst:547
751754
msgid ""
752755
"Search for files :file:`\\*.py` and add the corresponding file to the "
753756
"archive."
754-
msgstr ""
757+
msgstr "查找 :file:`\\*.py` 文件并将相应的文件添加到归档。"
755758

756759
#: ../../library/zipfile.rst:550
757760
msgid ""
758761
"If the *optimize* parameter to :class:`PyZipFile` was not given or ``-1``, "
759762
"the corresponding file is a :file:`\\*.pyc` file, compiling if necessary."
760763
msgstr ""
764+
"如果 :class:`PyZipFile` 的 *optimize* 形参未给定或为 ``-1``,则相应的文件为 :file:`\\*.pyc` "
765+
"文件,并在必要时进行编译。"
761766

762767
#: ../../library/zipfile.rst:553
763768
msgid ""
764769
"If the *optimize* parameter to :class:`PyZipFile` was ``0``, ``1`` or ``2``,"
765770
" only files with that optimization level (see :func:`compile`) are added to "
766771
"the archive, compiling if necessary."
767772
msgstr ""
773+
"如果 :class:`PyZipFile` 的 *optimize* 形参为 ``0``, ``1`` 或 ``2``,则限具有相应优化级别 (参见 "
774+
":func:`compile`) 的文件会被添加到归档,并在必要时进行编译。"
768775

769776
#: ../../library/zipfile.rst:557
770777
msgid ""

0 commit comments

Comments
 (0)