Repository navigation
Expand file tree
/
Copy pathemail.headerregistry.po
More file actions
757 lines (646 loc) · 40 KB
/
Copy pathemail.headerregistry.po
File metadata and controls
757 lines (646 loc) · 40 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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
# 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-18 14:18+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.headerregistry`: Custom Header Objects"
msgstr ""
msgid "**Source code:** :source:`Lib/email/headerregistry.py`"
msgstr "**Вихідний код:** :source:`Lib/email/headerregistry.py`"
msgid "[1]_"
msgstr "[1]_"
msgid ""
"Headers are represented by customized subclasses of :class:`str`. The "
"particular class used to represent a given header is determined by the :attr:"
"`~email.policy.EmailPolicy.header_factory` of the :mod:`~email.policy` in "
"effect when the headers are created. This section documents the particular "
"``header_factory`` implemented by the email package for handling :RFC:`5322` "
"compliant email messages, which not only provides customized header objects "
"for various header types, but also provides an extension mechanism for "
"applications to add their own custom header types."
msgstr ""
"Заголовки представлені налаштованими підкласами :class:`str`. Конкретний "
"клас, який використовується для представлення даного заголовка, "
"визначається :attr:`~email.policy.EmailPolicy.header_factory` :mod:`~email."
"policy`, що діє під час створення заголовків. У цьому розділі описано "
"конкретну ``header_factory``, реалізовану пакетом електронної пошти для "
"обробки :RFC:`5322` сумісних повідомлень електронної пошти, яка не тільки "
"надає налаштовані об’єкти заголовків для різних типів заголовків, але також "
"забезпечує механізм розширення для додатків для додавання своїх власні типи "
"заголовків."
msgid ""
"When using any of the policy objects derived from :data:`~email.policy."
"EmailPolicy`, all headers are produced by :class:`.HeaderRegistry` and have :"
"class:`.BaseHeader` as their last base class. Each header class has an "
"additional base class that is determined by the type of the header. For "
"example, many headers have the class :class:`.UnstructuredHeader` as their "
"other base class. The specialized second class for a header is determined "
"by the name of the header, using a lookup table stored in the :class:`."
"HeaderRegistry`. All of this is managed transparently for the typical "
"application program, but interfaces are provided for modifying the default "
"behavior for use by more complex applications."
msgstr ""
"При використанні будь-якого з об’єктів політики, отриманих від :data:`~email."
"policy.EmailPolicy`, усі заголовки створюються :class:`.HeaderRegistry` і "
"мають :class:`.BaseHeader` як останній базовий клас. Кожен клас заголовка "
"має додатковий базовий клас, який визначається типом заголовка. Наприклад, "
"багато заголовків мають клас :class:`.UnstructuredHeader` як інший базовий "
"клас. Спеціалізований другий клас для заголовка визначається назвою "
"заголовка за допомогою таблиці пошуку, що зберігається в :class:`."
"HeaderRegistry`. Усім цим керується прозоро для типової прикладної програми, "
"але надаються інтерфейси для зміни типової поведінки для використання більш "
"складними програмами."
msgid ""
"The sections below first document the header base classes and their "
"attributes, followed by the API for modifying the behavior of :class:`."
"HeaderRegistry`, and finally the support classes used to represent the data "
"parsed from structured headers."
msgstr ""
"У розділах нижче спочатку описані базові класи заголовків та їх атрибути, "
"потім API для зміни поведінки :class:`.HeaderRegistry` і, нарешті, класи "
"підтримки, які використовуються для представлення даних, проаналізованих із "
"структурованих заголовків."
msgid ""
"*name* and *value* are passed to ``BaseHeader`` from the :attr:`~email."
"policy.EmailPolicy.header_factory` call. The string value of any header "
"object is the *value* fully decoded to unicode."
msgstr ""
"*name* і *value* передаються в ``BaseHeader`` з виклику :attr:`~email.policy."
"EmailPolicy.header_factory`. Рядкове значення будь-якого об’єкта заголовка є "
"*значенням*, повністю декодованим у Юнікод."
msgid "This base class defines the following read-only properties:"
msgstr "Цей базовий клас визначає наступні властивості лише для читання:"
msgid ""
"The name of the header (the portion of the field before the ':'). This is "
"exactly the value passed in the :attr:`~email.policy.EmailPolicy."
"header_factory` call for *name*; that is, case is preserved."
msgstr ""
"Назва заголовка (частина поля перед \":\"). Це саме значення, передане у "
"виклику :attr:`~email.policy.EmailPolicy.header_factory` для *name*; тобто "
"регістр зберігається."
msgid ""
"A tuple of :exc:`~email.errors.HeaderDefect` instances reporting any RFC "
"compliance problems found during parsing. The email package tries to be "
"complete about detecting compliance issues. See the :mod:`~email.errors` "
"module for a discussion of the types of defects that may be reported."
msgstr ""
"Кортеж екземплярів :exc:`~email.errors.HeaderDefect`, які повідомляють про "
"будь-які проблеми відповідності RFC, виявлені під час аналізу. Пакет "
"електронної пошти намагається бути повним щодо виявлення проблем "
"відповідності. Перегляньте модуль :mod:`~email.errors` для обговорення типів "
"дефектів, про які можна повідомити."
msgid ""
"The maximum number of headers of this type that can have the same ``name``. "
"A value of ``None`` means unlimited. The ``BaseHeader`` value for this "
"attribute is ``None``; it is expected that specialized header classes will "
"override this value as needed."
msgstr ""
"Максимальна кількість заголовків цього типу, які можуть мати однакову назву. "
"Значення ``None`` означає необмежений. Значення ``BaseHeader`` для цього "
"атрибута є ``None``; очікується, що спеціалізовані класи заголовків замінять "
"це значення за потреби."
msgid ""
"``BaseHeader`` also provides the following method, which is called by the "
"email library code and should not in general be called by application "
"programs:"
msgstr ""
"``BaseHeader`` також надає наступний метод, який викликається кодом "
"бібліотеки електронної пошти і, як правило, не повинен викликатися "
"прикладними програмами:"
msgid ""
"Return a string containing :attr:`~email.policy.Policy.linesep` characters "
"as required to correctly fold the header according to *policy*. A :attr:"
"`~email.policy.Policy.cte_type` of ``8bit`` will be treated as if it were "
"``7bit``, since headers may not contain arbitrary binary data. If :attr:"
"`~email.policy.EmailPolicy.utf8` is ``False``, non-ASCII data will be :rfc:"
"`2047` encoded."
msgstr ""
"Повертає рядок, що містить символи :attr:`~email.policy.Policy.linesep`, "
"необхідні для правильного згортання заголовка відповідно до *policy*. :attr:"
"`~email.policy.Policy.cte_type` ``8bit`` буде розглядатися як ``7bit``, "
"оскільки заголовки не можуть містити довільних двійкових даних. Якщо :attr:"
"`~email.policy.EmailPolicy.utf8` має значення ``False``, дані, відмінні від "
"ASCII, будуть закодовані :rfc:`2047`."
msgid ""
"``BaseHeader`` by itself cannot be used to create a header object. It "
"defines a protocol that each specialized header cooperates with in order to "
"produce the header object. Specifically, ``BaseHeader`` requires that the "
"specialized class provide a :func:`classmethod` named ``parse``. This "
"method is called as follows::"
msgstr ""
"``BaseHeader`` сам по собі не може використовуватися для створення об’єкта "
"заголовка. Він визначає протокол, з яким співпрацює кожен спеціалізований "
"заголовок, щоб створити об’єкт заголовка. Зокрема, ``BaseHeader`` вимагає, "
"щоб спеціалізований клас надавав :func:`classmethod` під назвою ``parse``. "
"Цей метод називається наступним чином:"
msgid "parse(string, kwds)"
msgstr ""
msgid ""
"``kwds`` is a dictionary containing one pre-initialized key, ``defects``. "
"``defects`` is an empty list. The parse method should append any detected "
"defects to this list. On return, the ``kwds`` dictionary *must* contain "
"values for at least the keys ``decoded`` and ``defects``. ``decoded`` "
"should be the string value for the header (that is, the header value fully "
"decoded to unicode). The parse method should assume that *string* may "
"contain content-transfer-encoded parts, but should correctly handle all "
"valid unicode characters as well so that it can parse un-encoded header "
"values."
msgstr ""
"``kwds`` — це словник, що містить один попередньо ініціалізований ключ, "
"``defects``. ``дефекти`` – порожній список. Метод аналізу має додати всі "
"виявлені дефекти до цього списку. Після повернення словник ``kwds`` *має* "
"містити значення принаймні для ключів ``decoded`` і ``defects``. ``decoded`` "
"має бути значенням рядка для заголовка (тобто, значення заголовка, повністю "
"декодоване в Юнікод). Метод синтаксичного аналізу має припускати, що *рядок* "
"може містити частини, закодовані перенесенням вмісту, але також має "
"правильно обробляти всі дійсні символи Unicode, щоб він міг аналізувати "
"незакодовані значення заголовка."
msgid ""
"``BaseHeader``'s ``__new__`` then creates the header instance, and calls its "
"``init`` method. The specialized class only needs to provide an ``init`` "
"method if it wishes to set additional attributes beyond those provided by "
"``BaseHeader`` itself. Such an ``init`` method should look like this::"
msgstr ""
"Потім ``__new__`` ``BaseHeader`` створює екземпляр заголовка та викликає "
"його метод ``init``. Спеціалізованому класу потрібно лише надати метод "
"``init``, якщо він бажає встановити додаткові атрибути крім тих, що "
"надаються самим ``BaseHeader``. Такий метод ``init`` має виглядати так:"
msgid ""
"def init(self, /, *args, **kw):\n"
" self._myattr = kw.pop('myattr')\n"
" super().init(*args, **kw)"
msgstr ""
msgid ""
"That is, anything extra that the specialized class puts in to the ``kwds`` "
"dictionary should be removed and handled, and the remaining contents of "
"``kw`` (and ``args``) passed to the ``BaseHeader`` ``init`` method."
msgstr ""
"Тобто все зайве, що спеціалізований клас поміщає до словника ``kwds``, має "
"бути видалено та оброблено, а решта вмісту ``kw`` (та ``args``) передано до "
"``BaseHeader`` Метод ``init``."
msgid ""
"An \"unstructured\" header is the default type of header in :rfc:`5322`. Any "
"header that does not have a specified syntax is treated as unstructured. "
"The classic example of an unstructured header is the :mailheader:`Subject` "
"header."
msgstr ""
"\"Неструктурований\" заголовок є типовим типом заголовка в :rfc:`5322`. Будь-"
"який заголовок, який не має визначеного синтаксису, вважається "
"неструктурованим. Класичним прикладом неструктурованого заголовка є "
"заголовок :mailheader:`Subject`."
msgid ""
"In :rfc:`5322`, an unstructured header is a run of arbitrary text in the "
"ASCII character set. :rfc:`2047`, however, has an :rfc:`5322` compatible "
"mechanism for encoding non-ASCII text as ASCII characters within a header "
"value. When a *value* containing encoded words is passed to the "
"constructor, the ``UnstructuredHeader`` parser converts such encoded words "
"into unicode, following the :rfc:`2047` rules for unstructured text. The "
"parser uses heuristics to attempt to decode certain non-compliant encoded "
"words. Defects are registered in such cases, as well as defects for issues "
"such as invalid characters within the encoded words or the non-encoded text."
msgstr ""
"У :rfc:`5322` неструктурований заголовок — це довільний текст у наборі "
"символів ASCII. :rfc:`2047`, однак, має :rfc:`5322` сумісний механізм для "
"кодування не-ASCII тексту як символів ASCII у значенні заголовка. Коли "
"*значення*, що містить закодовані слова, передається конструктору, "
"аналізатор ``UnstructuredHeader`` перетворює такі закодовані слова в юнікод, "
"дотримуючись правил :rfc:`2047` для неструктурованого тексту. Синтаксичний "
"аналізатор використовує евристику, щоб спробувати декодувати певні "
"невідповідні закодовані слова. У таких випадках реєструються дефекти, а "
"також такі дефекти, як недійсні символи в закодованих словах або "
"незакодований текст."
msgid "This header type provides no additional attributes."
msgstr "Цей тип заголовка не містить додаткових атрибутів."
msgid ""
":rfc:`5322` specifies a very specific format for dates within email headers. "
"The ``DateHeader`` parser recognizes that date format, as well as "
"recognizing a number of variant forms that are sometimes found \"in the "
"wild\"."
msgstr ""
":rfc:`5322` визначає дуже специфічний формат для дат у заголовках "
"електронних листів. Синтаксичний аналізатор ``DateHeader`` розпізнає цей "
"формат дати, а також розпізнає низку варіантних форм, які іноді "
"зустрічаються \"в дикій природі\"."
msgid "This header type provides the following additional attributes:"
msgstr "Цей тип заголовка надає такі додаткові атрибути:"
msgid ""
"If the header value can be recognized as a valid date of one form or "
"another, this attribute will contain a :class:`~datetime.datetime` instance "
"representing that date. If the timezone of the input date is specified as "
"``-0000`` (indicating it is in UTC but contains no information about the "
"source timezone), then :attr:`.datetime` will be a naive :class:`~datetime."
"datetime`. If a specific timezone offset is found (including ``+0000``), "
"then :attr:`.datetime` will contain an aware ``datetime`` that uses :class:"
"`datetime.timezone` to record the timezone offset."
msgstr ""
msgid ""
"The ``decoded`` value of the header is determined by formatting the "
"``datetime`` according to the :rfc:`5322` rules; that is, it is set to::"
msgstr ""
"Значення ``decoded`` заголовка визначається форматуванням ``datetime`` "
"відповідно до правил :rfc:`5322`; тобто встановлено::"
msgid "email.utils.format_datetime(self.datetime)"
msgstr ""
msgid ""
"When creating a ``DateHeader``, *value* may be :class:`~datetime.datetime` "
"instance. This means, for example, that the following code is valid and "
"does what one would expect::"
msgstr ""
"Під час створення ``DateHeader`` *значення* може бути екземпляром :class:"
"`~datetime.datetime`. Це означає, наприклад, що наступний код дійсний і "
"виконує те, що можна очікувати:"
msgid "msg['Date'] = datetime(2011, 7, 15, 21)"
msgstr ""
msgid ""
"Because this is a naive ``datetime`` it will be interpreted as a UTC "
"timestamp, and the resulting value will have a timezone of ``-0000``. Much "
"more useful is to use the :func:`~email.utils.localtime` function from the :"
"mod:`~email.utils` module::"
msgstr ""
"Оскільки це проста ``datetime``, вона буде інтерпретована як мітка часу UTC, "
"а результуюче значення матиме часовий пояс ``-0000``. Набагато кориснішим є "
"використання функції :func:`~email.utils.localtime` з модуля :mod:`~email."
"utils`::"
msgid "msg['Date'] = utils.localtime()"
msgstr ""
msgid ""
"This example sets the date header to the current time and date using the "
"current timezone offset."
msgstr ""
"У цьому прикладі в заголовку дати встановлюється поточний час і дата з "
"використанням поточного зміщення часового поясу."
msgid ""
"Address headers are one of the most complex structured header types. The "
"``AddressHeader`` class provides a generic interface to any address header."
msgstr ""
"Заголовки адрес є одним із найскладніших структурованих типів заголовків. "
"Клас ``AddressHeader`` забезпечує загальний інтерфейс для будь-якого "
"заголовка адреси."
msgid ""
"A tuple of :class:`.Group` objects encoding the addresses and groups found "
"in the header value. Addresses that are not part of a group are represented "
"in this list as single-address ``Groups`` whose :attr:`~.Group.display_name` "
"is ``None``."
msgstr ""
"Кортеж об’єктів :class:`.Group`, що кодує адреси та групи, знайдені у "
"значенні заголовка. Адреси, які не є частиною групи, представлені в цьому "
"списку як одноадресні ``Групи``, у яких :attr:`~.Group.display_name` має "
"значення ``None``."
msgid ""
"A tuple of :class:`.Address` objects encoding all of the individual "
"addresses from the header value. If the header value contains any groups, "
"the individual addresses from the group are included in the list at the "
"point where the group occurs in the value (that is, the list of addresses is "
"\"flattened\" into a one dimensional list)."
msgstr ""
"Кортеж об’єктів :class:`.Address`, що кодує всі окремі адреси зі значення "
"заголовка. Якщо значення заголовка містить будь-які групи, окремі адреси з "
"групи включаються до списку в тому місці, де група зустрічається у значенні "
"(тобто список адрес \"зрівнюється\" в одновимірний список)."
msgid ""
"The ``decoded`` value of the header will have all encoded words decoded to "
"unicode. :class:`~encodings.idna` encoded domain names are also decoded to "
"unicode. The ``decoded`` value is set by :ref:`joining <meth-str-join>` "
"the :class:`str` value of the elements of the ``groups`` attribute with ``', "
"'``."
msgstr ""
msgid ""
"A list of :class:`.Address` and :class:`.Group` objects in any combination "
"may be used to set the value of an address header. ``Group`` objects whose "
"``display_name`` is ``None`` will be interpreted as single addresses, which "
"allows an address list to be copied with groups intact by using the list "
"obtained from the ``groups`` attribute of the source header."
msgstr ""
"Для встановлення значення заголовка адреси можна використовувати список "
"об’єктів :class:`.Address` і :class:`.Group` у будь-якій комбінації. Об’єкти "
"``Групи``, у яких ``display_name`` є ``None``, інтерпретуватимуться як "
"окремі адреси, що дозволяє скопіювати список адрес із недоторканими групами "
"за допомогою списку, отриманого з атрибута ``groups`` вихідний заголовок."
msgid ""
"A subclass of :class:`.AddressHeader` that adds one additional attribute:"
msgstr "Підклас :class:`.AddressHeader`, який додає один додатковий атрибут:"
msgid ""
"The single address encoded by the header value. If the header value "
"actually contains more than one address (which would be a violation of the "
"RFC under the default :mod:`~email.policy`), accessing this attribute will "
"result in a :exc:`ValueError`."
msgstr ""
"Єдина адреса, закодована значенням заголовка. Якщо значення заголовка "
"насправді містить більше однієї адреси (що було б порушенням RFC за "
"умовчанням :mod:`~email.policy`), доступ до цього атрибута призведе до :exc:"
"`ValueError`."
msgid ""
"Many of the above classes also have a ``Unique`` variant (for example, "
"``UniqueUnstructuredHeader``). The only difference is that in the "
"``Unique`` variant, :attr:`~.BaseHeader.max_count` is set to 1."
msgstr ""
"Багато з наведених вище класів також мають варіант ``Unique`` (наприклад, "
"``UniqueUnstructuredHeader``). Єдина відмінність полягає в тому, що у "
"варіанті ``Unique`` :attr:`~.BaseHeader.max_count` має значення 1."
msgid ""
"There is really only one valid value for the :mailheader:`MIME-Version` "
"header, and that is ``1.0``. For future proofing, this header class "
"supports other valid version numbers. If a version number has a valid value "
"per :rfc:`2045`, then the header object will have non-``None`` values for "
"the following attributes:"
msgstr ""
"Насправді існує лише одне дійсне значення для заголовка :mailheader:`MIME-"
"Version`, і це ``1.0``. Для майбутньої перевірки цей клас заголовка "
"підтримує інші дійсні номери версій. Якщо номер версії має дійсне значення "
"для :rfc:`2045`, тоді об’єкт заголовка матиме значення, відмінні від "
"``None`` для таких атрибутів:"
msgid ""
"The version number as a string, with any whitespace and/or comments removed."
msgstr ""
"Номер версії у вигляді рядка з видаленими пробілами та/або коментарями."
msgid "The major version number as an integer"
msgstr "Основний номер версії як ціле число"
msgid "The minor version number as an integer"
msgstr "Номер другорядної версії як ціле число"
msgid ""
"MIME headers all start with the prefix 'Content-'. Each specific header has "
"a certain value, described under the class for that header. Some can also "
"take a list of supplemental parameters, which have a common format. This "
"class serves as a base for all the MIME headers that take parameters."
msgstr ""
"Усі заголовки MIME починаються з префікса \"Content-\". Кожен конкретний "
"заголовок має певне значення, описане в класі для цього заголовка. Деякі "
"також можуть приймати список додаткових параметрів, які мають загальний "
"формат. Цей клас служить основою для всіх заголовків MIME, які приймають "
"параметри."
msgid "A dictionary mapping parameter names to parameter values."
msgstr "Словник, що зіставляє назви параметрів зі значеннями параметрів."
msgid ""
"A :class:`ParameterizedMIMEHeader` class that handles the :mailheader:"
"`Content-Type` header."
msgstr ""
"Клас :class:`ParameterizedMIMEHeader`, який обробляє заголовок :mailheader:"
"`Content-Type`."
msgid "The content type string, in the form ``maintype/subtype``."
msgstr "Рядок типу вмісту у формі ``maintype/subtype``."
msgid ""
"A :class:`ParameterizedMIMEHeader` class that handles the :mailheader:"
"`Content-Disposition` header."
msgstr ""
"Клас :class:`ParameterizedMIMEHeader`, який обробляє заголовок :mailheader:"
"`Content-Disposition`."
msgid "``inline`` and ``attachment`` are the only valid values in common use."
msgstr ""
"``inline`` і ``attachment`` є єдиними допустимими значеннями, які широко "
"використовуються."
msgid "Handles the :mailheader:`Content-Transfer-Encoding` header."
msgstr "Обробляє заголовок :mailheader:`Content-Transfer-Encoding`."
msgid ""
"Valid values are ``7bit``, ``8bit``, ``base64``, and ``quoted-printable``. "
"See :rfc:`2045` for more information."
msgstr ""
"Дійсні значення: ``7bit``, ``8bit``, ``base64`` і ``quoted-printable``. "
"Перегляньте :rfc:`2045` для отримання додаткової інформації."
msgid ""
"This is the factory used by :class:`~email.policy.EmailPolicy` by default. "
"``HeaderRegistry`` builds the class used to create a header instance "
"dynamically, using *base_class* and a specialized class retrieved from a "
"registry that it holds. When a given header name does not appear in the "
"registry, the class specified by *default_class* is used as the specialized "
"class. When *use_default_map* is ``True`` (the default), the standard "
"mapping of header names to classes is copied in to the registry during "
"initialization. *base_class* is always the last class in the generated "
"class's :class:`~type.__bases__` list."
msgstr ""
msgid "The default mappings are:"
msgstr "Відображення за замовчуванням:"
msgid "subject"
msgstr "тема"
msgid "UniqueUnstructuredHeader"
msgstr "UniqueUnstructuredHeader"
msgid "date"
msgstr "дата"
msgid "UniqueDateHeader"
msgstr "UniqueDateHeader"
msgid "resent-date"
msgstr "дата повторного відправлення"
msgid "DateHeader"
msgstr "DateHeader"
msgid "orig-date"
msgstr "дата виходу"
msgid "sender"
msgstr "відправник"
msgid "UniqueSingleAddressHeader"
msgstr "UniqueSingleAddressHeader"
msgid "resent-sender"
msgstr "resent-sender"
msgid "SingleAddressHeader"
msgstr "SingleAddressHeader"
msgid "to"
msgstr "до"
msgid "UniqueAddressHeader"
msgstr "UniqueAddressHeader"
msgid "resent-to"
msgstr "обурюватися"
msgid "AddressHeader"
msgstr "AddressHeader"
msgid "cc"
msgstr "cc"
msgid "resent-cc"
msgstr "resent-cc"
msgid "bcc"
msgstr "прихована копія"
msgid "resent-bcc"
msgstr "resent-bcc"
msgid "from"
msgstr "від"
msgid "resent-from"
msgstr "обурюватися-від"
msgid "reply-to"
msgstr "відповідати на"
msgid "mime-version"
msgstr "мім-версія"
msgid "MIMEVersionHeader"
msgstr "MIMEVersionHeader"
msgid "content-type"
msgstr "тип вмісту"
msgid "ContentTypeHeader"
msgstr "ContentTypeHeader"
msgid "content-disposition"
msgstr "зміст-диспозиція"
msgid "ContentDispositionHeader"
msgstr "ContentDispositionHeader"
msgid "content-transfer-encoding"
msgstr "кодування передачі вмісту"
msgid "ContentTransferEncodingHeader"
msgstr "ContentTransferEncodingHeader"
msgid "message-id"
msgstr "ідентифікатор повідомлення"
msgid "MessageIDHeader"
msgstr "MessageIDHeader"
msgid "``HeaderRegistry`` has the following methods:"
msgstr "``HeaderRegistry`` має такі методи:"
msgid ""
"*name* is the name of the header to be mapped. It will be converted to "
"lower case in the registry. *cls* is the specialized class to be used, "
"along with *base_class*, to create the class used to instantiate headers "
"that match *name*."
msgstr ""
"*ім’я* — це ім’я заголовка, який буде зіставлено. У реєстрі його буде "
"перетворено на нижній регістр. *cls* — це спеціалізований клас, який "
"використовується разом із *base_class* для створення класу, що "
"використовується для створення екземплярів заголовків, які відповідають "
"*name*."
msgid "Construct and return a class to handle creating a *name* header."
msgstr "Створіть і поверніть клас для створення заголовка *name*."
msgid ""
"Retrieves the specialized header associated with *name* from the registry "
"(using *default_class* if *name* does not appear in the registry) and "
"composes it with *base_class* to produce a class, calls the constructed "
"class's constructor, passing it the same argument list, and finally returns "
"the class instance created thereby."
msgstr ""
"Отримує спеціальний заголовок, пов’язаний з *name*, із реєстру "
"(використовуючи *default_class*, якщо *name* не відображається в реєстрі) і "
"створює його з *base_class* для створення класу, викликає конструктор "
"створеного класу, передаючи йому те саме список аргументів і, нарешті, "
"повертає екземпляр класу, створений таким чином."
msgid ""
"The following classes are the classes used to represent data parsed from "
"structured headers and can, in general, be used by an application program to "
"construct structured values to assign to specific headers."
msgstr ""
"Наступні класи є класами, які використовуються для представлення даних, "
"розібраних із структурованих заголовків, і можуть, загалом, "
"використовуватися прикладною програмою для створення структурованих значень "
"для призначення певним заголовкам."
msgid ""
"The class used to represent an email address. The general form of an "
"address is::"
msgstr ""
"Клас, який використовується для представлення електронної адреси. Загальна "
"форма адреси:"
msgid "[display_name] <username@domain>"
msgstr ""
msgid "or::"
msgstr "або::"
msgid "username@domain"
msgstr ""
msgid ""
"where each part must conform to specific syntax rules spelled out in :rfc:"
"`5322`."
msgstr ""
"де кожна частина має відповідати певним правилам синтаксису, викладеним у :"
"rfc:`5322`."
msgid ""
"As a convenience *addr_spec* can be specified instead of *username* and "
"*domain*, in which case *username* and *domain* will be parsed from the "
"*addr_spec*. An *addr_spec* must be a properly RFC quoted string; if it is "
"not ``Address`` will raise an error. Unicode characters are allowed and "
"will be property encoded when serialized. However, per the RFCs, unicode is "
"*not* allowed in the username portion of the address."
msgstr ""
"Для зручності можна вказати *addr_spec* замість *username* і *domain*, у "
"цьому випадку *username* і *domain* будуть аналізуватися з *addr_spec*. "
"*addr_spec* має бути належним чином цитованим рядком RFC; якщо це не "
"``Address``, викличе помилку. Дозволяються символи Юнікоду, які будуть "
"закодовані властивостями під час серіалізації. Однак, згідно з RFC, Юнікод "
"*не* дозволений у частині імені користувача адреси."
msgid ""
"The display name portion of the address, if any, with all quoting removed. "
"If the address does not have a display name, this attribute will be an empty "
"string."
msgstr ""
"Частина відображуваної назви адреси, якщо така є, без лапок. Якщо адреса не "
"має відображуваного імені, цей атрибут буде порожнім рядком."
msgid "The ``username`` portion of the address, with all quoting removed."
msgstr "Частина ``ім’я користувача`` адреси з видаленням лапок."
msgid "The ``domain`` portion of the address."
msgstr "Частина ``domain`` адреси."
msgid ""
"The ``username@domain`` portion of the address, correctly quoted for use as "
"a bare address (the second form shown above). This attribute is not mutable."
msgstr ""
"Частина адреси ``username@domain``, правильно взята в лапки для використання "
"як чистої адреси (друга форма, показана вище). Цей атрибут не змінний."
msgid ""
"The ``str`` value of the object is the address quoted according to :rfc:"
"`5322` rules, but with no Content Transfer Encoding of any non-ASCII "
"characters."
msgstr ""
"Значення ``str`` об'єкта є адресою в цитатах відповідно до правил :rfc:"
"`5322`, але без кодування передачі вмісту будь-яких символів, відмінних від "
"ASCII."
msgid ""
"To support SMTP (:rfc:`5321`), ``Address`` handles one special case: if "
"``username`` and ``domain`` are both the empty string (or ``None``), then "
"the string value of the ``Address`` is ``<>``."
msgstr ""
"Щоб підтримувати SMTP (:rfc:`5321`), ``Address`` обробляє один особливий "
"випадок: якщо ``username`` і ``domain`` є порожнім рядком (або ``None``), "
"тоді рядкове значення ``Address`` - ``<>``."
msgid ""
"The class used to represent an address group. The general form of an "
"address group is::"
msgstr ""
"Клас, який використовується для представлення групи адрес. Загальна форма "
"групи адрес:"
msgid "display_name: [address-list];"
msgstr ""
msgid ""
"As a convenience for processing lists of addresses that consist of a mixture "
"of groups and single addresses, a ``Group`` may also be used to represent "
"single addresses that are not part of a group by setting *display_name* to "
"``None`` and providing a list of the single address as *addresses*."
msgstr ""
"Для зручності обробки списків адрес, які складаються з суміші груп і окремих "
"адрес, ``Група`` також може використовуватися для представлення окремих "
"адрес, які не є частиною групи, встановивши *display_name* на ``None`` і "
"надання списку однієї адреси як *адрес*."
msgid ""
"The ``display_name`` of the group. If it is ``None`` and there is exactly "
"one ``Address`` in ``addresses``, then the ``Group`` represents a single "
"address that is not in a group."
msgstr ""
"``display_name`` групи. Якщо значення ``None`` і в ``адресах`` є точно одна "
"``Адреса``, тоді ``Група`` представляє одну адресу, яка не входить до групи."
msgid ""
"A possibly empty tuple of :class:`.Address` objects representing the "
"addresses in the group."
msgstr ""
"Можливо, порожній кортеж об’єктів :class:`.Address`, що представляє адреси в "
"групі."
msgid ""
"The ``str`` value of a ``Group`` is formatted according to :rfc:`5322`, but "
"with no Content Transfer Encoding of any non-ASCII characters. If "
"``display_name`` is none and there is a single ``Address`` in the "
"``addresses`` list, the ``str`` value will be the same as the ``str`` of "
"that single ``Address``."
msgstr ""
"Значення ``str`` ``Group`` відформатовано відповідно до :rfc:`5322`, але без "
"кодування передачі вмісту будь-яких символів, відмінних від ASCII. Якщо "
"``display_name`` не має значення, а в списку ``addresses`` є одна "
"``Address``, значення ``str`` буде таким самим, як ``str`` цього одного "
"``Address``."
msgid "Footnotes"
msgstr "Виноски"
msgid ""
"Originally added in 3.3 as a :term:`provisional module <provisional package>`"
msgstr ""
"Спочатку додано в 3.3 як :term:`проміжний модуль <provisional package>`"