Skip to content

Translate library/tty.po #1076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 3.13
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions library/tty.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
# Translators:
# Liang-Bo Wang <[email protected]>, 2016
# Matt Wang <[email protected]>, 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 <[email protected]>\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"
"MIME-Version: 1.0\n"
"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"
Expand All @@ -37,7 +37,7 @@ msgstr ":mod:`tty` 模組定義了將 tty 放入 cbreak 和 raw 模式的函式

#: ../../library/tty.rst:18
msgid "Availability"
msgstr ""
msgstr "可用性"

#: ../../library/tty.rst:20
msgid ""
Expand All @@ -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 ""
Expand Down Expand Up @@ -106,13 +114,17 @@ 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 ""
"The ``ICRNL`` flag is no longer cleared. This restores the behavior of "
"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`"
Expand Down