Skip to content

Commit 96c9784

Browse files
committed
#892 - remove fuzzy flags
1 parent 4d08746 commit 96c9784

File tree

1 file changed

+53
-39
lines changed

1 file changed

+53
-39
lines changed

library/http.cookiejar.po

Lines changed: 53 additions & 39 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/http.cookiejar.rst:2
20-
#, fuzzy
2120
msgid ":mod:`!http.cookiejar` --- Cookie handling for HTTP clients"
22-
msgstr ":mod:`http.cookiejar` --- HTTP 클라이언트를 위한 쿠키 처리"
21+
msgstr ":mod:`!http.cookiejar` --- HTTP 클라이언트를 위한 쿠키 처리"
2322

2423
#: ../../library/http.cookiejar.rst:10
2524
msgid "**Source code:** :source:`Lib/http/cookiejar.py`"
@@ -38,7 +37,6 @@ msgstr ""
3837
"-- 을 요구하는 웹 사이트에 액세스하는 데 유용합니다."
3938

4039
#: ../../library/http.cookiejar.rst:19
41-
#, fuzzy
4240
msgid ""
4341
"Both the regular Netscape cookie protocol and the protocol defined by "
4442
":rfc:`2965` are handled. RFC 2965 handling is switched off by default. "
@@ -84,11 +82,12 @@ msgstr ""
8482
":exc:`LoadError`\\는 :exc:`OSError`\\의 서브 클래스입니다."
8583

8684
#: ../../library/http.cookiejar.rst:46
87-
#, fuzzy
8885
msgid ""
8986
":exc:`LoadError` used to be a subtype of :exc:`IOError`, which is now an "
9087
"alias of :exc:`OSError`."
91-
msgstr ":exc:`IOError`\\가 발생했었지만, 이제는 :exc:`OSError`\\의 별칭입니다."
88+
msgstr ""
89+
"이전에는 :exc:`LoadError`\\가 :exc:`IOError`\\의 서브 형이었습니다. 이제는 "
90+
":exc:`OSError`\\의 별칭입니다."
9291

9392
#: ../../library/http.cookiejar.rst:51
9493
msgid "The following classes are provided:"
@@ -219,9 +218,8 @@ msgstr ""
219218
":mod:`http.cookies` 모듈은 서로 의존하지 않습니다."
220219

221220
#: ../../library/http.cookiejar.rst:127
222-
#, fuzzy
223221
msgid "https://curl.se/rfc/cookie_spec.html"
224-
msgstr "https://curl.haxx.se/rfc/cookie_spec.html"
222+
msgstr "https://curl.se/rfc/cookie_spec.html"
225223

226224
#: ../../library/http.cookiejar.rst:128
227225
msgid ""
@@ -256,9 +254,8 @@ msgstr ""
256254
"Cookie2`\\를 사용합니다. 널리 사용되지 않습니다."
257255

258256
#: ../../library/http.cookiejar.rst:140
259-
#, fuzzy
260257
msgid "https://kristol.org/cookie/errata.html"
261-
msgstr "http://kristol.org/cookie/errata.html"
258+
msgstr "https://kristol.org/cookie/errata.html"
262259

263260
#: ../../library/http.cookiejar.rst:141
264261
msgid "Unfinished errata to :rfc:`2965`."
@@ -300,7 +297,6 @@ msgstr ""
300297
":mailheader:`Cookie2` 헤더도 적절한 경우 추가됩니다."
301298

