8000 sync with cpython e4f1fed5 · python/python-docs-zh-tw@b72a91b · GitHub
[go: up one dir, main page]

Skip to content

Commit b72a91b

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython e4f1fed5
1 parent 36f06cb commit b72a91b

File tree

2 files changed

+638
-620
lines changed

2 files changed

+638
-620
lines changed

library/gzip.po

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
10+
"POT-Creation-Date: 2024-06-18 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:03+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -285,10 +285,12 @@ msgstr ""
285285
msgid ""
286286
"Speed is improved by compressing all data at once instead of in a streamed "
287287
"fashion. Calls with *mtime* set to ``0`` are delegated to :func:`zlib."
288-
"compress` for better speed."
288+
"compress` for better speed. In this situation the output may contain a gzip "
289+
"header \"OS\" byte value other than 255 \"unknown\" as supplied by the "
290+
"underlying zlib implementation."
289291
msgstr ""
290292

291-
#: ../../library/gzip.rst:201
293+
#: ../../library/gzip.rst:203
292294
msgid ""
293295
"Decompress the *data*, returning a :class:`bytes` object containing the "
294296
"uncompressed data. This function is capable of decompressing multi-member "
@@ -297,82 +299,82 @@ msgid ""
297299
"*wbits* set to 31 is faster."
298300
msgstr ""
299301

300-
#: ../../library/gzip.rst:208
302+
#: ../../library/gzip.rst:210
301303
msgid ""
302304
"Speed is improved by decompressing members at once in memory instead of in a "
303305
"streamed fashion."
304306
msgstr ""
305307

306-
#: ../../library/gzip.rst:215
308+
#: ../../library/gzip.rst:217
307309
msgid "Examples of usage"
308310
msgstr "用法範例"
309311

310-
#: ../../library/gzip.rst:217
312+
#: ../../library/gzip.rst:219
311313
msgid "Example of how to read a compressed file::"
312314
msgstr "如何讀取壓縮檔案的範例: ::"
313315

314-
#: ../../library/gzip.rst:223
316+
#: ../../library/gzip.rst:225
315317
msgid "Example of how to create a compressed GZIP file::"
316318
msgstr "如何建立一個壓縮的 GZIP 檔案的範例: ::"
317319

318-
#: ../../library/gzip.rst:230
320+
#: ../../library/gzip.rst:232
319321
msgid "Example of how to GZIP compress an existing file::"
320322
msgstr "如何壓縮一個已存在的檔案的範例: ::"
321323

322-
#: ../../library/gzip.rst:238
324+
#: ../../library/gzip.rst:240
323325
msgid "Example of how to GZIP compress a binary string::"
324326
msgstr "如何壓縮一個二進位字串的範例: ::"
325327

326-
#: ../../library/gzip.rst:246
328+
#: ../../library/gzip.rst:248
327329
msgid "Module :mod:`zlib`"
328330
msgstr ":mod:`zlib` 模組"
329331

330-
#: ../../library/gzip.rst:247
332+
#: ../../library/gzip.rst:249
331333
msgid ""
332334
"The basic data compression module needed to support the :program:`gzip` file "
333335
"format."
334336
msgstr ""
335337

336-
#: ../../library/gzip.rst:256
338+
#: ../../library/gzip.rst:258
337339
msgid "Command Line Interface"
338340
msgstr "命令列介面"
339341

340-
#: ../../library/gzip.rst:258
342+
#: ../../library/gzip.rst:260
341343
msgid ""
342344
"The :mod:`gzip` module provides a simple command line interface to compress "
343345
"or decompress files."
344346
msgstr ""
345347

346-
#: ../../library/gzip.rst:261
348+
#: ../../library/gzip.rst:263
347349
msgid "Once executed the :mod:`gzip` module keeps the input file(s)."
348350
msgstr ""
349351

350-
#: ../../library/gzip.rst:265
352+
#: ../../library/gzip.rst:267
351353
msgid ""
352354
"Add a new command line interface with a usage. By default, when you will "
353355
"execute the CLI, the default compression level is 6."
354356
msgstr ""
355357

356-
#: ../../library/gzip.rst:269
358+
#: ../../library/gzip.rst:271
357359
msgid "Command line options"
358360
msgstr "命令列選項"
359361

360-
#: ../../library/gzip.rst:273
362+
#: ../../library/gzip.rst:275
361363
msgid "If *file* is not specified, read from :data:`sys.stdin`."
362364
msgstr "如果未指定 *file*,則從 :data:`sys.stdin` 讀取。"
363365

364-
#: ../../library/gzip.rst:277
366+
#: ../../library/gzip.rst:279
365367
msgid "Indicates the fastest compression method (less compression)."
366368
msgstr ""
367369

368-
#: ../../library/gzip.rst:281
370+
#: ../../library/gzip.rst:283
369371
msgid "Indicates the slowest compression method (best compression)."
370372
msgstr ""
371373

372-
#: ../../library/gzip.rst:285
374+
#: ../../library/gzip.rst:287
373375
msgid "Decompress the given file."
374376
msgstr "解壓縮指定的檔案。"
375377

376-
#: ../../library/gzip.rst:289
378+
#: ../../library/gzip.rst:291
377379
msgid "Show the help message."
378380
msgstr "顯示幫助訊息。"

0 commit comments

Comments
 (0)
0