From 1f41f8d29bd0647c249bf66ffbfb37974b4924cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=84=AD=E5=AE=87=E4=BC=B8?= Date: Tue, 19 Mar 2024 18:48:22 +0800 Subject: [PATCH 1/3] work on ssl --- library/ssl.po | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/library/ssl.po b/library/ssl.po index 9f2cf16f18..4555697027 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-03-06 00:03+0000\n" -"PO-Revision-Date: 2024-02-26 10:39+0800\n" +"PO-Revision-Date: 2024-03-19 18:48+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -991,6 +991,8 @@ msgid "" "Use the server's cipher ordering preference, rather than the client's. This " "option has no effect on client sockets and SSLv2 server sockets." msgstr "" +"使用伺服器的密碼排序優先順序,而不是客戶端的。此選項並不會影響到客戶端及 " +"SSLv2 伺服器的 sockets。" #: ../../library/ssl.rst:762 msgid "" @@ -998,6 +1000,8 @@ msgid "" "forward secrecy but requires more computational resources. This option only " "applies to server sockets." msgstr "" +"防止對單獨的 SSL 會談重複使用相同的 DH 密鑰。這會加強向前保密但需要更多的運算" +"資源。此選項只適用於伺服器 sockets。" #: ../../library/ssl.rst:770 msgid "" @@ -1005,12 +1009,16 @@ msgid "" "improves forward secrecy but requires more computational resources. This " "option only applies to server sockets." msgstr "" +"防止對單獨的 SSL 會談重複使用相同的 ECDH 密鑰。這會加強向前保密但需要更多的運" +"算資源。此選項只適用於伺服器 sockets。" #: ../../library/ssl.rst:778 msgid "" "Send dummy Change Cipher Spec (CCS) messages in TLS 1.3 handshake to make a " "TLS 1.3 connection look more like a TLS 1.2 connection." msgstr "" +"在 TLS 1.3 握手中發送虛擬的變更密碼規範 (CCS) 消息,以使 TLS 1.3 連接看起來更" +"像 TLS 1.2 連線。" #: ../../library/ssl.rst:781 msgid "This option is only available with OpenSSL 1.1.1 and later." @@ -1020,19 +1028,19 @@ msgstr "此選項僅適用於 OpenSSL 1.1.1 及更新版本。" msgid "" "Disable compression on the SSL channel. This is useful if the application " "protocol supports its own compression scheme." -msgstr "" +msgstr "在 SSL 通道上禁用壓縮。如果應用程序協議支持自己的壓縮方案,這很有用。" #: ../../library/ssl.rst:794 msgid ":class:`enum.IntFlag` collection of OP_* constants." -msgstr "" +msgstr ":class:`enum.IntFlag` 維 OP_* 常數中的一個集合。" #: ../../library/ssl.rst:798 msgid "Prevent client side from requesting a session ticket." -msgstr "" +msgstr "防止客戶端請求會談票據。" #: ../../library/ssl.rst:804 msgid "Ignore unexpected shutdown of TLS connections." -msgstr "" +msgstr "忽略意外關閉的 TLS 連線。" #: ../../library/ssl.rst:806 ../../library/ssl.rst:822 msgid "This option is only available with OpenSSL 3.0.0 and later." From acc315223abdd8c805f86de06de46f23d57fac65 Mon Sep 17 00:00:00 2001 From: timmy0123 <48618505+timmy0123@users.noreply.github.com> Date: Tue, 26 Mar 2024 10:30:56 +0800 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: cschan <45995789+cschan1828@users.noreply.github.com> --- library/ssl.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/ssl.po b/library/ssl.po index 4555697027..e6226e6f78 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -1000,7 +1000,7 @@ msgid "" "forward secrecy but requires more computational resources. This option only " "applies to server sockets." msgstr "" -"防止對單獨的 SSL 會談重複使用相同的 DH 密鑰。這會加強向前保密但需要更多的運算" +"防止對不同的 SSL 會談重複使用相同的 DH 密鑰。這會加強向前保密但需要更多的運算" "資源。此選項只適用於伺服器 sockets。" #: ../../library/ssl.rst:770 @@ -1009,7 +1009,7 @@ msgid "" "improves forward secrecy but requires more computational resources. This " "option only applies to server sockets." msgstr "" -"防止對單獨的 SSL 會談重複使用相同的 ECDH 密鑰。這會加強向前保密但需要更多的運" +"防止對不同的的 SSL 會談重複使用相同的 ECDH 密鑰。這會加強向前保密但需要更多的運" "算資源。此選項只適用於伺服器 sockets。" #: ../../library/ssl.rst:778 @@ -1028,11 +1028,11 @@ msgstr "此選項僅適用於 OpenSSL 1.1.1 及更新版本。" msgid "" "Disable compression on the SSL channel. This is useful if the application " "protocol supports its own compression scheme." -msgstr "在 SSL 通道上禁用壓縮。如果應用程序協議支持自己的壓縮方案,這很有用。" +msgstr "在 SSL 通道上禁用壓縮。如果應用程序協定支援自己的壓縮方案,這會很有用。" #: ../../library/ssl.rst:794 msgid ":class:`enum.IntFlag` collection of OP_* constants." -msgstr ":class:`enum.IntFlag` 維 OP_* 常數中的一個集合。" +msgstr ":class:`enum.IntFlag` 為 OP_* 常數中的一個集合。" #: ../../library/ssl.rst:798 msgid "Prevent client side from requesting a session ticket." From 5298486e32c7c95c585dcd58c373022414f1a3dd Mon Sep 17 00:00:00 2001 From: cschan <45995789+cschan1828@users.noreply.github.com> Date: Tue, 26 Mar 2024 23:38:05 +0800 Subject: [PATCH 3/3] Apply suggestions from code review --- library/ssl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl.po b/library/ssl.po index e6226e6f78..62e7a4b871 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -1009,7 +1009,7 @@ msgid "" "improves forward secrecy but requires more computational resources. This " "option only applies to server sockets." msgstr "" -"防止對不同的的 SSL 會談重複使用相同的 ECDH 密鑰。這會加強向前保密但需要更多的運" +"防止對不同的 SSL 會談重複使用相同的 ECDH 密鑰。這會加強向前保密但需要更多的運" "算資源。此選項只適用於伺服器 sockets。" #: ../../library/ssl.rst:778