@@ -17,9 +17,8 @@ msgstr ""
17
17
"Generated-By : Babel 2.17.0\n "
18
18
19
19
#: ../../library/email.header.rst:2
20
- #, fuzzy
21
20
msgid ":mod:`!email.header`: Internationalized headers"
22
- msgstr ":mod:`email.header`: 국제화된 헤더"
21
+ msgstr ":mod:`! email.header`: 국제화된 헤더"
23
22
24
23
#: ../../library/email.header.rst:7
25
24
msgid "**Source code:** :source:`Lib/email/header.py`"
@@ -100,6 +99,13 @@ msgid ""
100
99
">>> msg.as_string()\n"
101
100
"'Subject: =?iso-8859-1?q?p=F6stal?=\\ n\\ n'"
102
101
msgstr ""
102
+ ">>> from email.message import Message\n"
103
+ ">>> from email.header import Header\n"
104
+ ">>> msg = Message()\n"
105
+ ">>> h = Header('p\\ xf6stal', 'iso-8859-1')\n"
106
+ ">>> msg['Subject'] = h\n"
107
+ ">>> msg.as_string()\n"
108
+ "'Subject: =?iso-8859-1?q?p=F6stal?=\\ n\\ n'"
103
109
104
110
#: ../../library/email.header.rst:50
105
111
msgid ""
@@ -154,7 +160,6 @@ msgstr ""
154
160
" 집합과 후속 :meth:`append` 호출의 기본값으로 사용됩니다."
155
161
156
162
#: ../../library/email.header.rst:77
157
- #, fuzzy
158
163
msgid ""
159
164
"The maximum line length can be specified explicitly via *maxlinelen*. "
160
165
"For splitting the first line to a shorter value (to account for the field"
@@ -165,7 +170,7 @@ msgid ""
165
170
msgstr ""
166
171
"최대 줄 길이는 *maxlinelen*\\ 을 통해 명시적으로 지정할 수 있습니다. (*s*\\ 에 포함되지 않은 필드 헤더를 고려하기"
167
172
" 위해, 예를 들어 :mailheader:`Subject`) 첫 번째 줄을 더 짧은 값으로 분할하려면 *header_name*\\ 에"
168
- " 필드 이름을 전달하십시오. 기본 *maxlinelen*\\ 은 76이고 , *header_name*\\ 의 기본값은 "
173
+ " 필드 이름을 전달하십시오. 기본 *maxlinelen*\\ 은 78이고 , *header_name*\\ 의 기본값은 "
169
174
"``None``\\ 입니다, 이는 긴 분할 헤더의 첫 번째 줄을 고려하지 않음을 의미합니다."
170
175
171
176
#: ../../library/email.header.rst:84
@@ -348,6 +353,9 @@ msgid ""
348
353
">>> decode_header('=?iso-8859-1?q?p=F6stal?=')\n"
349
354
"[(b'p\\ xf6stal', 'iso-8859-1')]"
350
355
msgstr ""
356
+ ">>> from email.header import decode_header\n"
357
+ ">>> decode_header('=?iso-8859-1?q?p=F6stal?=')\n"
358
+ "[(b'p\\ xf6stal', 'iso-8859-1')]"
351
359
352
360
#: ../../library/email.header.rst:195
353
361
msgid ""
0 commit comments