@@ -17,9 +17,8 @@ msgstr ""
17
17
"Generated-By : Babel 2.17.0\n "
18
18
19
19
#: ../../library/email.message.rst:2
20
- #, fuzzy
21
20
msgid ":mod:`!email.message`: Representing an email message"
22
- msgstr ":mod:`email.message`: 전자 메일 메시지 표현"
21
+ msgstr ":mod:`! email.message`: 전자 메일 메시지 표현"
23
22
24
23
#: ../../library/email.message.rst:10
25
24
msgid "**Source code:** :source:`Lib/email/message.py`"
@@ -79,7 +78,6 @@ msgstr ""
79
78
"유형)에 액세스하고, 페이 로드를 다루고, 메시지의 직렬화된 버전을 생성하고, 객체 트리를 재귀적으로 탐색하는 메서드가 있습니다."
80
79
81
80
#: ../../library/email.message.rst:40
82
- #, fuzzy
83
81
msgid ""
84
82
"The :class:`EmailMessage` dictionary-like interface is indexed by the "
85
83
"header names, which must be ASCII values. The values of the dictionary "
@@ -91,8 +89,8 @@ msgid ""
91
89
msgstr ""
92
90
":class:`EmailMessage` 딕셔너리류 인터페이스는 ASCII 값이어야 하는 헤더 이름으로 인덱싱됩니다. 딕셔너리의 값은"
93
91
" 몇 가지 추가 메서드가 있는 문자열입니다. 헤더는 대소 문자를 유지하면서 저장되고 반환되지만, 필드 이름은 대소 문자를 구분하지 "
94
- "않고 일치합니다. 실제 딕셔너리와 달리, 키 순서가 있으며 중복된 키를 가질 수 있습니다. 중복 키가 있는 헤더로 작업하기 위한 "
95
- "추가 메서드가 제공됩니다."
92
+ "않고 일치합니다. 키 순서가 있습니다. 하지만 실제 딕셔너리와 달리 중복된 키를 가질 수 있습니다. 중복 키가 있는 헤더로 작업하기"
93
+ " 위한 추가 메서드가 제공됩니다."
96
94
97
95
#: ../../library/email.message.rst:47
98
96
msgid ""
@@ -120,7 +118,6 @@ msgstr ""
120
118
":mod:`~email.policy` 설명서를 참조하십시오."
121
119
122
120
#: ../../library/email.message.rst:64
123
- #, fuzzy
124
121
msgid ""
125
122
"Return the entire message flattened as a string. When optional "
126
123
"*unixfrom* is true, the envelope header is included in the returned "
@@ -137,8 +134,8 @@ msgstr ""
137
134
"header)가 반환된 문자열에 포함됩니다. *unixfrom*\\ 의 기본값은 ``False``\\ 입니다. 베이스 "
138
135
":class:`~email.message.Message` 클래스와의 과거 호환성을 위해 *maxheaderlen*\\ 이 허용되지만,"
139
136
" 기본값은 ``None``\\ 이고, 이는 기본적으로 줄 길이가 정책의 "
140
- ":attr:`~email.policy.EmailPolicy .max_line_length`\\ 에 의해 제어됨을 의미합니다. "
141
- "*policy* 인자는 메시지 인스턴스에서 얻은 기본 정책을 대체하는 데 사용될 수 있습니다. 지정된 *policy*\\ 가 "
137
+ ":attr:`~email.policy.Policy .max_line_length`\\ 에 의해 제어됨을 의미합니다. *policy* "
138
+ "인자는 메시지 인스턴스에서 얻은 기본 정책을 대체하는 데 사용될 수 있습니다. 지정된 *policy*\\ 가 "
142
139
":class:`~email.generator.Generator`\\ 로 전달되기 때문에, 메서드가 생성하는 포매팅의 일부를 제어하는 "
143
140
"데 사용할 수 있습니다."
144
141
@@ -223,13 +220,12 @@ msgstr ""
223
220
":class:`email.generator.BytesGenerator`\\ 를 참조하십시오."
224
221
225
222
#: ../../library/email.message.rst:127
226
- #, fuzzy
227
223
msgid ""
228
224
"Equivalent to :meth:`.as_bytes`. Allows ``bytes(msg)`` to produce a "
229
225
"bytes object containing the serialized message."
230
226
msgstr ""
231
- ":meth:`.as_bytes() `\\ 와 동등합니다. ``bytes(msg)``\\ 가 직렬화된 메시지를 포함하는 바이트열 객체를 "
232
- "생성할 수 있도록 합니다."
227
+ ":meth:`.as_bytes`\\ 와 동등합니다. ``bytes(msg)``\\ 가 직렬화된 메시지를 포함하는 바이트열 객체를 생성할 "
228
+ " 수 있도록 합니다."
233
229
234
230
#: ../../library/email.message.rst:133
235
231
msgid ""
@@ -314,6 +310,8 @@ msgid ""
314
310
"if 'message-id' in myMessage:\n"
315
311
" print('Message-ID:', myMessage['message-id'])"
316
312
msgstr ""
313
+ "if 'message-id' in myMessage:\n"
314
+ " print('Message-ID:', myMessage['message-id'])"
317
315
318
316
#: ../../library/email.message.rst:191
319
317
msgid ""
@@ -363,9 +361,10 @@ msgid ""
363
361
"del msg['subject']\n"
364
362
"msg['subject'] = 'Python roolz!'"
365
363
msgstr ""
364
+ "del msg['subject']\n"
365
+ "msg['subject'] = 'Python roolz!'"
366
366
367
367
#: ../../library/email.message.rst:216
368
- #, fuzzy
369
368
msgid ""
370
369
"If the :mod:`policy <email.policy>` defines certain headers to be unique "
371
370
"(as the standard policies do), this method may raise a :exc:`ValueError` "
@@ -374,9 +373,10 @@ msgid ""
374
373
" do not depend on it as we may choose to make such assignments do an "
375
374
"automatic deletion of the existing header in the future."
376
375
msgstr ""
377
- ":mod:`policy`\\ 가 (표준 정책에서처럼) 특정 헤더를 고유한(unique) 것으로 정의하면, 이 메서드는 헤더가 이미 "
378
- "존재할 때 해당 헤더에 값을 할당하려고 시도하면 :exc:`ValueError`\\ 를 발생시킬 수 있습니다. 이 동작은 일관성을 "
379
- "위해 의도적이지만, 향후 이러한 대입이 기존 헤더를 자동으로 삭제하도록 선택할 수 있기 때문에, 이것에 의존하지 마십시오."
376
+ ":mod:`정책 <email.policy>`\\ 이 (표준 정책에서처럼) 특정 헤더를 고유한(unique) 것으로 정의하면, 이 "
377
+ "메서드는 헤더가 이미 존재할 때 해당 헤더에 값을 할당하려고 시도하면 :exc:`ValueError`\\ 를 발생시킬 수 있습니다. "
378
+ "이 동작은 일관성을 위해 의도적이지만, 향후 이러한 대입이 기존 헤더를 자동으로 삭제하도록 선택할 수 있기 때문에, 이것에 의존하지"
379
+ " 마십시오."
380
380
381
381
#: ../../library/email.message.rst:226
382
382
msgid ""
@@ -400,14 +400,13 @@ msgid ""
400
400
msgstr "메시지의 모든 필드 헤더와 값을 담은 2-튜플의 리스트를 반환합니다."
401
401
402
402
#: ../../library/email.message.rst:249
403
- #, fuzzy
404
403
msgid ""
405
404
"Return the value of the named header field. This is identical to "
406
405
":meth:`~object.__getitem__` except that optional *failobj* is returned if"
407
406
" the named header is missing (*failobj* defaults to ``None``)."
408
407
msgstr ""
409
408
"명명된 헤더 필드의 값을 반환합니다. 명명된 헤더가 없을 때 선택적 *failobj*\\ 가 반환된다는 점을 제외하면 "
410
- ":meth:`__getitem__`\\ 와 같습니다 (*failobj*\\ 의 기본값은 ``None``)."
409
+ ":meth:`~object. __getitem__`\\ 와 같습니다 (*failobj*\\ 의 기본값은 ``None``)."
411
410
412
411
#: ../../library/email.message.rst:254
413
412
msgid "Here are some additional useful header related methods:"
@@ -470,15 +469,15 @@ msgstr "예를 들면 다음과 같습니다::"
470
469
471
470
#: ../../library/email.message.rst:289
472
471
msgid "msg.add_header('Content-Disposition', 'attachment', filename='bud.gif')"
473
- msgstr ""
472
+ msgstr "msg.add_header('Content-Disposition', 'attachment', filename='bud.gif') "
474
473
475
474
#: ../../library/email.message.rst:291
476
475
msgid "This will add a header that looks like ::"
477
476
msgstr "이것은 다음과 같은 헤더를 추가합니다 ::"
478
477
479
478
#: ../../library/email.message.rst:293
480
479
msgid "Content-Disposition: attachment; filename=\" bud.gif\" "
481
- msgstr ""
480
+ msgstr "Content-Disposition: attachment; filename= \" bud.gif \" "
482
481
483
482
#: ../../library/email.message.rst:295
484
483
msgid "An example of the extended interface with non-ASCII characters::"
@@ -489,6 +488,8 @@ msgid ""
489
488
"msg.add_header('Content-Disposition', 'attachment',\n"
490
489
" filename=('iso-8859-1', '', 'Fußballer.ppt'))"
491
490
msgstr ""
491
+ "msg.add_header('Content-Disposition', 'attachment',\n"
492
+ " filename=('iso-8859-1', '', 'Fußballer.ppt'))"
492
493
493
494
#: ../../library/email.message.rst:303
494
495
msgid ""
@@ -613,16 +614,15 @@ msgid ""
613
614
msgstr ":class:`EmailMessage` 객체에 *requote* 매개 변수를 사용하는 것은 폐지되었습니다."
614
615
615
616
#: ../../library/email.message.rst:380
616
- #, fuzzy
617
617
msgid ""
618
618
"Note that existing parameter values of headers may be accessed through "
619
619
"the :attr:`~email.headerregistry.ParameterizedMIMEHeader.params` "
620
620
"attribute of the header value (for example, ``msg['Content-"
621
621
"Type'].params['charset']``)."
622
622
msgstr ""
623
- "헤더의 기존 파라미터값은 헤더 값의 :attr:`~email.headerregistry.BaseHeader.params` "
624
- "어트리뷰트를 통해 액세스 할 수 있음에 유의하십시오 (예를 들어, ``msg['Content- "
625
- "Type'].params['charset']``)."
623
+ "헤더의 기존 파라미터값은 헤더 값의 "
624
+ ":attr:`~email.headerregistry.ParameterizedMIMEHeader.params` 어트리뷰트를 통해 "
625
+ "액세스 할 수 있음에 유의하십시오 (예를 들어, ``msg['Content- Type'].params['charset']``)."
626
626
627
627
#: ../../library/email.message.rst:384
628
628
msgid "``replace`` keyword was added."
@@ -784,6 +784,15 @@ msgid ""
784
784
"message/rfc822\n"
785
785
"text/plain"
786
786
msgstr ""
787
+ ">>> for part in msg.walk():\n"
788
+ "... print(part.get_content_type())\n"
789
+ "multipart/report\n"
790
+ "text/plain\n"
791
+ "message/delivery-status\n"
792
+ "text/plain\n"
793
+ "text/plain\n"
794
+ "message/rfc822\n"
795
+ "text/plain"
787
796
788
797
#: ../../library/email.message.rst:503
789
798
msgid ""
@@ -819,6 +828,25 @@ msgid ""
819
828
" message/rfc822\n"
820
829
" text/plain"
821
830
msgstr ""
831
+ ">>> from email.iterators import _structure\n"
832
+ ">>> for part in msg.walk():\n"
833
+ "... print(part.get_content_maintype() == 'multipart',\n"
834
+ "... part.is_multipart())\n"
835
+ "True True\n"
836
+ "False False\n"
837
+ "False True\n"
838
+ "False False\n"
839
+ "False False\n"
840
+ "False True\n"
841
+ "False False\n"
842
+ ">>> _structure(msg)\n"
843
+ "multipart/report\n"
844
+ " text/plain\n"
845
+ " message/delivery-status\n"
846
+ " text/plain\n"
847
+ " text/plain\n"
848
+ " message/rfc822\n"
849
+ " text/plain"
822
850
823
851
#: ../../library/email.message.rst:531
824
852
msgid ""
@@ -1076,11 +1104,10 @@ msgid "Remove the payload and all of the headers."
1076
1104
msgstr "페이 로드와 모든 헤더를 제거합니다."
1077
1105
1078
1106
#: ../../library/email.message.rst:694
1079
- #, fuzzy
1080
1107
msgid ""
1081
1108
"Remove the payload and all of the :mailheader:`!Content-` headers, "
1082
1109
"leaving all other headers intact and in their original order."
1083
- msgstr "페이 로드와 모든 :exc:` Content-` 헤더를 제거하고, 다른 모든 헤더는 원래 순서대로 그대로 둡니다."
1110
+ msgstr "페이 로드와 모든 :mailheader:`! Content-` 헤더를 제거하고, 다른 모든 헤더는 원래 순서대로 그대로 둡니다."
1084
1111
1085
1112
#: ../../library/email.message.rst:698
1086
1113
msgid ":class:`EmailMessage` objects have the following instance attributes:"
0 commit comments