302299
#: ../../library/http.cookiejar.rst:164
303-
#, fuzzy
304300
msgid ""
305301
"The *request* object (usually a :class:`urllib.request.Request` instance)"
306302
" must support the methods :meth:`get_full_url`, :meth:`has_header`, "
@@ -309,10 +305,10 @@ msgid ""
309305
" :attr:`origin_req_host` as documented by :mod:`urllib.request`."
310306
msgstr ""
311307
"*request* 객체(일반적으로 :class:`urllib.request.Request` 인스턴스)는 "
312-
":mod:`urllib.request`\\가 설명하는 :meth:`get_full_url`, :meth:`get_host`, "
313-
":meth:`get_type`, :meth:`unverifiable`, :meth:`has_header`, "
314-
":meth:`get_header`, :meth:`header_items`, :meth:`add_unredirected_header`"
315-
":attr:`origin_req_host` 어트리뷰트를 지원해야 합니다."
308+
":mod:`urllib.request`\\에 설명되어 있듯이 :meth:`get_full_url`, "
309+
":meth:`has_header`, :meth:`get_header`, :meth:`header_items`, "
310+
":meth:`add_unredirected_header` 및 어트리뷰트 :attr:`host`, :attr:`!type`, "
311+
":attr:`unverifiable`, :attr:`origin_req_host`\\ 지원해야 합니다."
316312

317313
#: ../../library/http.cookiejar.rst:172 ../../library/http.cookiejar.rst:198
318314
msgid ""
@@ -350,7 +346,6 @@ msgstr ""
350346
":class:`email.message.Message` 인스턴스를 반환하는 :meth:`info` 메서드를 지원해야 합니다."
351347

352348
#: ../../library/http.cookiejar.rst:189
353-
#, fuzzy
354349
msgid ""
355350
"The *request* object (usually a :class:`urllib.request.Request` instance)"
356351
" must support the method :meth:`get_full_url` and the attributes "
@@ -360,9 +355,9 @@ msgid ""
360355
"allowed to be set."
361356
msgstr ""
362357
"*request* 객체(일반적으로 :class:`urllib.request.Request` 인스턴스)는 "
363-
":mod:`urllib.request`\\가 설명하는 메서드 :meth:`get_full_url`, :meth:`get_host`,"
364-
" :meth:`unverifiable` 및 :attr:`origin_req_host` 어트리뷰트를 지원해야 합니다. request는"
365-
" 쿠키를 설정할 수 있는지 확인하는 것뿐만 아니라 쿠키 어트리뷰트의 기본값을 설정하는 데 사용됩니다."
358+
":mod:`urllib.request`\\에 설명되어 있듯이 메서드 :meth:`get_full_url` 과 어트리뷰트 "
359+
":attr:`host`, :attr:`unverifiable` 및 :attr:`origin_req_host`\\지원해야 합니다."
360+
" request는 쿠키를 설정할 수 있는지 확인하는 것뿐만 아니라 쿠키 어트리뷰트의 기본값을 설정하는 데 사용됩니다."
366361

367362
#: ../../library/http.cookiejar.rst:203
368363
msgid "Set the :class:`CookiePolicy` instance to be used."
@@ -550,14 +545,13 @@ msgid ""
550545
msgstr "다음 :class:`CookieJar` 서브 클래스는 읽기와 쓰기를 위해 제공됩니다."
551546

552547
#: ../../library/http.cookiejar.rst:324
553-
#, fuzzy
554548
msgid ""
555549
"A :class:`FileCookieJar` that can load from and save cookies to disk in "
556550
"the Mozilla ``cookies.txt`` file format (which is also used by curl and "
557551
"the Lynx and Netscape browsers)."
558552
msgstr ""
559-
"Mozilla ``cookies.txt`` 파일 형식(Lynx와 Netscape 브라우저에서도 사용됩니다)으로 디스크에서 쿠키를 "
560-
"로드하고 저장할 수 있는 :class:`FileCookieJar`."
553+
"Mozilla ``cookies.txt`` 파일 형식(curl, Lynx 및 Netscape 브라우저에서도 사용됩니다)으로 "
554+
"디스크에서 쿠키를 로드하고 저장할 수 있는 :class:`FileCookieJar`."
561555

562556
#: ../../library/http.cookiejar.rst:330
563557
msgid ""
@@ -759,6 +753,15 @@ msgid ""
759753
" return False\n"
760754
" return True"
761755
msgstr ""
756+
"import http.cookiejar\n"
757+
"class MyCookiePolicy(http.cookiejar.DefaultCookiePolicy):\n"
758+
" def set_ok(self, cookie, request):\n"
759+
" if not http.cookiejar.DefaultCookiePolicy.set_ok(self, cookie, "
760+
"request):\n"
761+
" return False\n"
762+
" if i_dont_want_to_store_this_cookie(cookie):\n"
763+
" return False\n"
764+
" return True"
762765

