From f89aa07fd617cbe7b478fbe78e2f5ea576a34af9 Mon Sep 17 00:00:00 2001 From: lamentxu <1372449351@qq.com> Date: Sat, 28 Jun 2025 20:44:55 +0800 Subject: [PATCH 01/10] Update tty.po --- library/tty.po | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/library/tty.po b/library/tty.po index 6b2b0efbc6..2647d0e7db 100644 --- a/library/tty.po +++ b/library/tty.po @@ -5,13 +5,14 @@ # Translators: # Liang-Bo Wang , 2016 # Matt Wang , 2021 +# Weilin Du, 2025 msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-10-11 00:13+0000\n" -"PO-Revision-Date: 2021-12-17 17:00+0800\n" -"Last-Translator: Matt Wang \n" +"PO-Revision-Date: 2025-06-28 20:38+0800\n" +"Last-Translator: Weilin Du\n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" @@ -19,7 +20,6 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.0.1\n" #: ../../library/tty.rst:2 msgid ":mod:`!tty` --- Terminal control functions" @@ -37,7 +37,7 @@ msgstr ":mod:`tty` 模組定義了將 tty 放入 cbreak 和 raw 模式的函式 #: ../../library/tty.rst:18 msgid "Availability" -msgstr "" +msgstr "可用性" #: ../../library/tty.rst:20 msgid "" @@ -53,24 +53,32 @@ msgid "" "Convert the tty attribute list *mode*, which is a list like the one returned " "by :func:`termios.tcgetattr`, to that of a tty in raw mode." msgstr "" +"將 tty 屬性清單 *mode* 轉換成原始模式下的 tty 屬性清單,這個清單就像 :func:" +"`termios.tcgetattr` 所傳回的一樣。" #: ../../library/tty.rst:35 msgid "" "Convert the tty attribute list *mode*, which is a list like the one returned " "by :func:`termios.tcgetattr`, to that of a tty in cbreak mode." msgstr "" +"將 tty 屬性清單 *mode* 轉換成 cbreak 模式下的 tty 屬性清單,這個清單就像 :" +"func:`termios.tcgetattr` 所傳回的一樣。" #: ../../library/tty.rst:38 msgid "" "This clears the ``ECHO`` and ``ICANON`` local mode flags in *mode* as well " "as setting the minimum input to 1 byte with no delay." msgstr "" +"這會清除 *mode* 中的 ``ECHO`` 和 ``ICANON`` 本地模式标识,並將最小輸入設定為 " +"1 字节,且無延遲。" #: ../../library/tty.rst:43 msgid "" "The ``ICRNL`` flag is no longer cleared. This matches Linux and macOS ``stty " "cbreak`` behavior and what :func:`setcbreak` historically did." msgstr "" +"不再清除 ``ICRNL`` 標記。這符合 Linux 和 macOS 的 ``stty cbreak`` 行為,也符" +"合 :func:`setcbreak` 歷來的做法。" #: ../../library/tty.rst:50 msgid "" @@ -106,6 +114,8 @@ msgid "" "This clears the ``ECHO`` and ``ICANON`` local mode flags as well as setting " "the minimum input to 1 byte with no delay." msgstr "" +"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式标识,並將最小輸入設定為 1 位字节,且" +"無延遲。" #: ../../library/tty.rst:72 msgid "" @@ -113,6 +123,8 @@ msgid "" "Python 3.11 and earlier as well as matching what Linux, macOS, & BSDs " "describe in their ``stty(1)`` man pages regarding cbreak mode." msgstr "" +"不再清除 ``ICRNL`` 标识。這恢復了 Python 3.11 及更早版本的行為,也符合 " +"Linux、macOS 及 BSD 在他們的 ``stty(1)`` man 頁面中描述的 cbreak 模式。" #: ../../library/tty.rst:80 msgid "Module :mod:`termios`" From e2a09dfdba122e9b107cfef90f29be90398dd406 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:34:07 +0800 Subject: [PATCH 02/10] Update library/tty.po Co-authored-by: W. H. Wang --- library/tty.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/tty.po b/library/tty.po index 2647d0e7db..1d7725eec2 100644 --- a/library/tty.po +++ b/library/tty.po @@ -69,7 +69,7 @@ msgid "" "This clears the ``ECHO`` and ``ICANON`` local mode flags in *mode* as well " "as setting the minimum input to 1 byte with no delay." msgstr "" -"這會清除 *mode* 中的 ``ECHO`` 和 ``ICANON`` 本地模式标识,並將最小輸入設定為 " +"這會清除 *mode* 中的 ``ECHO`` 和 ``ICANON`` 本地模式旗標,並將最小輸入設定為 " "1 字节,且無延遲。" #: ../../library/tty.rst:43 From dc5f360ea8027a7c6f87784ff4da95fe0f51745f Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:34:11 +0800 Subject: [PATCH 03/10] Update library/tty.po Co-authored-by: W. H. Wang --- library/tty.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/tty.po b/library/tty.po index 1d7725eec2..3ba742d7ac 100644 --- a/library/tty.po +++ b/library/tty.po @@ -70,7 +70,7 @@ msgid "" "as setting the minimum input to 1 byte with no delay." msgstr "" "這會清除 *mode* 中的 ``ECHO`` 和 ``ICANON`` 本地模式旗標,並將最小輸入設定為 " -"1 字节,且無延遲。" +"1 位元組,且無延遲。" #: ../../library/tty.rst:43 msgid "" From 00415e230ff1ec7b169167f0040ce8e90646bcf0 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:34:18 +0800 Subject: [PATCH 04/10] Update library/tty.po Co-authored-by: W. H. Wang --- library/tty.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/tty.po b/library/tty.po index 3ba742d7ac..f04c1dc263 100644 --- a/library/tty.po +++ b/library/tty.po @@ -54,7 +54,7 @@ msgid "" "by :func:`termios.tcgetattr`, to that of a tty in raw mode." msgstr "" "將 tty 屬性清單 *mode* 轉換成原始模式下的 tty 屬性清單,這個清單就像 :func:" -"`termios.tcgetattr` 所傳回的一樣。" +"`termios.tcgetattr` 所回傳的一樣。" #: ../../library/tty.rst:35 msgid "" From 3890d2b950e19e64be412a3f69965f5face62147 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:38:43 +0800 Subject: [PATCH 05/10] Update tty.po --- library/tty.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/tty.po b/library/tty.po index f04c1dc263..047f4eec3f 100644 --- a/library/tty.po +++ b/library/tty.po @@ -114,7 +114,7 @@ msgid "" "This clears the ``ECHO`` and ``ICANON`` local mode flags as well as setting " "the minimum input to 1 byte with no delay." msgstr "" -"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式标识,並將最小輸入設定為 1 位字节,且" +"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式標識,並將最小輸入設定為 1 位字節,且" "無延遲。" #: ../../library/tty.rst:72 @@ -123,7 +123,7 @@ msgid "" "Python 3.11 and earlier as well as matching what Linux, macOS, & BSDs " "describe in their ``stty(1)`` man pages regarding cbreak mode." msgstr "" -"不再清除 ``ICRNL`` 标识。這恢復了 Python 3.11 及更早版本的行為,也符合 " +"不再清除 ``ICRNL`` 標識。這恢復了 Python 3.11 及更早版本的行為,也符合 " "Linux、macOS 及 BSD 在他們的 ``stty(1)`` man 頁面中描述的 cbreak 模式。" #: ../../library/tty.rst:80 From c80c70f52b5b511eb4ba6d21a5e32ef63d1d673a Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:39:22 +0800 Subject: [PATCH 06/10] Update tty.po --- library/tty.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/tty.po b/library/tty.po index 047f4eec3f..a92ebf8a02 100644 --- a/library/tty.po +++ b/library/tty.po @@ -114,7 +114,7 @@ msgid "" "This clears the ``ECHO`` and ``ICANON`` local mode flags as well as setting " "the minimum input to 1 byte with no delay." msgstr "" -"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式標識,並將最小輸入設定為 1 位字節,且" +"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式旗標,並將最小輸入設定為 1 位字節,且" "無延遲。" #: ../../library/tty.rst:72 @@ -123,7 +123,7 @@ msgid "" "Python 3.11 and earlier as well as matching what Linux, macOS, & BSDs " "describe in their ``stty(1)`` man pages regarding cbreak mode." msgstr "" -"不再清除 ``ICRNL`` 標識。這恢復了 Python 3.11 及更早版本的行為,也符合 " +"不再清除 ``ICRNL`` 旗標。這恢復了 Python 3.11 及更早版本的行為,也符合 " "Linux、macOS 及 BSD 在他們的 ``stty(1)`` man 頁面中描述的 cbreak 模式。" #: ../../library/tty.rst:80 From 10a2c532a7496aafcea5faea8817f68cde1c872a Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:49:05 +0800 Subject: [PATCH 07/10] Update library/tty.po Co-authored-by: W. H. Wang --- library/tty.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/tty.po b/library/tty.po index a92ebf8a02..3d094ac35e 100644 --- a/library/tty.po +++ b/library/tty.po @@ -114,7 +114,7 @@ msgid "" "This clears the ``ECHO`` and ``ICANON`` local mode flags as well as setting " "the minimum input to 1 byte with no delay." msgstr "" -"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式旗標,並將最小輸入設定為 1 位字節,且" +"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式旗標,並將最小輸入設定為 1 位元組,且" "無延遲。" #: ../../library/tty.rst:72 From 7b414a31bf009ba9b761fa23e5427f48bb5eff93 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:49:11 +0800 Subject: [PATCH 08/10] Update library/tty.po Co-authored-by: W. H. Wang --- library/tty.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/tty.po b/library/tty.po index 3d094ac35e..f69722c884 100644 --- a/library/tty.po +++ b/library/tty.po @@ -62,7 +62,7 @@ msgid "" "by :func:`termios.tcgetattr`, to that of a tty in cbreak mode." msgstr "" "將 tty 屬性清單 *mode* 轉換成 cbreak 模式下的 tty 屬性清單,這個清單就像 :" -"func:`termios.tcgetattr` 所傳回的一樣。" +"func:`termios.tcgetattr` 所回傳的一樣。" #: ../../library/tty.rst:38 msgid "" From c5272276708a50d5907c40e96727febe32b38eda Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:50:42 +0800 Subject: [PATCH 09/10] Update tty.po --- library/tty.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/tty.po b/library/tty.po index f69722c884..ffa6d3052d 100644 --- a/library/tty.po +++ b/library/tty.po @@ -53,7 +53,7 @@ msgid "" "Convert the tty attribute list *mode*, which is a list like the one returned " "by :func:`termios.tcgetattr`, to that of a tty in raw mode." msgstr "" -"將 tty 屬性清單 *mode* 轉換成原始模式下的 tty 屬性清單,這個清單就像 :func:" +"將 tty 屬性串列 *mode* 轉換成原始模式下的 tty 屬性清單,這個清單就像 :func:" "`termios.tcgetattr` 所回傳的一樣。" #: ../../library/tty.rst:35 @@ -61,7 +61,7 @@ msgid "" "Convert the tty attribute list *mode*, which is a list like the one returned " "by :func:`termios.tcgetattr`, to that of a tty in cbreak mode." msgstr "" -"將 tty 屬性清單 *mode* 轉換成 cbreak 模式下的 tty 屬性清單,這個清單就像 :" +"將 tty 屬性串列 *mode* 轉換成 cbreak 模式下的 tty 屬性清單,這個清單就像 :" "func:`termios.tcgetattr` 所回傳的一樣。" #: ../../library/tty.rst:38 From 666bd2bb6e445bc85e5c277871d33c38519a06e2 Mon Sep 17 00:00:00 2001 From: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Date: Mon, 30 Jun 2025 13:53:37 +0800 Subject: [PATCH 10/10] Update library/tty.po Co-authored-by: W. H. Wang --- library/tty.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/tty.po b/library/tty.po index ffa6d3052d..20433b7082 100644 --- a/library/tty.po +++ b/library/tty.po @@ -53,7 +53,7 @@ msgid "" "Convert the tty attribute list *mode*, which is a list like the one returned " "by :func:`termios.tcgetattr`, to that of a tty in raw mode." msgstr "" -"將 tty 屬性串列 *mode* 轉換成原始模式下的 tty 屬性清單,這個清單就像 :func:" +"將 tty 屬性串列 *mode* 轉換成原始模式下的 tty 屬性串列,這個串列就像 :func:" "`termios.tcgetattr` 所回傳的一樣。" #: ../../library/tty.rst:35 @@ -61,7 +61,7 @@ msgid "" "Convert the tty attribute list *mode*, which is a list like the one returned " "by :func:`termios.tcgetattr`, to that of a tty in cbreak mode." msgstr "" -"將 tty 屬性串列 *mode* 轉換成 cbreak 模式下的 tty 屬性清單,這個清單就像 :" +"將 tty 屬性串列 *mode* 轉換成 cbreak 模式下的 tty 屬性串列,這個串列就像 :" "func:`termios.tcgetattr` 所回傳的一樣。" #: ../../library/tty.rst:38