@@ -490,7 +490,7 @@ msgid ""
490
490
"example if the file does not exist."
491
491
msgstr ""
492
492
"被命名的檔案必須是類別所能正確剖析的格式,否則會產生 :exc:`LoadError`。此"
493
- "外,:exc:`OSError` 可能會被抛出 ,例如檔案不存在時。"
493
+ "外,:exc:`OSError` 可能會被拋出 ,例如檔案不存在時。"
494
494
495
495
#: ../../library/http.cookiejar.rst:285
496
496
msgid ":exc:`IOError` used to be raised, it is now an alias of :exc:`OSError`."
@@ -652,7 +652,7 @@ msgstr ""
652
652
"如果 :meth:`domain_return_ok` 對 cookie 域回傳 true, :meth:`path_return_ok` "
653
653
"就會被用來調用 cookie 路徑。 否則 :meth:`path_return_ok` "
654
654
"和 :meth:`return_ok` 永遠不會被調用。 如果 :meth:`path_return_ok` 回傳 true,"
655
- "則會調用 :meth:`return_ok` 附帶的 :class:`Cookie` 物件本身以进行全面检查 。 否"
655
+ "則會調用 :meth:`return_ok` 附帶的 :class:`Cookie` 物件本身以進行全面檢查 。 否"
656
656
"則, :meth:`return_ok` 將永遠不會被調用。"
657
657
658
658
#: ../../library/http.cookiejar.rst:396
@@ -663,8 +663,8 @@ msgid ""
663
663
"domain is ``\" www.example.com\" ``. The same goes for :meth:`path_return_ok`."
664
664
msgstr ""
665
665
"請注意,:meth:`domain_return_ok` 是針對每個 *cookie* 網域來呼叫的,而不只是針"
666
- "對 *request* 網域。 例如,如果請求域是 ``“ www.example.com” `` ,這個函式可能會"
667
- "同時被 ``“ .example.com” `` 和 ``“ www.example.com” `` 呼叫。 同樣的道理也適用"
666
+ "對 *request* 網域。 例如,如果請求域是 ``「 www.example.com」 `` ,這個函式可能會"
667
+ "同時被 ``「 .example.com」 `` 和 ``「 www.example.com」 `` 呼叫。 同樣的道理也適用"
668
668
"於 :meth:`path_return_ok`。"
669
669
670
670
#: ../../library/http.cookiejar.rst:401
@@ -786,8 +786,8 @@ msgid ""
786
786
msgstr ""
787
787
"提供網域阻止清單和允許清單(預設都關閉)。只有不在阻止清單中和在允許清單中"
788
788
"(如果允許清單是有效的)的網域才參與 cookie 設定和傳回。 使用 "
789
- "*blocked_domains* 构造函数参数 ,以及 :meth:`blocked_domains` "
790
- "和 :meth:`set_blocked_domains` 方法(以及 *allowed_domains* 的相应参数和方 "
789
+ "*blocked_domains* 構造函數參數 ,以及 :meth:`blocked_domains` "
790
+ "和 :meth:`set_blocked_domains` 方法(以及 *allowed_domains* 的相應參數和方 "
791
791
"法)。 如果您設定了 allowlist,您可以透過設定為 :const:`None` 來再次關閉它。"
792
792
793
793
#: ../../library/http.cookiejar.rst:474
@@ -894,7 +894,7 @@ msgid ""
894
894
"blocked on the basis of verifiability"
895
895
msgstr ""
896
896
"遵循針對不可驗證事務的 :rfc:`2965` 規則(不可驗證事務通常是由重定向或請求發佈"
897
- "在其它網站的圖片導致的)。 如果該屬性爲假值 ,則 永遠不會 基於可驗證性而阻止 "
897
+ "在其它網站的圖片導致的)。 如果該屬性為假值 ,則 永遠不會 基於可驗證性而阻止 "
898
898
"cookie"
899
899
900
900
#: ../../library/http.cookiejar.rst:551
@@ -985,8 +985,8 @@ msgid ""
985
985
"may be 'downgraded' by :mod:`http.cookiejar` from version 1 to version 0 "
986
986
"(Netscape) cookies."
987
987
msgstr ""
988
- ":class:`Cookie` 实例的 Python 属性大致对应于各种 cookie 标准中指定的标准 "
989
- "cookie 属性 。 這個對應關係不是一一對應的,因為有複雜的規則來指定預設值,因為 "
988
+ ":class:`Cookie` 實例的 Python 屬性大致對應於各種 cookie 標准中指定的標准 "
989
+ "cookie 屬性 。 這個對應關係不是一一對應的,因為有複雜的規則來指定預設值,因為 "
990
990
"``max-age` 和 ``expires`` cookie 屬性包含相等的信息,也因為 :rfc:`2109` "
991
991
"cookie 可能會被 :mod:`http.cookiejar` 從版本 1 「降級」 到版本 0 (Netscape) "
992
992
"cookie。"
@@ -1034,7 +1034,7 @@ msgstr "Cookie 網域 (字符串)。"
1034
1034
1035
1035
#: ../../library/http.cookiejar.rst:659
1036
1036
msgid "Cookie path (a string, eg. ``'/acme/rocket_launchers'``)."
1037
- msgstr "Cookie 路徑 (字串,例如 ``‘ /acme/rocket_launchers’ ``)。"
1037
+ msgstr "Cookie 路徑 (字串,例如 ``『 /acme/rocket_launchers』 ``)。"
1038
1038
1039
1039
#: ../../library/http.cookiejar.rst:664
1040
1040
msgid "``True`` if cookie should only be returned over a secure connection."
@@ -1050,7 +1050,7 @@ msgstr ""
1050
1050
1051
1051
#: ../../library/http.cookiejar.rst:675
1052
1052
msgid "``True`` if this is a session cookie."
1053
- msgstr "如果這是會話 cookie,即爲 ``True`` 。"
1053
+ msgstr "如果這是會話 cookie,即為 ``True`` 。"
1054
1054
1055
1055
#: ../../library/http.cookiejar.rst:680
1056
1056
msgid ""
@@ -1063,7 +1063,7 @@ msgid ""
1063
1063
"URL linking to a comment from the server explaining the function of this "
1064
1064
"cookie, or :const:`None`."
1065
1065
msgstr ""
1066
- "鏈接到來自伺服器的解釋此 cookie 功能的註釋的 URL,或者爲 :const:`None`。"
1066
+ "鏈接到來自伺服器的解釋此 cookie 功能的註釋的 URL,或者為 :const:`None`。"
1067
1067
1068
1068
#: ../../library/http.cookiejar.rst:692
1069
1069
msgid ""
@@ -1084,7 +1084,7 @@ msgid ""
1084
1084
"``True`` if a port or set of ports was explicitly specified by the server "
1085
1085
"(in the :mailheader:`Set-Cookie` / :mailheader:`Set-Cookie2` header)."
1086
1086
msgstr ""
1087
- "如果服务器显式地指定了一个端口或一组端口 (在 :mailheader:`Set-"
1087
+ "如果服務器顯式地指定了一個端口或一組端口 (在 :mailheader:`Set-"
1088
1088
"Cookie` / :mailheader:`Set-Cookie2` 標頭中)。"
1089
1089
1090
1090
#: ../../library/http.cookiejar.rst:707
0 commit comments