From ad8714d7977ce23fc5310f11e84387fad7660899 Mon Sep 17 00:00:00 2001 From: timmy Date: Mon, 19 Feb 2024 11:51:47 +0800 Subject: [PATCH 1/3] work on ssl --- library/ssl.po | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/library/ssl.po b/library/ssl.po index 0ed136ec16..0b4045812b 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-01-25 06:20+0000\n" -"PO-Revision-Date: 2024-01-15 15:49+0800\n" +"PO-Revision-Date: 2024-02-19 11:42+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -832,17 +832,17 @@ msgstr "請改用 :data:`PROTOCOL_TLS`。" #: ../../library/ssl.rst:616 msgid "Selects SSL version 3 as the channel encryption protocol." -msgstr "" +msgstr "選擇第三版的 SSL 做為頻道加密協定。" #: ../../library/ssl.rst:618 msgid "" "This protocol is not available if OpenSSL is compiled with the ``no-ssl3`` " "option." -msgstr "" +msgstr "如果 OpenSSL 是用 ``no-ssl3`` 編譯的,則此項協議無法使用。" #: ../../library/ssl.rst:623 msgid "SSL version 3 is insecure. Its use is highly discouraged." -msgstr "SSL version 3 是不安全的,強烈建議不要使用。" +msgstr "第三版的 SSL 是不安全的,強烈建議不要使用。" #: ../../library/ssl.rst:627 msgid "" @@ -851,10 +851,13 @@ msgid "" "attr:`SSLContext.minimum_version` and :attr:`SSLContext.maximum_version` " "instead." msgstr "" +"OpenSSL 已經終止了所有特定版本的協定。請改用預設的 :data:" +"`PROTOCOL_TLS_SERVER` 協定或帶有 :attr:`SSLContext.minimum_version` 和 :attr:" +"`SSLContext.maximum_version` 的 :data:`PROTOCOL_TLS_CLIENT`。" #: ../../library/ssl.rst:635 msgid "Selects TLS version 1.0 as the channel encryption protocol." -msgstr "" +msgstr "選擇 1.0 版的 TLS 做為頻道加密協定。" #: ../../library/ssl.rst:639 ../../library/ssl.rst:650 #: ../../library/ssl.rst:661 @@ -866,12 +869,16 @@ msgid "" "Selects TLS version 1.1 as the channel encryption protocol. Available only " "with openssl version 1.0.1+." msgstr "" +"選擇 1.1 版的 TLS 做為頻道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" +"用。" #: ../../library/ssl.rst:654 msgid "" "Selects TLS version 1.2 as the channel encryption protocol. Available only " "with openssl version 1.0.1+." msgstr "" +"選擇 1.2 版的 TLS 做為頻道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" +"用。" #: ../../library/ssl.rst:665 msgid "" From c2ec47f8ffbb58f0f37ddf0f5a92bc4c8cf2c6c6 Mon Sep 17 00:00:00 2001 From: timmy Date: Mon, 19 Feb 2024 16:39:09 +0800 Subject: [PATCH 2/3] fix suggestion --- library/ssl.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/ssl.po b/library/ssl.po index 0b4045812b..3afcafc42b 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-01-25 06:20+0000\n" -"PO-Revision-Date: 2024-02-19 11:42+0800\n" +"PO-Revision-Date: 2024-02-19 16:36+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -832,7 +832,7 @@ msgstr "請改用 :data:`PROTOCOL_TLS`。" #: ../../library/ssl.rst:616 msgid "Selects SSL version 3 as the channel encryption protocol." -msgstr "選擇第三版的 SSL 做為頻道加密協定。" +msgstr "選擇第三版的 SSL 做為通道加密協定。" #: ../../library/ssl.rst:618 msgid "" @@ -857,7 +857,7 @@ msgstr "" #: ../../library/ssl.rst:635 msgid "Selects TLS version 1.0 as the channel encryption protocol." -msgstr "選擇 1.0 版的 TLS 做為頻道加密協定。" +msgstr "選擇 1.0 版的 TLS 做為通道加密協定。" #: ../../library/ssl.rst:639 ../../library/ssl.rst:650 #: ../../library/ssl.rst:661 @@ -869,7 +869,7 @@ msgid "" "Selects TLS version 1.1 as the channel encryption protocol. Available only " "with openssl version 1.0.1+." msgstr "" -"選擇 1.1 版的 TLS 做為頻道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" +"選擇 1.1 版的 TLS 做為通道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" "用。" #: ../../library/ssl.rst:654 @@ -877,7 +877,7 @@ msgid "" "Selects TLS version 1.2 as the channel encryption protocol. Available only " "with openssl version 1.0.1+." msgstr "" -"選擇 1.2 版的 TLS 做為頻道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" +"選擇 1.2 版的 TLS 做為通道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" "用。" #: ../../library/ssl.rst:665 From 8cc0d88cc6fd25e7a86231bcb9349098db469ecd Mon Sep 17 00:00:00 2001 From: timmy Date: Mon, 19 Feb 2024 16:40:58 +0800 Subject: [PATCH 3/3] fix suggestion --- library/ssl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/ssl.po b/library/ssl.po index 3afcafc42b..0935ea3349 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-01-25 06:20+0000\n" -"PO-Revision-Date: 2024-02-19 16:36+0800\n" +"PO-Revision-Date: 2024-02-19 16:40+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -869,7 +869,7 @@ msgid "" "Selects TLS version 1.1 as the channel encryption protocol. Available only " "with openssl version 1.0.1+." msgstr "" -"選擇 1.1 版的 TLS 做為通道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" +"選擇 1.1 版的 TLS 做為通道加密協定。只有在 1.0.1 版本以上的 OpenSSL 才可以選" "用。" #: ../../library/ssl.rst:654 @@ -877,7 +877,7 @@ msgid "" "Selects TLS version 1.2 as the channel encryption protocol. Available only " "with openssl version 1.0.1+." msgstr "" -"選擇 1.2 版的 TLS 做為通道加密協定。只有在 1.0.1 版本以上的 OpenSSL才可以選" +"選擇 1.2 版的 TLS 做為通道加密協定。只有在 1.0.1 版本以上的 OpenSSL 才可以選" "用。" #: ../../library/ssl.rst:665