Skip to content

Commit e7674ce

Browse files
timmy0123mattwang44cschan1828
authored
work on ssl (#801)
* work on ssl * Apply suggestions from code review Co-authored-by: cschan <45995789+cschan1828@users.noreply.github.com> --------- Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com> Co-authored-by: cschan <45995789+cschan1828@users.noreply.github.com>
1 parent 8dc4a60 commit e7674ce

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

library/ssl.po

+12-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2024-01-25 06:20+0000\n"
10-
"PO-Revision-Date: 2024-01-09 10:47+0800\n"
10+
"PO-Revision-Date: 2024-01-15 15:49+0800\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1313
"tw)\n"
@@ -780,24 +780,31 @@ msgid ""
780780
"possible to trust certificates issued by an intermediate CA without having "
781781
"to trust its ancestor root CA."
782782
msgstr ""
783+
":attr:`SSLContext.verify_flags` 可能的值。它指示 OpenSSL 接受信任存儲中的中"
784+
"間 CAs 作為信任錨,就像自簽名的根 CA 憑證。這樣就能去信任中間 CA 所頒發的憑"
785+
"證,而不一定非要去信任其祖先的根 CA。"
783786

784787
#: ../../library/ssl.rst:573
785788
msgid ":class:`enum.IntFlag` collection of VERIFY_* constants."
786-
msgstr ""
789+
msgstr ":class:`enum.IntFlag` 為 VERIFY_* 常數的其中一個集合。"
787790

788791
#: ../../library/ssl.rst:579
789792
msgid ""
790793
"Selects the highest protocol version that both the client and server "
791794
"support. Despite the name, this option can select both \"SSL\" and \"TLS\" "
792795
"protocols."
793796
msgstr ""
797+
"選擇客戶端及伺服器均可以支援最高協定版本。儘管名稱只有 「TLS」,但實際上"
798+
"「SSL」和「TLS」均可以選擇。"
794799

795800
#: ../../library/ssl.rst:586
796801
msgid ""
797802
"TLS clients and servers require different default settings for secure "
798803
"communication. The generic TLS protocol constant is deprecated in favor of :"
799804
"data:`PROTOCOL_TLS_CLIENT` and :data:`PROTOCOL_TLS_SERVER`."
800805
msgstr ""
806+
"TLS 的客戶端及伺服器端需要不同的預設值來實現安全通訊。通用的 TLS 協定常數已被"
807+
"廢除,並改用 :data:`PROTOCOL_TLS_CLIENT` 和 :data:`PROTOCOL_TLS_SERVER`。"
801808

802809
#: ../../library/ssl.rst:592
803810
msgid ""
@@ -806,12 +813,14 @@ msgid ""
806813
"enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by "
807814
"default."
808815
msgstr ""
816+
"自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。該協定預設"
817+
"啟用 :data:`CERT_REQUIRED` 和 :attr:`~SSLContext.check_hostname`。"
809818

810819
#: ../../library/ssl.rst:601
811820
msgid ""
812821
"Auto-negotiate the highest protocol version that both the client and server "
813822
"support, and configure the context server-side connections."
814-
msgstr ""
823+
msgstr "自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。"
815824

816825
#: ../../library/ssl.rst:608
817826
msgid "Alias for :data:`PROTOCOL_TLS`."

0 commit comments

Comments
 (0)