763766
#: ../../library/http.cookiejar.rst:460
764767
msgid ""
@@ -774,7 +777,6 @@ msgstr ""
774777
" 엄격성 스위치가 있습니다 (일부 양성 쿠키를 차단하는 대가를 치르면서)."
775778

776779
#: ../../library/http.cookiejar.rst:466
777-
#, fuzzy
778780
msgid ""
779781
"A domain blocklist and allowlist is provided (both off by default). Only "
780782
"domains not in the blocklist and present in the allowlist (if the "
@@ -784,14 +786,13 @@ msgid ""
784786
"and methods for *allowed_domains*). If you set an allowlist, you can "
785787
"turn it off again by setting it to :const:`None`."
786788
msgstr ""
787-
"도메인 블랙리스트와 화이트리스트가 제공됩니다 (둘 다 기본적으로 꺼져있습니다). 블랙리스트에 없고 화이트리스트에 있는(화이트리스트가"
788-
" 활성화되었다면) 도메인만 쿠키 설정과 반환에 참여합니다. *blocked_domains* 생성자 인자와 "
789+
"도메인 차단 목록과 수락 목록이 제공됩니다 (둘 다 기본적으로 꺼져있습니다). 차단 목록에 없고 수락 목록에 있는(수락 목록이 "
790+
"활성화되었다면) 도메인만 쿠키 설정과 반환에 참여합니다. *blocked_domains* 생성자 인자와 "
789791
":meth:`blocked_domains` 및 :meth:`set_blocked_domains` 메서드 (그리고 "
790-
"*allowed_domains*\\를 위한 해당 인자와 메서드)를 사용하십시오. 화이트리스트를 설정하면, "
791-
":const:`None`\\으로 설정하여 화이트리스트를 다시 끌 수 있습니다."
792+
"*allowed_domains*\\를 위한 해당 인자와 메서드)를 사용하십시오. 수락 목록을 설정하면, "
793+
":const:`None`\\으로 설정하여 수락 목록을 다시 끌 수 있습니다."
792794

793795
#: ../../library/http.cookiejar.rst:474
794-
#, fuzzy
795796
msgid ""
796797
"Domains in block or allow lists that do not start with a dot must equal "
797798
"the cookie domain to be matched. For example, ``\"example.com\"`` "
@@ -805,7 +806,7 @@ msgid ""
805806
"192.168.1.2 is blocked, but 193.168.1.2 is not."
806807
msgstr ""
807808
"점으로 시작하지 않는 차단 또는 수락 목록에 있는 도메인은 일치할 쿠키 도메인과 같아야 합니다. 예를 들어, "
808-
"``\"example.com\"``\\블랙리스트 항목 ``\"example.com\"``\\과 일치하지만, "
809+
"``\"example.com\"``\\차단 목록 항목 ``\"example.com\"``\\과 일치하지만, "
809810
"``\"www.example.com\"``\\은 일치하지 않습니다. 점으로 시작하는 도메인은 더 구체적인 도메인과도 일치합니다. "
810811
"예를 들어, ``\"www.example.com\"``\\과 ``\"www.coyote.example.com\"``\\은 모두 "
811812
"``\".example.com\"``\\과 일치합니다 (하지만 ``\"example.com\"`` 자체는 일치하지 않습니다). IP"
@@ -825,11 +826,10 @@ msgid "Set the sequence of blocked domains."
825826
msgstr "차단된 도메인 시퀀스를 설정합니다."
826827

827828
#: ../../library/http.cookiejar.rst:498
828-
#, fuzzy
829829
msgid ""
830830
"Return ``True`` if *domain* is on the blocklist for setting or receiving "
831831
"cookies."
832-
msgstr "*domain*\\이 쿠키 설정이나 수신에 대한 블랙리스트에 있는지를 반환합니다."
832+
msgstr "*domain*\\이 쿠키 설정이나 수신에 대한 차단 목록에 있으면 ``True``\\ 반환합니다."
833833

