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

Skip to content

Commit eb1eece

Browse files
committed
[po] auto sync bot
1 parent ab133da commit eb1eece

1 file changed

Lines changed: 19 additions & 12 deletions

File tree

library/gzip.po

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#
66
# Translators:
77
# sgqy <[email protected]>, 2019
8-
# Zombie110year <[email protected]>, 2019
9-
# Freesand Leo <[email protected]>, 2019
108
# 1lin24 <[email protected]>, 2019
119
#
1210
#, fuzzy
@@ -115,7 +113,7 @@ msgid ""
115113
"handling behavior, and line ending(s)."
116114
msgstr ""
117115
"对于文本模式,将会创建一个 :class:`GzipFile` 对象,并将它封装到一个 :class:`io.TextIOWrapper` 实例中, "
118-
"这个实例默认了指定编码,错误抓获行为和行尾。"
116+
"这个实例默认了指定编码,错误抓获行为和行。"
119117

120118
#: ../../library/gzip.rst:52
121119
msgid ""
@@ -125,11 +123,11 @@ msgstr "支持 *filename* 为一个文件对象,支持文本模式和 *encodin
125123

126124
#: ../../library/gzip.rst:56
127125
msgid "Added support for the ``'x'``, ``'xb'`` and ``'xt'`` modes."
128-
msgstr "支持 ``'x'``, ``'xb'`` 和``'xt'`` 三种模式."
126+
msgstr "支持 ``'x'``, ``'xb'`` 和``'xt'`` 三种模式"
129127

130128
#: ../../library/gzip.rst:59 ../../library/gzip.rst:156
131129
msgid "Accepts a :term:`path-like object`."
132-
msgstr "接受一个 :term:`类路径对象 <path-like object>`。"
130+
msgstr "接受一个 :term:`path-like object`。"
133131

134132
#: ../../library/gzip.rst:64
135133
msgid ""
@@ -138,7 +136,7 @@ msgid ""
138136
" method. At least one of *fileobj* and *filename* must be given a non-"
139137
"trivial value."
140138
msgstr ""
141-
" :class:`GzipFile` 类的构造器支持 :meth:`truncate` 的异常,与:term:`文件对象` "
139+
" :class:`GzipFile` 类的构造器支持 :meth:`truncate` 的异常,与:term:`file object` "
142140
"的大多数方法非常相似。*fileobj* 和*filename* 至少有一个不为空。"
143141

144142
#: ../../library/gzip.rst:69
@@ -207,17 +205,23 @@ msgid ""
207205
"for writing as *fileobj*, and retrieve the resulting memory buffer using the"
208206
" :class:`io.BytesIO` object's :meth:`~io.BytesIO.getvalue` method."
209207
msgstr ""
208+
"调用 :class:`GzipFile` 的 :meth:`close` 方法不会关闭 "
209+
"*fileobj*,因为你可以希望增加其它内容到已经压缩的数中。你可以将一个 :class:`io.BytesIO` 对象作为 "
210+
"*fileobj*,也可以使用 :class:`io.BytesIO` 的 :meth:`~io.BytesIO.getvalue` "
211+
"方法从内存缓存中恢复数据。"
210212

211213
#: ../../library/gzip.rst:105
212214
msgid ""
213215
":class:`GzipFile` supports the :class:`io.BufferedIOBase` interface, "
214216
"including iteration and the :keyword:`with` statement. Only the "
215217
":meth:`truncate` method isn't implemented."
216218
msgstr ""
219+
":class:`GzipFile` 支持 :class:`io.BufferedIOBase` 类的接口, 包括迭代和 :keyword:`with` "
220+
"语句。只有 :meth:`truncate` 方法没有实现。"
217221

218222
#: ../../library/gzip.rst:109
219223
msgid ":class:`GzipFile` also provides the following method and attribute:"
220-
msgstr ""
224+
msgstr ":class:`GzipFile` 还提供了以下的方法和属性:"
221225

222226
#: ../../library/gzip.rst:113
223227
msgid ""
@@ -239,7 +243,7 @@ msgid ""
239243
"When decompressing, the value of the last modification time field in the "
240244
"most recently read header may be read from this attribute, as an integer. "
241245
"The initial value before reading any headers is ``None``."
242-
msgstr ""
246+
msgstr "在解压的过程中,最后修改时间字段的值可能来自于这个属性,以整数的形式出现。在读取任何文件头信息前,初始值为 ``None``。"
243247

244248
#: ../../library/gzip.rst:131
245249
msgid ""
@@ -249,6 +253,9 @@ msgid ""
249253
":func:`time.time` and the :attr:`~os.stat_result.st_mtime` attribute of the "
250254
"object returned by :func:`os.stat`."
251255
msgstr ""
256+
"所有 :program:`gzip` 东方压缩流中必须包含时间戳这个字段。以便于像 :program:`gunzip`\\ "
257+
"这样的程序可以使用时间戳。格式与 :func:`time.time` 的返回值和 :func:`os.stat` 对象的 "
258+
":attr:`~os.stat_result.st_mtime` 属性值一样。"
252259

253260
#: ../../library/gzip.rst:137
254261
msgid ""
@@ -258,7 +265,7 @@ msgstr "支持 :keyword:`with` 语句,构造器参数 *mtime* 和 :attr:`mtim
258265

259266
#: ../../library/gzip.rst:141
260267
msgid "Support for zero-padded and unseekable files was added."
261-
msgstr ""
268+
msgstr "添加了对零填充和不可搜索文件的支持。"
262269

263270
#: ../../library/gzip.rst:144
264271
msgid "The :meth:`io.BufferedIOBase.read1` method is now implemented."
@@ -274,16 +281,16 @@ msgid ""
274281
"object>`. The :meth:`~io.BufferedIOBase.read` method now accepts an argument"
275282
" of ``None``."
276283
msgstr ""
277-
"支持写入任意 :term:`类字节对象 <bytes-like object>`。:meth:`~io.BufferedIOBase.read` "
278-
"方法可以接受``None``为参数。"
284+
"支持写入任意 :term:`bytes-like objects <bytes-like "
285+
"object>`。:meth:`~io.BufferedIOBase.read` 方法可以接受``None``为参数。"
279286

280287
#: ../../library/gzip.rst:162
281288
msgid ""
282289
"Compress the *data*, returning a :class:`bytes` object containing the "
283290
"compressed data. *compresslevel* has the same meaning as in the "
284291
":class:`GzipFile` constructor above."
285292
msgstr ""
286-
"压缩 *data* 返回一个包含压缩数据的 :class:`bytes` 对象。 *compresslevel* 的作用与上面提到的 "
293+
"压缩 *data* 返回一个包含压缩数据的 :class:`bytes` 对象。 *compresslevel* 的意义与上面提到的 "
287294
":class:`GzipFile` 构造器一至。"
288295

289296
#: ../../library/gzip.rst:170

0 commit comments

Comments
 (0)