|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2001-2023, Python Software Foundation |
| 3 | +# This file is distributed under the same license as the Python package. |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 | +# |
| 6 | +# Translators: |
| 7 | +# Rafael Fontenelle <rffontenelle@gmail.com>, 2023 |
| 8 | +# |
| 9 | +#, fuzzy |
| 10 | +msgid "" |
| 11 | +msgstr "" |
| 12 | +"Project-Id-Version: Python 3.10\n" |
| 13 | +"Report-Msgid-Bugs-To: \n" |
| 14 | +"POT-Creation-Date: 2023-08-04 15:17+0000\n" |
| 15 | +"PO-Revision-Date: 2022-11-05 17:21+0000\n" |
| 16 | +"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n" |
| 17 | +"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" |
| 18 | +"MIME-Version: 1.0\n" |
| 19 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 20 | +"Content-Transfer-Encoding: 8bit\n" |
| 21 | +"Language: pl\n" |
| 22 | +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && " |
| 23 | +"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " |
| 24 | +"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" |
| 25 | + |
| 26 | +msgid ":mod:`bz2` --- Support for :program:`bzip2` compression" |
| 27 | +msgstr "" |
| 28 | + |
| 29 | +msgid "**Source code:** :source:`Lib/bz2.py`" |
| 30 | +msgstr "" |
| 31 | + |
| 32 | +msgid "" |
| 33 | +"This module provides a comprehensive interface for compressing and " |
| 34 | +"decompressing data using the bzip2 compression algorithm." |
| 35 | +msgstr "" |
| 36 | + |
| 37 | +msgid "The :mod:`bz2` module contains:" |
| 38 | +msgstr "" |
| 39 | + |
| 40 | +msgid "" |
| 41 | +"The :func:`.open` function and :class:`BZ2File` class for reading and " |
| 42 | +"writing compressed files." |
| 43 | +msgstr "" |
| 44 | + |
| 45 | +msgid "" |
| 46 | +"The :class:`BZ2Compressor` and :class:`BZ2Decompressor` classes for " |
| 47 | +"incremental (de)compression." |
| 48 | +msgstr "" |
| 49 | + |
| 50 | +msgid "" |
| 51 | +"The :func:`compress` and :func:`decompress` functions for one-shot " |
| 52 | +"(de)compression." |
| 53 | +msgstr "" |
| 54 | + |
| 55 | +msgid "(De)compression of files" |
| 56 | +msgstr "" |
| 57 | + |
| 58 | +msgid "" |
| 59 | +"Open a bzip2-compressed file in binary or text mode, returning a :term:`file " |
| 60 | +"object`." |
| 61 | +msgstr "" |
| 62 | + |
| 63 | +msgid "" |
| 64 | +"As with the constructor for :class:`BZ2File`, the *filename* argument can be " |
| 65 | +"an actual filename (a :class:`str` or :class:`bytes` object), or an existing " |
| 66 | +"file object to read from or write to." |
| 67 | +msgstr "" |
| 68 | + |
| 69 | +msgid "" |
| 70 | +"The *mode* argument can be any of ``'r'``, ``'rb'``, ``'w'``, ``'wb'``, " |
| 71 | +"``'x'``, ``'xb'``, ``'a'`` or ``'ab'`` for binary mode, or ``'rt'``, " |
| 72 | +"``'wt'``, ``'xt'``, or ``'at'`` for text mode. The default is ``'rb'``." |
| 73 | +msgstr "" |
| 74 | + |
| 75 | +msgid "" |
| 76 | +"The *compresslevel* argument is an integer from 1 to 9, as for the :class:" |
| 77 | +"`BZ2File` constructor." |
| 78 | +msgstr "" |
| 79 | + |
| 80 | +msgid "" |
| 81 | +"For binary mode, this function is equivalent to the :class:`BZ2File` " |
| 82 | +"constructor: ``BZ2File(filename, mode, compresslevel=compresslevel)``. In " |
| 83 | +"this case, the *encoding*, *errors* and *newline* arguments must not be " |
| 84 | +"provided." |
| 85 | +msgstr "" |
| 86 | + |
| 87 | +msgid "" |
| 88 | +"For text mode, a :class:`BZ2File` object is created, and wrapped in an :" |
| 89 | +"class:`io.TextIOWrapper` instance with the specified encoding, error " |
| 90 | +"handling behavior, and line ending(s)." |
| 91 | +msgstr "" |
| 92 | + |
| 93 | +msgid "The ``'x'`` (exclusive creation) mode was added." |
| 94 | +msgstr "" |
| 95 | + |
| 96 | +msgid "Accepts a :term:`path-like object`." |
| 97 | +msgstr "" |
| 98 | + |
| 99 | +msgid "Open a bzip2-compressed file in binary mode." |
| 100 | +msgstr "" |
| 101 | + |
| 102 | +msgid "" |
| 103 | +"If *filename* is a :class:`str` or :class:`bytes` object, open the named " |
| 104 | +"file directly. Otherwise, *filename* should be a :term:`file object`, which " |
| 105 | +"will be used to read or write the compressed data." |
| 106 | +msgstr "" |
| 107 | + |
| 108 | +msgid "" |
| 109 | +"The *mode* argument can be either ``'r'`` for reading (default), ``'w'`` for " |
| 110 | +"overwriting, ``'x'`` for exclusive creation, or ``'a'`` for appending. These " |
| 111 | +"can equivalently be given as ``'rb'``, ``'wb'``, ``'xb'`` and ``'ab'`` " |
| 112 | +"respectively." |
| 113 | +msgstr "" |
| 114 | + |
| 115 | +msgid "" |
| 116 | +"If *filename* is a file object (rather than an actual file name), a mode of " |
| 117 | +"``'w'`` does not truncate the file, and is instead equivalent to ``'a'``." |
| 118 | +msgstr "" |
| 119 | + |
| 120 | +msgid "" |
| 121 | +"If *mode* is ``'w'`` or ``'a'``, *compresslevel* can be an integer between " |
| 122 | +"``1`` and ``9`` specifying the level of compression: ``1`` produces the " |
| 123 | +"least compression, and ``9`` (default) produces the most compression." |
| 124 | +msgstr "" |
| 125 | + |
| 126 | +msgid "" |
| 127 | +"If *mode* is ``'r'``, the input file may be the concatenation of multiple " |
| 128 | +"compressed streams." |
| 129 | +msgstr "" |
| 130 | + |
| 131 | +msgid "" |
| 132 | +":class:`BZ2File` provides all of the members specified by the :class:`io." |
| 133 | +"BufferedIOBase`, except for :meth:`detach` and :meth:`truncate`. Iteration " |
| 134 | +"and the :keyword:`with` statement are supported." |
| 135 | +msgstr "" |
| 136 | + |
| 137 | +msgid ":class:`BZ2File` also provides the following method:" |
| 138 | +msgstr "" |
| 139 | + |
| 140 | +msgid "" |
| 141 | +"Return buffered data without advancing the file position. At least one byte " |
| 142 | +"of data will be returned (unless at EOF). The exact number of bytes returned " |
| 143 | +"is unspecified." |
| 144 | +msgstr "" |
| 145 | + |
| 146 | +msgid "" |
| 147 | +"While calling :meth:`peek` does not change the file position of the :class:" |
| 148 | +"`BZ2File`, it may change the position of the underlying file object (e.g. if " |
| 149 | +"the :class:`BZ2File` was constructed by passing a file object for " |
| 150 | +"*filename*)." |
| 151 | +msgstr "" |
| 152 | + |
| 153 | +msgid "Support for the :keyword:`with` statement was added." |
| 154 | +msgstr "" |
| 155 | + |
| 156 | +msgid "" |
| 157 | +"The :meth:`fileno`, :meth:`readable`, :meth:`seekable`, :meth:`writable`, :" |
| 158 | +"meth:`read1` and :meth:`readinto` methods were added." |
| 159 | +msgstr "" |
| 160 | + |
| 161 | +msgid "" |
| 162 | +"Support was added for *filename* being a :term:`file object` instead of an " |
| 163 | +"actual filename." |
| 164 | +msgstr "" |
| 165 | + |
| 166 | +msgid "" |
| 167 | +"The ``'a'`` (append) mode was added, along with support for reading multi-" |
| 168 | +"stream files." |
| 169 | +msgstr "" |
| 170 | + |
| 171 | +msgid "" |
| 172 | +"The :meth:`~io.BufferedIOBase.read` method now accepts an argument of " |
| 173 | +"``None``." |
| 174 | +msgstr "" |
| 175 | + |
| 176 | +msgid "" |
| 177 | +"The *buffering* parameter has been removed. It was ignored and deprecated " |
| 178 | +"since Python 3.0. Pass an open file object to control how the file is opened." |
| 179 | +msgstr "" |
| 180 | + |
| 181 | +msgid "The *compresslevel* parameter became keyword-only." |
| 182 | +msgstr "" |
| 183 | + |
| 184 | +msgid "" |
| 185 | +"This class is thread unsafe in the face of multiple simultaneous readers or " |
| 186 | +"writers, just like its equivalent classes in :mod:`gzip` and :mod:`lzma` " |
| 187 | +"have always been." |
| 188 | +msgstr "" |
| 189 | + |
| 190 | +msgid "Incremental (de)compression" |
| 191 | +msgstr "" |
| 192 | + |
| 193 | +msgid "" |
| 194 | +"Create a new compressor object. This object may be used to compress data " |
| 195 | +"incrementally. For one-shot compression, use the :func:`compress` function " |
| 196 | +"instead." |
| 197 | +msgstr "" |
| 198 | + |
| 199 | +msgid "" |
| 200 | +"*compresslevel*, if given, must be an integer between ``1`` and ``9``. The " |
| 201 | +"default is ``9``." |
| 202 | +msgstr "" |
| 203 | + |
| 204 | +msgid "" |
| 205 | +"Provide data to the compressor object. Returns a chunk of compressed data if " |
| 206 | +"possible, or an empty byte string otherwise." |
| 207 | +msgstr "" |
| 208 | + |
| 209 | +msgid "" |
| 210 | +"When you have finished providing data to the compressor, call the :meth:" |
| 211 | +"`flush` method to finish the compression process." |
| 212 | +msgstr "" |
| 213 | + |
| 214 | +msgid "" |
| 215 | +"Finish the compression process. Returns the compressed data left in internal " |
| 216 | +"buffers." |
| 217 | +msgstr "" |
| 218 | + |
| 219 | +msgid "" |
| 220 | +"The compressor object may not be used after this method has been called." |
| 221 | +msgstr "" |
| 222 | + |
| 223 | +msgid "" |
| 224 | +"Create a new decompressor object. This object may be used to decompress data " |
| 225 | +"incrementally. For one-shot compression, use the :func:`decompress` function " |
| 226 | +"instead." |
| 227 | +msgstr "" |
| 228 | + |
| 229 | +msgid "" |
| 230 | +"This class does not transparently handle inputs containing multiple " |
| 231 | +"compressed streams, unlike :func:`decompress` and :class:`BZ2File`. If you " |
| 232 | +"need to decompress a multi-stream input with :class:`BZ2Decompressor`, you " |
| 233 | +"must use a new decompressor for each stream." |
| 234 | +msgstr "" |
| 235 | + |
| 236 | +msgid "" |
| 237 | +"Decompress *data* (a :term:`bytes-like object`), returning uncompressed data " |
| 238 | +"as bytes. Some of *data* may be buffered internally, for use in later calls " |
| 239 | +"to :meth:`decompress`. The returned data should be concatenated with the " |
| 240 | +"output of any previous calls to :meth:`decompress`." |
| 241 | +msgstr "" |
| 242 | + |
| 243 | +msgid "" |
| 244 | +"If *max_length* is nonnegative, returns at most *max_length* bytes of " |
| 245 | +"decompressed data. If this limit is reached and further output can be " |
| 246 | +"produced, the :attr:`~.needs_input` attribute will be set to ``False``. In " |
| 247 | +"this case, the next call to :meth:`~.decompress` may provide *data* as " |
| 248 | +"``b''`` to obtain more of the output." |
| 249 | +msgstr "" |
| 250 | + |
| 251 | +msgid "" |
| 252 | +"If all of the input data was decompressed and returned (either because this " |
| 253 | +"was less than *max_length* bytes, or because *max_length* was negative), " |
| 254 | +"the :attr:`~.needs_input` attribute will be set to ``True``." |
| 255 | +msgstr "" |
| 256 | + |
| 257 | +msgid "" |
| 258 | +"Attempting to decompress data after the end of stream is reached raises an :" |
| 259 | +"exc:`EOFError`. Any data found after the end of the stream is ignored and " |
| 260 | +"saved in the :attr:`~.unused_data` attribute." |
| 261 | +msgstr "" |
| 262 | + |
| 263 | +msgid "Added the *max_length* parameter." |
| 264 | +msgstr "" |
| 265 | + |
| 266 | +msgid "``True`` if the end-of-stream marker has been reached." |
| 267 | +msgstr "" |
| 268 | + |
| 269 | +msgid "Data found after the end of the compressed stream." |
| 270 | +msgstr "" |
| 271 | + |
| 272 | +msgid "" |
| 273 | +"If this attribute is accessed before the end of the stream has been reached, " |
| 274 | +"its value will be ``b''``." |
| 275 | +msgstr "" |
| 276 | + |
| 277 | +msgid "" |
| 278 | +"``False`` if the :meth:`.decompress` method can provide more decompressed " |
| 279 | +"data before requiring new uncompressed input." |
| 280 | +msgstr "" |
| 281 | + |
| 282 | +msgid "One-shot (de)compression" |
| 283 | +msgstr "" |
| 284 | + |
| 285 | +msgid "Compress *data*, a :term:`bytes-like object <bytes-like object>`." |
| 286 | +msgstr "" |
| 287 | + |
| 288 | +msgid "For incremental compression, use a :class:`BZ2Compressor` instead." |
| 289 | +msgstr "" |
| 290 | + |
| 291 | +msgid "Decompress *data*, a :term:`bytes-like object <bytes-like object>`." |
| 292 | +msgstr "" |
| 293 | + |
| 294 | +msgid "" |
| 295 | +"If *data* is the concatenation of multiple compressed streams, decompress " |
| 296 | +"all of the streams." |
| 297 | +msgstr "" |
| 298 | + |
| 299 | +msgid "For incremental decompression, use a :class:`BZ2Decompressor` instead." |
| 300 | +msgstr "" |
| 301 | + |
| 302 | +msgid "Support for multi-stream inputs was added." |
| 303 | +msgstr "" |
| 304 | + |
| 305 | +msgid "Examples of usage" |
| 306 | +msgstr "Przykłady użycia" |
| 307 | + |
| 308 | +msgid "Below are some examples of typical usage of the :mod:`bz2` module." |
| 309 | +msgstr "" |
| 310 | + |
| 311 | +msgid "" |
| 312 | +"Using :func:`compress` and :func:`decompress` to demonstrate round-trip " |
| 313 | +"compression:" |
| 314 | +msgstr "" |
| 315 | + |
| 316 | +msgid "Using :class:`BZ2Compressor` for incremental compression:" |
| 317 | +msgstr "" |
| 318 | + |
| 319 | +msgid "" |
| 320 | +"The example above uses a very \"nonrandom\" stream of data (a stream of " |
| 321 | +"``b\"z\"`` chunks). Random data tends to compress poorly, while ordered, " |
| 322 | +"repetitive data usually yields a high compression ratio." |
| 323 | +msgstr "" |
| 324 | + |
| 325 | +msgid "Writing and reading a bzip2-compressed file in binary mode:" |
| 326 | +msgstr "" |
0 commit comments