|
1 | | -# SOME DESCRIPTIVE TITLE. |
2 | | -# Copyright (C) 2001-2026, 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 | | -# python-doc bot, 2025 |
8 | | -# |
9 | | -#, fuzzy |
| 1 | +# |
10 | 2 | msgid "" |
11 | 3 | msgstr "" |
12 | | -"Project-Id-Version: Python 3.12\n" |
13 | | -"Report-Msgid-Bugs-To: \n" |
14 | | -"POT-Creation-Date: 2026-09-07 21:16+0000\n" |
15 | | -"PO-Revision-Date: 2025-07-18 19:58+0000\n" |
16 | | -"Last-Translator: python-doc bot, 2025\n" |
17 | 4 | "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 | 5 | "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.mime`: Creating email and MIME objects from scratch" |
27 | | -msgstr "" |
28 | | - |
29 | | -msgid "**Source code:** :source:`Lib/email/mime/`" |
30 | | -msgstr "**Kod źródłowy:** :source:`Lib/email/mime/`" |
31 | | - |
32 | | -msgid "" |
33 | | -"This module is part of the legacy (``Compat32``) email API. Its " |
34 | | -"functionality is partially replaced by the :mod:`~email.contentmanager` in " |
35 | | -"the new API, but in certain applications these classes may still be useful, " |
36 | | -"even in non-legacy code." |
37 | | -msgstr "" |
38 | | - |
39 | | -msgid "" |
40 | | -"Ordinarily, you get a message object structure by passing a file or some " |
41 | | -"text to a parser, which parses the text and returns the root message " |
42 | | -"object. However you can also build a complete message structure from " |
43 | | -"scratch, or even individual :class:`~email.message.Message` objects by " |
44 | | -"hand. In fact, you can also take an existing structure and add new :class:" |
45 | | -"`~email.message.Message` objects, move them around, etc. This makes a very " |
46 | | -"convenient interface for slicing-and-dicing MIME messages." |
47 | | -msgstr "" |
48 | | - |
49 | | -msgid "" |
50 | | -"You can create a new object structure by creating :class:`~email.message." |
51 | | -"Message` instances, adding attachments and all the appropriate headers " |
52 | | -"manually. For MIME messages though, the :mod:`email` package provides some " |
53 | | -"convenient subclasses to make things easier." |
54 | | -msgstr "" |
55 | | - |
56 | | -msgid "Here are the classes:" |
57 | | -msgstr "" |
58 | | - |
59 | | -msgid "Module: :mod:`email.mime.base`" |
60 | | -msgstr "" |
61 | | - |
62 | | -msgid "" |
63 | | -"This is the base class for all the MIME-specific subclasses of :class:" |
64 | | -"`~email.message.Message`. Ordinarily you won't create instances " |
65 | | -"specifically of :class:`MIMEBase`, although you could. :class:`MIMEBase` is " |
66 | | -"provided primarily as a convenient base class for more specific MIME-aware " |
67 | | -"subclasses." |
68 | | -msgstr "" |
69 | | - |
70 | | -msgid "" |
71 | | -"*_maintype* is the :mailheader:`Content-Type` major type (e.g. :mimetype:" |
72 | | -"`text` or :mimetype:`image`), and *_subtype* is the :mailheader:`Content-" |
73 | | -"Type` minor type (e.g. :mimetype:`plain` or :mimetype:`gif`). *_params* is " |
74 | | -"a parameter key/value dictionary and is passed directly to :meth:`Message." |
75 | | -"add_header <email.message.Message.add_header>`." |
76 | | -msgstr "" |
77 | | - |
78 | | -msgid "" |
79 | | -"If *policy* is specified, (defaults to the :class:`compat32 <email.policy." |
80 | | -"Compat32>` policy) it will be passed to :class:`~email.message.Message`." |
81 | | -msgstr "" |
82 | | - |
83 | | -msgid "" |
84 | | -"The :class:`MIMEBase` class always adds a :mailheader:`Content-Type` header " |
85 | | -"(based on *_maintype*, *_subtype*, and *_params*), and a :mailheader:`MIME-" |
86 | | -"Version` header (always set to ``1.0``)." |
87 | | -msgstr "" |
88 | | - |
89 | | -msgid "Added *policy* keyword-only parameter." |
90 | | -msgstr "" |
91 | | - |
92 | | -msgid "Module: :mod:`email.mime.nonmultipart`" |
93 | | -msgstr "" |
94 | | - |
95 | | -msgid "" |
96 | | -"A subclass of :class:`~email.mime.base.MIMEBase`, this is an intermediate " |
97 | | -"base class for MIME messages that are not :mimetype:`multipart`. The " |
98 | | -"primary purpose of this class is to prevent the use of the :meth:`~email." |
99 | | -"message.Message.attach` method, which only makes sense for :mimetype:" |
100 | | -"`multipart` messages. If :meth:`~email.message.Message.attach` is called, " |
101 | | -"a :exc:`~email.errors.MultipartConversionError` exception is raised." |
102 | | -msgstr "" |
103 | | - |
104 | | -msgid "Module: :mod:`email.mime.multipart`" |
105 | | -msgstr "" |
106 | | - |
107 | | -msgid "" |
108 | | -"A subclass of :class:`~email.mime.base.MIMEBase`, this is an intermediate " |
109 | | -"base class for MIME messages that are :mimetype:`multipart`. Optional " |
110 | | -"*_subtype* defaults to :mimetype:`mixed`, but can be used to specify the " |
111 | | -"subtype of the message. A :mailheader:`Content-Type` header of :mimetype:" |
112 | | -"`multipart/_subtype` will be added to the message object. A :mailheader:" |
113 | | -"`MIME-Version` header will also be added." |
114 | | -msgstr "" |
115 | | - |
116 | | -msgid "" |
117 | | -"Optional *boundary* is the multipart boundary string. When ``None`` (the " |
118 | | -"default), the boundary is calculated when needed (for example, when the " |
119 | | -"message is serialized)." |
120 | | -msgstr "" |
121 | | - |
122 | | -msgid "" |
123 | | -"*_subparts* is a sequence of initial subparts for the payload. It must be " |
124 | | -"possible to convert this sequence to a list. You can always attach new " |
125 | | -"subparts to the message by using the :meth:`Message.attach <email.message." |
126 | | -"Message.attach>` method." |
127 | | -msgstr "" |
128 | | - |
129 | | -msgid "" |
130 | | -"Optional *policy* argument defaults to :class:`compat32 <email.policy." |
131 | | -"Compat32>`." |
132 | | -msgstr "" |
133 | | - |
134 | | -msgid "" |
135 | | -"Additional parameters for the :mailheader:`Content-Type` header are taken " |
136 | | -"from the keyword arguments, or passed into the *_params* argument, which is " |
137 | | -"a keyword dictionary." |
138 | | -msgstr "" |
139 | | - |
140 | | -msgid "Module: :mod:`email.mime.application`" |
141 | | -msgstr "Moduł: :mod:`email.mime.application`" |
142 | | - |
143 | | -msgid "" |
144 | | -"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" |
145 | | -"`MIMEApplication` class is used to represent MIME message objects of major " |
146 | | -"type :mimetype:`application`. *_data* contains the bytes for the raw " |
147 | | -"application data. Optional *_subtype* specifies the MIME subtype and " |
148 | | -"defaults to :mimetype:`octet-stream`." |
149 | | -msgstr "" |
150 | | - |
151 | | -msgid "" |
152 | | -"Optional *_encoder* is a callable (i.e. function) which will perform the " |
153 | | -"actual encoding of the data for transport. This callable takes one " |
154 | | -"argument, which is the :class:`MIMEApplication` instance. It should use :" |
155 | | -"meth:`~email.message.Message.get_payload` and :meth:`~email.message.Message." |
156 | | -"set_payload` to change the payload to encoded form. It should also add any :" |
157 | | -"mailheader:`Content-Transfer-Encoding` or other headers to the message " |
158 | | -"object as necessary. The default encoding is base64. See the :mod:`email." |
159 | | -"encoders` module for a list of the built-in encoders." |
160 | | -msgstr "" |
161 | | - |
162 | | -msgid "*_params* are passed straight through to the base class constructor." |
163 | | -msgstr "" |
164 | | - |
165 | | -msgid "Module: :mod:`email.mime.audio`" |
166 | | -msgstr "" |
167 | | - |
168 | | -msgid "" |
169 | | -"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" |
170 | | -"`MIMEAudio` class is used to create MIME message objects of major type :" |
171 | | -"mimetype:`audio`. *_audiodata* contains the bytes for the raw audio data. " |
172 | | -"If this data can be decoded as au, wav, aiff, or aifc, then the subtype will " |
173 | | -"be automatically included in the :mailheader:`Content-Type` header. " |
174 | | -"Otherwise you can explicitly specify the audio subtype via the *_subtype* " |
175 | | -"argument. If the minor type could not be guessed and *_subtype* was not " |
176 | | -"given, then :exc:`TypeError` is raised." |
177 | | -msgstr "" |
178 | | - |
179 | | -msgid "" |
180 | | -"Optional *_encoder* is a callable (i.e. function) which will perform the " |
181 | | -"actual encoding of the audio data for transport. This callable takes one " |
182 | | -"argument, which is the :class:`MIMEAudio` instance. It should use :meth:" |
183 | | -"`~email.message.Message.get_payload` and :meth:`~email.message.Message." |
184 | | -"set_payload` to change the payload to encoded form. It should also add any :" |
185 | | -"mailheader:`Content-Transfer-Encoding` or other headers to the message " |
186 | | -"object as necessary. The default encoding is base64. See the :mod:`email." |
187 | | -"encoders` module for a list of the built-in encoders." |
188 | | -msgstr "" |
189 | | - |
190 | | -msgid "Module: :mod:`email.mime.image`" |
191 | | -msgstr "" |
192 | | - |
193 | | -msgid "" |
194 | | -"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" |
195 | | -"`MIMEImage` class is used to create MIME message objects of major type :" |
196 | | -"mimetype:`image`. *_imagedata* contains the bytes for the raw image data. " |
197 | | -"If this data type can be detected (jpeg, png, gif, tiff, rgb, pbm, pgm, ppm, " |
198 | | -"rast, xbm, bmp, webp, and exr attempted), then the subtype will be " |
199 | | -"automatically included in the :mailheader:`Content-Type` header. Otherwise " |
200 | | -"you can explicitly specify the image subtype via the *_subtype* argument. If " |
201 | | -"the minor type could not be guessed and *_subtype* was not given, then :exc:" |
202 | | -"`TypeError` is raised." |
203 | | -msgstr "" |
204 | | - |
205 | | -msgid "" |
206 | | -"Optional *_encoder* is a callable (i.e. function) which will perform the " |
207 | | -"actual encoding of the image data for transport. This callable takes one " |
208 | | -"argument, which is the :class:`MIMEImage` instance. It should use :meth:" |
209 | | -"`~email.message.Message.get_payload` and :meth:`~email.message.Message." |
210 | | -"set_payload` to change the payload to encoded form. It should also add any :" |
211 | | -"mailheader:`Content-Transfer-Encoding` or other headers to the message " |
212 | | -"object as necessary. The default encoding is base64. See the :mod:`email." |
213 | | -"encoders` module for a list of the built-in encoders." |
214 | | -msgstr "" |
215 | | - |
216 | | -msgid "" |
217 | | -"*_params* are passed straight through to the :class:`~email.mime.base." |
218 | | -"MIMEBase` constructor." |
219 | | -msgstr "" |
220 | | - |
221 | | -msgid "Module: :mod:`email.mime.message`" |
222 | | -msgstr "" |
223 | | - |
224 | | -msgid "" |
225 | | -"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" |
226 | | -"`MIMEMessage` class is used to create MIME objects of main type :mimetype:" |
227 | | -"`message`. *_msg* is used as the payload, and must be an instance of class :" |
228 | | -"class:`~email.message.Message` (or a subclass thereof), otherwise a :exc:" |
229 | | -"`TypeError` is raised." |
230 | | -msgstr "" |
231 | | - |
232 | | -msgid "" |
233 | | -"Optional *_subtype* sets the subtype of the message; it defaults to :" |
234 | | -"mimetype:`rfc822`." |
235 | | -msgstr "" |
236 | | - |
237 | | -msgid "Module: :mod:`email.mime.text`" |
238 | | -msgstr "" |
239 | | - |
240 | | -msgid "" |
241 | | -"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" |
242 | | -"`MIMEText` class is used to create MIME objects of major type :mimetype:" |
243 | | -"`text`. *_text* is the string for the payload. *_subtype* is the minor type " |
244 | | -"and defaults to :mimetype:`plain`. *_charset* is the character set of the " |
245 | | -"text and is passed as an argument to the :class:`~email.mime.nonmultipart." |
246 | | -"MIMENonMultipart` constructor; it defaults to ``us-ascii`` if the string " |
247 | | -"contains only ``ascii`` code points, and ``utf-8`` otherwise. The " |
248 | | -"*_charset* parameter accepts either a string or a :class:`~email.charset." |
249 | | -"Charset` instance." |
250 | | -msgstr "" |
251 | | - |
252 | | -msgid "" |
253 | | -"Unless the *_charset* argument is explicitly set to ``None``, the MIMEText " |
254 | | -"object created will have both a :mailheader:`Content-Type` header with a " |
255 | | -"``charset`` parameter, and a :mailheader:`Content-Transfer-Encoding` " |
256 | | -"header. This means that a subsequent ``set_payload`` call will not result " |
257 | | -"in an encoded payload, even if a charset is passed in the ``set_payload`` " |
258 | | -"command. You can \"reset\" this behavior by deleting the ``Content-Transfer-" |
259 | | -"Encoding`` header, after which a ``set_payload`` call will automatically " |
260 | | -"encode the new payload (and add a new :mailheader:`Content-Transfer-" |
261 | | -"Encoding` header)." |
262 | | -msgstr "" |
263 | | - |
264 | | -msgid "*_charset* also accepts :class:`~email.charset.Charset` instances." |
265 | | -msgstr "" |
| 6 | +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" |
0 commit comments