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

Skip to content

Commit 90ce5fd

Browse files
committed
[po] auto sync bot
1 parent 91e67f6 commit 90ce5fd

8 files changed

Lines changed: 4479 additions & 4442 deletions

File tree

faq/programming.po

Lines changed: 350 additions & 344 deletions
Large diffs are not rendered by default.

library/bz2.po

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
# Zombie110year <[email protected]>, 2019
88
# Dingyuan Wang <[email protected]>, 2019
99
# Freesand Leo <[email protected]>, 2019
10+
# sgqy <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
1314
msgstr ""
1415
"Project-Id-Version: Python 3.7\n"
1516
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
17+
"POT-Creation-Date: 2019-05-14 11:26+0900\n"
1718
"PO-Revision-Date: 2017-02-16 19:36+0000\n"
18-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
19+
"Last-Translator: sgqy <sgqyzh@gmail.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -154,7 +155,7 @@ msgstr ""
154155

155156
#: ../../library/bz2.rst:86
156157
msgid ""
157-
"If *mode* is ``'w'`` or ``'a'``, *compresslevel* can be a number between "
158+
"If *mode* is ``'w'`` or ``'a'``, *compresslevel* can be an integer between "
158159
"``1`` and ``9`` specifying the level of compression: ``1`` produces the "
159160
"least compression, and ``9`` (default) produces the most compression."
160161
msgstr ""
@@ -232,7 +233,7 @@ msgstr ""
232233

233234
#: ../../library/bz2.rst:147 ../../library/bz2.rst:235
234235
msgid ""
235-
"*compresslevel*, if given, must be a number between ``1`` and ``9``. The "
236+
"*compresslevel*, if given, must be an integer between ``1`` and ``9``. The "
236237
"default is ``9``."
237238
msgstr ""
238239

@@ -334,16 +335,16 @@ msgid "One-shot (de)compression"
334335
msgstr "一次性压缩或解压"
335336

336337
#: ../../library/bz2.rst:233
337-
msgid "Compress *data*."
338-
msgstr "压缩 *data*。"
338+
msgid "Compress *data*, a :term:`bytes-like object <bytes-like object>`."
339+
msgstr ""
339340

340341
#: ../../library/bz2.rst:238
341342
msgid "For incremental compression, use a :class:`BZ2Compressor` instead."
342343
msgstr ""
343344

344345
#: ../../library/bz2.rst:243
345-
msgid "Decompress *data*."
346-
msgstr "解压 *data*。"
346+
msgid "Decompress *data*, a :term:`bytes-like object <bytes-like object>`."
347+
msgstr ""
347348

348349
#: ../../library/bz2.rst:245
349350
msgid ""
@@ -358,3 +359,32 @@ msgstr ""
358359
#: ../../library/bz2.rst:250
359360
msgid "Support for multi-stream inputs was added."
360361
msgstr "支持了多数据流的输入。"
362+
363+
#: ../../library/bz2.rst:256
364+
msgid "Examples of usage"
365+
msgstr "用法示例"
366+
367+
#: ../../library/bz2.rst:258
368+
msgid "Below are some examples of typical usage of the :mod:`bz2` module."
369+
msgstr ""
370+
371+
#: ../../library/bz2.rst:260
372+
msgid ""
373+
"Using :func:`compress` and :func:`decompress` to demonstrate round-trip "
374+
"compression:"
375+
msgstr ""
376+
377+
#: ../../library/bz2.rst:281
378+
msgid "Using :class:`BZ2Compressor` for incremental compression:"
379+
msgstr ""
380+
381+
#: ../../library/bz2.rst:300
382+
msgid ""
383+
"The example above uses a very \"nonrandom\" stream of data (a stream of "
384+
"`b\"z\"` chunks). Random data tends to compress poorly, while ordered, "
385+
"repetitive data usually yields a high compression ratio."
386+
msgstr ""
387+
388+
#: ../../library/bz2.rst:304
389+
msgid "Writing and reading a bzip2-compressed file in binary mode:"
390+
msgstr ""

library/os.path.po

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.7\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2019-01-16 10:22+0900\n"
16+
"POT-Creation-Date: 2019-05-14 11:26+0900\n"
1717
"PO-Revision-Date: 2017-02-16 23:20+0000\n"
1818
"Last-Translator: Zombie110year <[email protected]>, 2019\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -127,9 +127,9 @@ msgstr ""
127127
#: ../../library/os.path.rst:83
128128
msgid ""
129129
"Return the longest common sub-path of each pathname in the sequence *paths*."
130-
" Raise ValueError if *paths* contains both absolute and relative pathnames,"
131-
" or if *paths* is empty. Unlike :func:`commonprefix`, this returns a valid "
132-
"path."
130+
" Raise :exc:`ValueError` if *paths* contains both absolute and relative "
131+
"pathnames, or if *paths* is empty. Unlike :func:`commonprefix`, this "
132+
"returns a valid path."
133133
msgstr ""
134134

135135
#: ../../library/os.path.rst:89 ../../library/os.path.rst:359
@@ -327,12 +327,11 @@ msgstr ""
327327

328328
#: ../../library/os.path.rst:318
329329
msgid ""
330-
"Normalize the case of a pathname. On Unix and Mac OS X, this returns the "
331-
"path unchanged; on case-insensitive filesystems, it converts the path to "
332-
"lowercase. On Windows, it also converts forward slashes to backward "
333-
"slashes. Raise a :exc:`TypeError` if the type of *path* is not ``str`` or "
334-
"``bytes`` (directly or indirectly through the :class:`os.PathLike` "
335-
"interface)."
330+
"Normalize the case of a pathname. On Windows, convert all characters in the"
331+
" pathname to lowercase, and also convert forward slashes to backward "
332+
"slashes. On other operating systems, return the path unchanged. Raise a "
333+
":exc:`TypeError` if the type of *path* is not ``str`` or ``bytes`` (directly"
334+
" or indirectly through the :class:`os.PathLike` interface)."
336335
msgstr ""
337336

338337
#: ../../library/os.path.rst:330

0 commit comments

Comments
 (0)