Repository navigation
Expand file tree
/
Copy pathemail.header.po
More file actions
384 lines (344 loc) · 22.2 KB
/
Copy pathemail.header.po
File metadata and controls
384 lines (344 loc) · 22.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Dmytro Kazanzhy, 2022
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-11 14:19+0000\n"
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
"Last-Translator: Dmytro Kazanzhy, 2022\n"
"Language-Team: Ukrainian (https://app.transifex.com/python-doc/teams/5390/"
"uk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: uk\n"
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != "
"11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % "
"100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || "
"(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
msgid ":mod:`!email.header`: Internationalized headers"
msgstr ""
msgid "**Source code:** :source:`Lib/email/header.py`"
msgstr "**Вихідний код:** :source:`Lib/email/header.py`"
msgid ""
"This module is part of the legacy (``Compat32``) email API. In the current "
"API encoding and decoding of headers is handled transparently by the "
"dictionary-like API of the :class:`~email.message.EmailMessage` class. In "
"addition to uses in legacy code, this module can be useful in applications "
"that need to completely control the character sets used when encoding "
"headers."
msgstr ""
"Цей модуль є частиною застарілого (``Compat32``) API електронної пошти. У "
"поточному API кодування та декодування заголовків обробляється прозоро за "
"допомогою словникового API класу :class:`~email.message.EmailMessage`. На "
"додаток до використання у застарілому коді, цей модуль може бути корисним у "
"програмах, яким потрібно повністю контролювати набори символів, що "
"використовуються під час кодування заголовків."
msgid ""
"The remaining text in this section is the original documentation of the "
"module."
msgstr "Решта тексту в цьому розділі є оригінальною документацією модуля."
msgid ""
":rfc:`2822` is the base standard that describes the format of email "
"messages. It derives from the older :rfc:`822` standard which came into "
"widespread use at a time when most email was composed of ASCII characters "
"only. :rfc:`2822` is a specification written assuming email contains only 7-"
"bit ASCII characters."
msgstr ""
":rfc:`2822` — це базовий стандарт, який описує формат електронних "
"повідомлень. Він походить від старішого стандарту :rfc:`822`, який набув "
"широкого використання в той час, коли більшість електронних листів "
"складалися лише з символів ASCII. :rfc:`2822` — це специфікація, написана за "
"умови, що електронна пошта містить лише 7-бітні символи ASCII."
msgid ""
"Of course, as email has been deployed worldwide, it has become "
"internationalized, such that language specific character sets can now be "
"used in email messages. The base standard still requires email messages to "
"be transferred using only 7-bit ASCII characters, so a slew of RFCs have "
"been written describing how to encode email containing non-ASCII characters "
"into :rfc:`2822`\\ -compliant format. These RFCs include :rfc:`2045`, :rfc:"
"`2046`, :rfc:`2047`, and :rfc:`2231`. The :mod:`email` package supports "
"these standards in its :mod:`email.header` and :mod:`email.charset` modules."
msgstr ""
"Звичайно, оскільки електронна пошта була розгорнута в усьому світі, вона "
"стала інтернаціоналізованою, так що набори символів для певної мови тепер "
"можна використовувати в електронних повідомленнях. Базовий стандарт все ще "
"вимагає, щоб повідомлення електронної пошти передавалися лише з "
"використанням 7-бітових символів ASCII, тому було написано безліч RFC, які "
"описують, як кодувати електронну пошту, що містить символи, відмінні від "
"ASCII, у :rfc:`2822`\\ -сумісний формат. Ці RFC включають :rfc:`2045`, :rfc:"
"`2046`, :rfc:`2047` і :rfc:`2231`. Пакет :mod:`email` підтримує ці стандарти "
"у своїх модулях :mod:`email.header` і :mod:`email.charset`."
msgid ""
"If you want to include non-ASCII characters in your email headers, say in "
"the :mailheader:`Subject` or :mailheader:`To` fields, you should use the :"
"class:`Header` class and assign the field in the :class:`~email.message."
"Message` object to an instance of :class:`Header` instead of using a string "
"for the header value. Import the :class:`Header` class from the :mod:`email."
"header` module. For example::"
msgstr ""
"Якщо ви хочете включити символи, відмінні від ASCII, у заголовки електронної "
"пошти, скажімо, у поля :mailheader:`Subject` або :mailheader:`To`, вам слід "
"використовувати клас :class:`Header` і призначити поле в :class:`~email."
"message.Message` до екземпляра :class:`Header` замість використання рядка "
"для значення заголовка. Імпортуйте клас :class:`Header` з модуля :mod:`email."
"header`. Наприклад::"
msgid ""
">>> from email.message import Message\n"
">>> from email.header import Header\n"
">>> msg = Message()\n"
">>> h = Header('p\\xf6stal', 'iso-8859-1')\n"
">>> msg['Subject'] = h\n"
">>> msg.as_string()\n"
"'Subject: =?iso-8859-1?q?p=F6stal?=\\n\\n'"
msgstr ""
msgid ""
"Notice here how we wanted the :mailheader:`Subject` field to contain a non-"
"ASCII character? We did this by creating a :class:`Header` instance and "
"passing in the character set that the byte string was encoded in. When the "
"subsequent :class:`~email.message.Message` instance was flattened, the :"
"mailheader:`Subject` field was properly :rfc:`2047` encoded. MIME-aware "
"mail readers would show this header using the embedded ISO-8859-1 character."
msgstr ""
"Зверніть увагу, як ми хотіли, щоб поле :mailheader:`Subject` містило символ "
"не ASCII? Ми зробили це, створивши екземпляр :class:`Header` і передавши "
"набір символів, у якому було закодовано рядок байтів. Коли наступний "
"екземпляр :class:`~email.message.Message` було зведено, :mailheader:"
"`Subject` було правильно закодовано :rfc:`2047`. Програми читання пошти з "
"підтримкою MIME відображатимуть цей заголовок за допомогою вбудованого "
"символу ISO-8859-1."
msgid "Here is the :class:`Header` class description:"
msgstr "Ось опис класу :class:`Header`:"
msgid ""
"Create a MIME-compliant header that can contain strings in different "
"character sets."
msgstr ""
"Створіть MIME-сумісний заголовок, який може містити рядки з різними наборами "
"символів."
msgid ""
"Optional *s* is the initial header value. If ``None`` (the default), the "
"initial header value is not set. You can later append to the header with :"
"meth:`append` method calls. *s* may be an instance of :class:`bytes` or :"
"class:`str`, but see the :meth:`append` documentation for semantics."
msgstr ""
"Необов’язковий параметр *s* — початкове значення заголовка. Якщо ``None`` "
"(за замовчуванням), початкове значення заголовка не встановлено. Ви можете "
"пізніше додати до заголовка за допомогою викликів методу :meth:`append`. *s* "
"може бути екземпляром :class:`bytes` або :class:`str`, але див. "
"документацію :meth:`append` щодо семантики."
msgid ""
"Optional *charset* serves two purposes: it has the same meaning as the "
"*charset* argument to the :meth:`append` method. It also sets the default "
"character set for all subsequent :meth:`append` calls that omit the "
"*charset* argument. If *charset* is not provided in the constructor (the "
"default), the ``us-ascii`` character set is used both as *s*'s initial "
"charset and as the default for subsequent :meth:`append` calls."
msgstr ""
"Додатковий *charset* служить двом цілям: він має те саме значення, що й "
"аргумент *charset* для методу :meth:`append`. Він також встановлює "
"стандартний набір символів для всіх наступних викликів :meth:`append`, які "
"пропускають аргумент *charset*. Якщо *charset* не надано в конструкторі (за "
"замовчуванням), набір символів ``us-ascii`` використовується і як початковий "
"набір символів *s*, і як типовий для наступних викликів :meth:`append`."
msgid ""
"The maximum line length can be specified explicitly via *maxlinelen*. For "
"splitting the first line to a shorter value (to account for the field header "
"which isn't included in *s*, e.g. :mailheader:`Subject`) pass in the name of "
"the field in *header_name*. The default *maxlinelen* is 78, and the default "
"value for *header_name* is ``None``, meaning it is not taken into account "
"for the first line of a long, split header."
msgstr ""
msgid ""
"Optional *continuation_ws* must be :rfc:`2822`\\ -compliant folding "
"whitespace, and is usually either a space or a hard tab character. This "
"character will be prepended to continuation lines. *continuation_ws* "
"defaults to a single space character."
msgstr ""
"Необов’язковий *continuation_ws* має бути :rfc:`2822`\\ -сумісним згортаним "
"пробілом і зазвичай є пробілом або символом жорсткої табуляції. Цей символ "
"буде додано до рядків продовження. *continuation_ws* за замовчуванням "
"використовує один пробіл."
msgid ""
"Optional *errors* is passed straight through to the :meth:`append` method."
msgstr ""
"Необов’язкові *помилки* передаються безпосередньо до методу :meth:`append`."
msgid "Append the string *s* to the MIME header."
msgstr "Додайте рядок *s* до заголовка MIME."
msgid ""
"Optional *charset*, if given, should be a :class:`~email.charset.Charset` "
"instance (see :mod:`email.charset`) or the name of a character set, which "
"will be converted to a :class:`~email.charset.Charset` instance. A value of "
"``None`` (the default) means that the *charset* given in the constructor is "
"used."
msgstr ""
"Додатковий *charset*, якщо він наданий, має бути екземпляром :class:`~email."
"charset.Charset` (див. :mod:`email.charset`) або назвою набору символів, "
"який буде перетворено на :class:`~email.charset.Charset` екземпляр. Значення "
"``None`` (за замовчуванням) означає, що використовується *набір символів*, "
"наданий у конструкторі."
msgid ""
"*s* may be an instance of :class:`bytes` or :class:`str`. If it is an "
"instance of :class:`bytes`, then *charset* is the encoding of that byte "
"string, and a :exc:`UnicodeError` will be raised if the string cannot be "
"decoded with that character set."
msgstr ""
"*s* може бути екземпляром :class:`bytes` або :class:`str`. Якщо це "
"екземпляр :class:`bytes`, тоді *charset* є кодуванням цього рядка байтів, і :"
"exc:`UnicodeError` буде викликано, якщо рядок не можна декодувати за "
"допомогою цього набору символів."
msgid ""
"If *s* is an instance of :class:`str`, then *charset* is a hint specifying "
"the character set of the characters in the string."
msgstr ""
"Якщо *s* є екземпляром :class:`str`, тоді *charset* є підказкою, що визначає "
"набір символів у рядку."
msgid ""
"In either case, when producing an :rfc:`2822`\\ -compliant header using :rfc:"
"`2047` rules, the string will be encoded using the output codec of the "
"charset. If the string cannot be encoded using the output codec, a "
"UnicodeError will be raised."
msgstr ""
"У будь-якому випадку, під час створення :rfc:`2822`\\ -сумісного заголовка з "
"використанням правил :rfc:`2047` рядок кодуватиметься за допомогою вихідного "
"кодека набору символів. Якщо рядок неможливо закодувати за допомогою "
"вихідного кодека, виникне UnicodeError."
msgid ""
"Optional *errors* is passed as the errors argument to the decode call if *s* "
"is a byte string."
msgstr ""
"Необов’язковий *errors* передається як аргумент errors виклику декодування, "
"якщо *s* є рядком байтів."
msgid ""
"Encode a message header into an RFC-compliant format, possibly wrapping long "
"lines and encapsulating non-ASCII parts in base64 or quoted-printable "
"encodings."
msgstr ""
"Закодуйте заголовок повідомлення у RFC-сумісний формат, можливо, обгортаючи "
"довгі рядки та інкапсулюючи частини, що не належать до ASCII, у кодування "
"base64 або кодування в лапках."
msgid ""
"Optional *splitchars* is a string containing characters which should be "
"given extra weight by the splitting algorithm during normal header "
"wrapping. This is in very rough support of :RFC:`2822`\\'s 'higher level "
"syntactic breaks': split points preceded by a splitchar are preferred "
"during line splitting, with the characters preferred in the order in which "
"they appear in the string. Space and tab may be included in the string to "
"indicate whether preference should be given to one over the other as a split "
"point when other split chars do not appear in the line being split. "
"Splitchars does not affect :RFC:`2047` encoded lines."
msgstr ""
"Необов’язковий *splitchars* — це рядок, що містить символи, яким слід надати "
"додаткову вагу за допомогою алгоритму розбиття під час звичайного обгортання "
"заголовка. Це є дуже грубою підтримкою \"синтаксичних розривів вищого "
"рівня\" :RFC:`2822`: крапки розділення, яким передує символ розділення, є "
"кращими під час поділу рядка, а символи мають перевагу в тому порядку, в "
"якому вони з’являються в рядку. Пробіл і табуляція можуть бути включені в "
"рядок, щоб вказати, чи слід надавати перевагу одному над іншим як точці "
"розділення, коли інші символи розділення не з’являються в рядку, що "
"розділяється. Splitchars не впливає на рядки, закодовані :RFC:`2047`."
msgid ""
"*maxlinelen*, if given, overrides the instance's value for the maximum line "
"length."
msgstr ""
"*maxlinelen*, якщо задано, замінює значення екземпляра для максимальної "
"довжини рядка."
msgid ""
"*linesep* specifies the characters used to separate the lines of the folded "
"header. It defaults to the most useful value for Python application code "
"(``\\n``), but ``\\r\\n`` can be specified in order to produce headers with "
"RFC-compliant line separators."
msgstr ""
"*linesep* визначає символи, які використовуються для розділення рядків "
"згорнутого заголовка. За замовчуванням це найбільш корисне значення для коду "
"програми Python (``\\n``), але ``\\r\\n`` можна вказати, щоб створити "
"заголовки з RFC-сумісними роздільниками рядків."
msgid "Added the *linesep* argument."
msgstr "Додано аргумент *linesep*."
msgid ""
"The :class:`Header` class also provides a number of methods to support "
"standard operators and built-in functions."
msgstr ""
"Клас :class:`Header` також надає ряд методів для підтримки стандартних "
"операторів і вбудованих функцій."
msgid ""
"Returns an approximation of the :class:`Header` as a string, using an "
"unlimited line length. All pieces are converted to unicode using the "
"specified encoding and joined together appropriately. Any pieces with a "
"charset of ``'unknown-8bit'`` are decoded as ASCII using the ``'replace'`` "
"error handler."
msgstr ""
"Повертає наближення :class:`Header` у вигляді рядка, використовуючи "
"необмежену довжину рядка. Усі фрагменти перетворюються на юнікод із "
"використанням зазначеного кодування та об’єднуються належним чином. Будь-які "
"фрагменти з кодуванням ``'unknown-8bit'`` декодуються як ASCII за допомогою "
"обробника помилок ``'replace'``."
msgid "Added handling for the ``'unknown-8bit'`` charset."
msgstr "Додано обробку набору символів ``'unknown-8bit''``."
msgid ""
"This method allows you to compare two :class:`Header` instances for equality."
msgstr ""
"Цей метод дозволяє порівнювати два екземпляри :class:`Header` на предмет "
"рівності."
msgid ""
"This method allows you to compare two :class:`Header` instances for "
"inequality."
msgstr ""
"Цей метод дозволяє порівнювати два екземпляри :class:`Header` на предмет "
"нерівності."
msgid ""
"The :mod:`email.header` module also provides the following convenient "
"functions."
msgstr "Модуль :mod:`email.header` також надає такі зручні функції."
msgid ""
"Decode a message header value without converting the character set. The "
"header value is in *header*."
msgstr ""
"Декодуйте значення заголовка повідомлення без перетворення набору символів. "
"Значення заголовка знаходиться в *заголовку*."
msgid ""
"This function returns a list of ``(decoded_string, charset)`` pairs "
"containing each of the decoded parts of the header. *charset* is ``None`` "
"for non-encoded parts of the header, otherwise a lower case string "
"containing the name of the character set specified in the encoded string."
msgstr ""
"Ця функція повертає список пар ``(decoded_string, charset)``, що містить "
"кожну з декодованих частин заголовка. *charset* має значення ``None`` для "
"незакодованих частин заголовка, інакше рядок у нижньому регістрі, що містить "
"назву набору символів, указаного в закодованому рядку."
msgid "Here's an example::"
msgstr "Ось приклад::"
msgid ""
">>> from email.header import decode_header\n"
">>> decode_header('=?iso-8859-1?q?p=F6stal?=')\n"
"[(b'p\\xf6stal', 'iso-8859-1')]"
msgstr ""
msgid ""
"Create a :class:`Header` instance from a sequence of pairs as returned by :"
"func:`decode_header`."
msgstr ""
"Створіть екземпляр :class:`Header` із послідовності пар, які повертає :func:"
"`decode_header`."
msgid ""
":func:`decode_header` takes a header value string and returns a sequence of "
"pairs of the format ``(decoded_string, charset)`` where *charset* is the "
"name of the character set."
msgstr ""
":func:`decode_header` приймає рядок значення заголовка та повертає "
"послідовність пар у форматі ``(decoded_string, charset)``, де *charset* — "
"назва набору символів."
msgid ""
"This function takes one of those sequence of pairs and returns a :class:"
"`Header` instance. Optional *maxlinelen*, *header_name*, and "
"*continuation_ws* are as in the :class:`Header` constructor."
msgstr ""
"Ця функція бере одну з цих пар і повертає екземпляр :class:`Header`. "
"Необов’язкові *maxlinelen*, *header_name* і *continuation_ws* такі, як у "
"конструкторі :class:`Header`."