Skip to content

Commit 92a964b

Browse files
committed
#922 - remove fuzzy flags
1 parent 84f4208 commit 92a964b

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

library/email.policy.po

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ msgstr ""
1717
"Generated-By: Babel 2.17.0\n"
1818

1919
#: ../../library/email.policy.rst:2
20-
#, fuzzy
2120
msgid ":mod:`!email.policy`: Policy Objects"
22-
msgstr ":mod:`email.policy`: 정책 객체"
21+
msgstr ":mod:`!email.policy`: 정책 객체"
2322

2423
#: ../../library/email.policy.rst:12
2524
msgid "**Source code:** :source:`Lib/email/policy.py`"
@@ -171,6 +170,19 @@ msgid ""
171170
">>> p.stdin.close()\n"
172171
">>> rc = p.wait()"
173172
msgstr ""
173+
">>> from email import message_from_binary_file\n"
174+
">>> from email.generator import BytesGenerator\n"
175+
">>> from email import policy\n"
176+
">>> from subprocess import Popen, PIPE\n"
177+
">>> with open('mymsg.txt', 'rb') as f:\n"
178+
"... msg = message_from_binary_file(f, policy=policy.default)\n"
179+
"...\n"
180+
">>> p = Popen(['sendmail', msg['To'].addresses[0]], stdin=PIPE)\n"
181+
">>> g = BytesGenerator(p.stdin, "
182+
"policy=msg.policy.clone(linesep='\\r\\n'))\n"
183+
">>> g.flatten(msg)\n"
184+
">>> p.stdin.close()\n"
185+
">>> rc = p.wait()"
174186

175187
#: ../../library/email.policy.rst:114
176188
msgid ""
@@ -203,6 +215,11 @@ msgid ""
203215
"f.write(msg.as_bytes(policy=msg.policy.clone(linesep=os.linesep)))\n"
204216
"17"
205217
msgstr ""
218+
">>> import os\n"
219+
">>> with open('converted.txt', 'wb') as f:\n"
220+
"... "
221+
"f.write(msg.as_bytes(policy=msg.policy.clone(linesep=os.linesep)))\n"
222+
"17"
206223

207224
#: ../../library/email.policy.rst:130
208225
msgid ""
@@ -217,6 +234,9 @@ msgid ""
217234
">>> compat_strict = policy.compat32.clone(raise_on_defect=True)\n"
218235
">>> compat_strict_SMTP = compat_SMTP + compat_strict"
219236
msgstr ""
237+
">>> compat_SMTP = policy.compat32.clone(linesep='\\r\\n')\n"
238+
">>> compat_strict = policy.compat32.clone(raise_on_defect=True)\n"
239+
">>> compat_strict_SMTP = compat_SMTP + compat_strict"
220240

221241
#: ../../library/email.policy.rst:138
222242
msgid ""
@@ -235,6 +255,14 @@ msgid ""
235255
">>> apolicy.max_line_length\n"
236256
"100"
237257
msgstr ""
258+
">>> policy100 = policy.compat32.clone(max_line_length=100)\n"
259+
">>> policy80 = policy.compat32.clone(max_line_length=80)\n"
260+
">>> apolicy = policy100 + policy80\n"
261+
">>> apolicy.max_line_length\n"
262+
"80\n"
263+
">>> apolicy = policy80 + policy100\n"
264+
">>> apolicy.max_line_length\n"
265+
"100"
238266

239267
#: ../../library/email.policy.rst:153
240268
msgid ""
@@ -397,14 +425,13 @@ msgstr ""
397425
"의해 호출되는 용도가 아닙니다. 사용자 정의 정책은 이 모든 메서드를 구현해야 합니다."
398426

399427
#: ../../library/email.policy.rst:268
400-
#, fuzzy
401428
msgid ""
402429
"Handle a *defect* found on *obj*. When the email package calls this "
403430
"method, *defect* will always be a subclass of "
404431
":class:`~email.errors.MessageDefect`."
405432
msgstr ""
406433
"*obj*\\에서 찾은 *defect*\\를 처리합니다. email 패키지가 이 메서드를 호출할 때, *defect*\\는 항상 "
407-
":class:`~email.errors.Defect`\\의 서브 클래스입니다."
434+
":class:`~email.errors.MessageDefect`\\의 서브 클래스입니다."
408435

409436
#: ../../library/email.policy.rst:272
410437
msgid ""
@@ -417,13 +444,12 @@ msgstr ""
417444
" 전달됩니다."
418445

419446
#: ../../library/email.policy.rst:279
420-
#, fuzzy
421447
msgid ""
422448
"Register a *defect* on *obj*. In the email package, *defect* will always"
423449
" be a subclass of :class:`~email.errors.MessageDefect`."
424450
msgstr ""
425451
"*obj*\\에 *defect*\\를 등록합니다. email 패키지에서, *defect*\\는 항상 "
426-
":class:`~email.errors.Defect`\\의 서브 클래스입니다."
452+
":class:`~email.errors.MessageDefect`\\의 서브 클래스입니다."
427453

428454
#: ../../library/email.policy.rst:282
429455
msgid ""
@@ -881,7 +907,7 @@ msgstr ""
881907

882908
#: ../../library/email.policy.rst:571
883909
msgid "somepolicy + policy.strict"
884-
msgstr ""
910+
msgstr "somepolicy + policy.strict"
885911

886912
#: ../../library/email.policy.rst:574
887913
msgid ""
@@ -1014,6 +1040,3 @@ msgid ""
10141040
"package>`."
10151041
msgstr "원래 3.3에 :term:`잠정적 기능 <provisional package>`\\으로 추가되었습니다."
10161042

1017-
#~ msgid "The *mangle_from_* parameter."
1018-
#~ msgstr "*mangle_from_* 매개 변수."
1019-

0 commit comments

Comments
 (0)