|
| 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 | +# Transifex Bot <>, 2023 |
| 8 | +# |
| 9 | +#, fuzzy |
| 10 | +msgid "" |
| 11 | +msgstr "" |
| 12 | +"Project-Id-Version: Python 3.11\n" |
| 13 | +"Report-Msgid-Bugs-To: \n" |
| 14 | +"POT-Creation-Date: 2023-05-19 14:13+0000\n" |
| 15 | +"PO-Revision-Date: 2021-06-28 01:04+0000\n" |
| 16 | +"Last-Translator: Transifex Bot <>, 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:`email.charset`: Representing character sets" |
| 27 | +msgstr "" |
| 28 | + |
| 29 | +msgid "**Source code:** :source:`Lib/email/charset.py`" |
| 30 | +msgstr "" |
| 31 | + |
| 32 | +msgid "" |
| 33 | +"This module is part of the legacy (``Compat32``) email API. In the new API " |
| 34 | +"only the aliases table is used." |
| 35 | +msgstr "" |
| 36 | + |
| 37 | +msgid "" |
| 38 | +"The remaining text in this section is the original documentation of the " |
| 39 | +"module." |
| 40 | +msgstr "" |
| 41 | + |
| 42 | +msgid "" |
| 43 | +"This module provides a class :class:`Charset` for representing character " |
| 44 | +"sets and character set conversions in email messages, as well as a character " |
| 45 | +"set registry and several convenience methods for manipulating this registry. " |
| 46 | +"Instances of :class:`Charset` are used in several other modules within the :" |
| 47 | +"mod:`email` package." |
| 48 | +msgstr "" |
| 49 | + |
| 50 | +msgid "Import this class from the :mod:`email.charset` module." |
| 51 | +msgstr "" |
| 52 | + |
| 53 | +msgid "Map character sets to their email properties." |
| 54 | +msgstr "" |
| 55 | + |
| 56 | +msgid "" |
| 57 | +"This class provides information about the requirements imposed on email for " |
| 58 | +"a specific character set. It also provides convenience routines for " |
| 59 | +"converting between character sets, given the availability of the applicable " |
| 60 | +"codecs. Given a character set, it will do its best to provide information " |
| 61 | +"on how to use that character set in an email message in an RFC-compliant way." |
| 62 | +msgstr "" |
| 63 | + |
| 64 | +msgid "" |
| 65 | +"Certain character sets must be encoded with quoted-printable or base64 when " |
| 66 | +"used in email headers or bodies. Certain character sets must be converted " |
| 67 | +"outright, and are not allowed in email." |
| 68 | +msgstr "" |
| 69 | + |
| 70 | +msgid "" |
| 71 | +"Optional *input_charset* is as described below; it is always coerced to " |
| 72 | +"lower case. After being alias normalized it is also used as a lookup into " |
| 73 | +"the registry of character sets to find out the header encoding, body " |
| 74 | +"encoding, and output conversion codec to be used for the character set. For " |
| 75 | +"example, if *input_charset* is ``iso-8859-1``, then headers and bodies will " |
| 76 | +"be encoded using quoted-printable and no output conversion codec is " |
| 77 | +"necessary. If *input_charset* is ``euc-jp``, then headers will be encoded " |
| 78 | +"with base64, bodies will not be encoded, but output text will be converted " |
| 79 | +"from the ``euc-jp`` character set to the ``iso-2022-jp`` character set." |
| 80 | +msgstr "" |
| 81 | + |
| 82 | +msgid ":class:`Charset` instances have the following data attributes:" |
| 83 | +msgstr "" |
| 84 | + |
| 85 | +msgid "" |
| 86 | +"The initial character set specified. Common aliases are converted to their " |
| 87 | +"*official* email names (e.g. ``latin_1`` is converted to ``iso-8859-1``). " |
| 88 | +"Defaults to 7-bit ``us-ascii``." |
| 89 | +msgstr "" |
| 90 | + |
| 91 | +msgid "" |
| 92 | +"If the character set must be encoded before it can be used in an email " |
| 93 | +"header, this attribute will be set to ``Charset.QP`` (for quoted-printable), " |
| 94 | +"``Charset.BASE64`` (for base64 encoding), or ``Charset.SHORTEST`` for the " |
| 95 | +"shortest of QP or BASE64 encoding. Otherwise, it will be ``None``." |
| 96 | +msgstr "" |
| 97 | + |
| 98 | +msgid "" |
| 99 | +"Same as *header_encoding*, but describes the encoding for the mail message's " |
| 100 | +"body, which indeed may be different than the header encoding. ``Charset." |
| 101 | +"SHORTEST`` is not allowed for *body_encoding*." |
| 102 | +msgstr "" |
| 103 | + |
| 104 | +msgid "" |
| 105 | +"Some character sets must be converted before they can be used in email " |
| 106 | +"headers or bodies. If the *input_charset* is one of them, this attribute " |
| 107 | +"will contain the name of the character set output will be converted to. " |
| 108 | +"Otherwise, it will be ``None``." |
| 109 | +msgstr "" |
| 110 | + |
| 111 | +msgid "" |
| 112 | +"The name of the Python codec used to convert the *input_charset* to " |
| 113 | +"Unicode. If no conversion codec is necessary, this attribute will be " |
| 114 | +"``None``." |
| 115 | +msgstr "" |
| 116 | + |
| 117 | +msgid "" |
| 118 | +"The name of the Python codec used to convert Unicode to the " |
| 119 | +"*output_charset*. If no conversion codec is necessary, this attribute will " |
| 120 | +"have the same value as the *input_codec*." |
| 121 | +msgstr "" |
| 122 | + |
| 123 | +msgid ":class:`Charset` instances also have the following methods:" |
| 124 | +msgstr "" |
| 125 | + |
| 126 | +msgid "Return the content transfer encoding used for body encoding." |
| 127 | +msgstr "" |
| 128 | + |
| 129 | +msgid "" |
| 130 | +"This is either the string ``quoted-printable`` or ``base64`` depending on " |
| 131 | +"the encoding used, or it is a function, in which case you should call the " |
| 132 | +"function with a single argument, the Message object being encoded. The " |
| 133 | +"function should then set the :mailheader:`Content-Transfer-Encoding` header " |
| 134 | +"itself to whatever is appropriate." |
| 135 | +msgstr "" |
| 136 | + |
| 137 | +msgid "" |
| 138 | +"Returns the string ``quoted-printable`` if *body_encoding* is ``QP``, " |
| 139 | +"returns the string ``base64`` if *body_encoding* is ``BASE64``, and returns " |
| 140 | +"the string ``7bit`` otherwise." |
| 141 | +msgstr "" |
| 142 | + |
| 143 | +msgid "Return the output character set." |
| 144 | +msgstr "" |
| 145 | + |
| 146 | +msgid "" |
| 147 | +"This is the *output_charset* attribute if that is not ``None``, otherwise it " |
| 148 | +"is *input_charset*." |
| 149 | +msgstr "" |
| 150 | + |
| 151 | +msgid "Header-encode the string *string*." |
| 152 | +msgstr "" |
| 153 | + |
| 154 | +msgid "" |
| 155 | +"The type of encoding (base64 or quoted-printable) will be based on the " |
| 156 | +"*header_encoding* attribute." |
| 157 | +msgstr "" |
| 158 | + |
| 159 | +msgid "Header-encode a *string* by converting it first to bytes." |
| 160 | +msgstr "" |
| 161 | + |
| 162 | +msgid "" |
| 163 | +"This is similar to :meth:`header_encode` except that the string is fit into " |
| 164 | +"maximum line lengths as given by the argument *maxlengths*, which must be an " |
| 165 | +"iterator: each element returned from this iterator will provide the next " |
| 166 | +"maximum line length." |
| 167 | +msgstr "" |
| 168 | + |
| 169 | +msgid "Body-encode the string *string*." |
| 170 | +msgstr "" |
| 171 | + |
| 172 | +msgid "" |
| 173 | +"The type of encoding (base64 or quoted-printable) will be based on the " |
| 174 | +"*body_encoding* attribute." |
| 175 | +msgstr "" |
| 176 | + |
| 177 | +msgid "" |
| 178 | +"The :class:`Charset` class also provides a number of methods to support " |
| 179 | +"standard operations and built-in functions." |
| 180 | +msgstr "" |
| 181 | + |
| 182 | +msgid "" |
| 183 | +"Returns *input_charset* as a string coerced to lower case. :meth:`__repr__` " |
| 184 | +"is an alias for :meth:`__str__`." |
| 185 | +msgstr "" |
| 186 | + |
| 187 | +msgid "" |
| 188 | +"This method allows you to compare two :class:`Charset` instances for " |
| 189 | +"equality." |
| 190 | +msgstr "" |
| 191 | + |
| 192 | +msgid "" |
| 193 | +"This method allows you to compare two :class:`Charset` instances for " |
| 194 | +"inequality." |
| 195 | +msgstr "" |
| 196 | + |
| 197 | +msgid "" |
| 198 | +"The :mod:`email.charset` module also provides the following functions for " |
| 199 | +"adding new entries to the global character set, alias, and codec registries:" |
| 200 | +msgstr "" |
| 201 | + |
| 202 | +msgid "Add character properties to the global registry." |
| 203 | +msgstr "" |
| 204 | + |
| 205 | +msgid "" |
| 206 | +"*charset* is the input character set, and must be the canonical name of a " |
| 207 | +"character set." |
| 208 | +msgstr "" |
| 209 | + |
| 210 | +msgid "" |
| 211 | +"Optional *header_enc* and *body_enc* is either ``Charset.QP`` for quoted-" |
| 212 | +"printable, ``Charset.BASE64`` for base64 encoding, ``Charset.SHORTEST`` for " |
| 213 | +"the shortest of quoted-printable or base64 encoding, or ``None`` for no " |
| 214 | +"encoding. ``SHORTEST`` is only valid for *header_enc*. The default is " |
| 215 | +"``None`` for no encoding." |
| 216 | +msgstr "" |
| 217 | + |
| 218 | +msgid "" |
| 219 | +"Optional *output_charset* is the character set that the output should be in. " |
| 220 | +"Conversions will proceed from input charset, to Unicode, to the output " |
| 221 | +"charset when the method :meth:`Charset.convert` is called. The default is " |
| 222 | +"to output in the same character set as the input." |
| 223 | +msgstr "" |
| 224 | + |
| 225 | +msgid "" |
| 226 | +"Both *input_charset* and *output_charset* must have Unicode codec entries in " |
| 227 | +"the module's character set-to-codec mapping; use :func:`add_codec` to add " |
| 228 | +"codecs the module does not know about. See the :mod:`codecs` module's " |
| 229 | +"documentation for more information." |
| 230 | +msgstr "" |
| 231 | + |
| 232 | +msgid "" |
| 233 | +"The global character set registry is kept in the module global dictionary " |
| 234 | +"``CHARSETS``." |
| 235 | +msgstr "" |
| 236 | + |
| 237 | +msgid "" |
| 238 | +"Add a character set alias. *alias* is the alias name, e.g. ``latin-1``. " |
| 239 | +"*canonical* is the character set's canonical name, e.g. ``iso-8859-1``." |
| 240 | +msgstr "" |
| 241 | + |
| 242 | +msgid "" |
| 243 | +"The global charset alias registry is kept in the module global dictionary " |
| 244 | +"``ALIASES``." |
| 245 | +msgstr "" |
| 246 | + |
| 247 | +msgid "" |
| 248 | +"Add a codec that map characters in the given character set to and from " |
| 249 | +"Unicode." |
| 250 | +msgstr "" |
| 251 | + |
| 252 | +msgid "" |
| 253 | +"*charset* is the canonical name of a character set. *codecname* is the name " |
| 254 | +"of a Python codec, as appropriate for the second argument to the :class:" |
| 255 | +"`str`'s :meth:`~str.encode` method." |
| 256 | +msgstr "" |
0 commit comments