diff --git a/library/tty.po b/library/tty.po index 6b2b0efbc6..20433b7082 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`"