834834
#: ../../library/http.cookiejar.rst:504
835835
msgid "Return :const:`None`, or the sequence of allowed domains (as a tuple)."
@@ -840,11 +840,10 @@ msgid "Set the sequence of allowed domains, or :const:`None`."
840840
msgstr "수락 도메인 시퀀스, 또는 :const:`None`\\을 설정합니다."
841841

842842
#: ../../library/http.cookiejar.rst:514
843-
#, fuzzy
844843
msgid ""
845844
"Return ``True`` if *domain* is not on the allowlist for setting or "
846845
"receiving cookies."
847-
msgstr "*domain*\\이 쿠키 설정이나 수신에 대한 화이트리스트에 없는지를 반환합니다."
846+
msgstr "*domain*\\이 쿠키 설정이나 수신에 대한 수락 목록에 있으면 ``True``\\ 반환합니다."
848847

849848
#: ../../library/http.cookiejar.rst:517
850849
msgid ""
@@ -1030,9 +1029,8 @@ msgid ""
10301029
msgstr "포트나 포트 집합을 나타내는 문자열 (예를 들어 '80'이나 '80,8080'), 또는 :const:`None`."
10311030

10321031
#: ../../library/http.cookiejar.rst:654
1033-
#, fuzzy
10341032
msgid "Cookie domain (a string)."
1035-
msgstr "쿠키 이름 (문자열)."
1033+
msgstr "쿠키 도메인 (문자열)."
10361034

10371035
#: ../../library/http.cookiejar.rst:659
10381036
msgid "Cookie path (a string, eg. ``'/acme/rocket_launchers'``)."
@@ -1144,6 +1142,11 @@ msgid ""
11441142
"urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))\n"
11451143
"r = opener.open(\"http://example.com/\")"
11461144
msgstr ""
1145+
"import http.cookiejar, urllib.request\n"
1146+
"cj = http.cookiejar.CookieJar()\n"
1147+
"opener = "
1148+
"urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))\n"
1149+
"r = opener.open(\"http://example.com/\")"
11471150

11481151
#: ../../library/http.cookiejar.rst:754
11491152
msgid ""
@@ -1164,6 +1167,13 @@ msgid ""
11641167
"urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))\n"
11651168
"r = opener.open(\"http://example.com/\")"
11661169
msgstr ""
1170+
"import os, http.cookiejar, urllib.request\n"
1171+
"cj = http.cookiejar.MozillaCookieJar()\n"
1172+
"cj.load(os.path.join(os.path.expanduser(\"~\"), \".netscape\", "
1173+
"\"cookies.txt\"))\n"
1174+
"opener = "
1175+
"urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))\n"
1176+
"r = opener.open(\"http://example.com/\")"
11671177

11681178
#: ../../library/http.cookiejar.rst:763
11691179
msgid ""
@@ -1188,9 +1198,13 @@ msgid ""
11881198
"urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))\n"
11891199
"r = opener.open(\"http://example.com/\")"
11901200
msgstr ""
1191-
1192-
#~ msgid ""
1193-
#~ "LoadError was made a subclass of "
1194-
#~ ":exc:`OSError` instead of :exc:`IOError`."
1195-
#~ msgstr "LoadError는 :exc:`IOError` 대신 :exc:`OSError`\\의 서브 클래스가 되었습니다."
1201+
"import urllib.request\n"
1202+
"from http.cookiejar import CookieJar, DefaultCookiePolicy\n"
1203+
"policy = DefaultCookiePolicy(\n"
1204+
" rfc2965=True, strict_ns_domain=Policy.DomainStrict,\n"
1205+
" blocked_domains=[\"ads.net\", \".ads.net\"])\n"
1206+
"cj = CookieJar(policy)\n"
1207+
"opener = "
1208+
"urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))\n"
1209+
"r = opener.open(\"http://example.com/\")"
11961210

0 commit comments

Comments
 (0)