Skip to content

Commit f8fa2e6

Browse files
Translate library/tty.po (#1076)
* Update tty.po * Update library/tty.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> * Update library/tty.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> * Update library/tty.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> * Update tty.po * Update tty.po * Update library/tty.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> * Update library/tty.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> * Update tty.po * Update library/tty.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> --------- Co-authored-by: W. H. Wang <mattwang44@gmail.com>
1 parent c652bc1 commit f8fa2e6

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

library/tty.po

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
# Translators:
66
# Liang-Bo Wang <me@liang2.tw>, 2016
77
# Matt Wang <mattwang44@gmail.com>, 2021
8+
# Weilin Du, 2025
89
msgid ""
910
msgstr ""
1011
"Project-Id-Version: Python 3.13\n"
1112
"Report-Msgid-Bugs-To: \n"
1213
"POT-Creation-Date: 2024-10-11 00:13+0000\n"
13-
"PO-Revision-Date: 2021-12-17 17:00+0800\n"
14-
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
14+
"PO-Revision-Date: 2025-06-28 20:38+0800\n"
15+
"Last-Translator: Weilin Du\n"
1516
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1617
"tw)\n"
1718
"Language: zh_TW\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
2021
"Content-Transfer-Encoding: 8bit\n"
2122
"Plural-Forms: nplurals=1; plural=0;\n"
22-
"X-Generator: Poedit 3.0.1\n"
2323

2424
#: ../../library/tty.rst:2
2525
msgid ":mod:`!tty` --- Terminal control functions"
@@ -37,7 +37,7 @@ msgstr ":mod:`tty` 模組定義了將 tty 放入 cbreak 和 raw 模式的函式
3737

3838
#: ../../library/tty.rst:18
3939
msgid "Availability"
40-
msgstr ""
40+
msgstr "可用性"
4141

4242
#: ../../library/tty.rst:20
4343
msgid ""
@@ -53,24 +53,32 @@ msgid ""
5353
"Convert the tty attribute list *mode*, which is a list like the one returned "
5454
"by :func:`termios.tcgetattr`, to that of a tty in raw mode."
5555
msgstr ""
56+
"將 tty 屬性串列 *mode* 轉換成原始模式下的 tty 屬性串列,這個串列就像 :func:"
57+
"`termios.tcgetattr` 所回傳的一樣。"
5658

5759
#: ../../library/tty.rst:35
5860
msgid ""
5961
"Convert the tty attribute list *mode*, which is a list like the one returned "
6062
"by :func:`termios.tcgetattr`, to that of a tty in cbreak mode."
6163
msgstr ""
64+
"將 tty 屬性串列 *mode* 轉換成 cbreak 模式下的 tty 屬性串列,這個串列就像 :"
65+
"func:`termios.tcgetattr` 所回傳的一樣。"
6266

6367
#: ../../library/tty.rst:38
6468
msgid ""
6569
"This clears the ``ECHO`` and ``ICANON`` local mode flags in *mode* as well "
6670
"as setting the minimum input to 1 byte with no delay."
6771
msgstr ""
72+
"這會清除 *mode* 中的 ``ECHO`` 和 ``ICANON`` 本地模式旗標,並將最小輸入設定為 "
73+
"1 位元組,且無延遲。"
6874

6975
#: ../../library/tty.rst:43
7076
msgid ""
7177
"The ``ICRNL`` flag is no longer cleared. This matches Linux and macOS ``stty "
7278
"cbreak`` behavior and what :func:`setcbreak` historically did."
7379
msgstr ""
80+
"不再清除 ``ICRNL`` 標記。這符合 Linux 和 macOS 的 ``stty cbreak`` 行為,也符"
81+
"合 :func:`setcbreak` 歷來的做法。"
7482

7583
#: ../../library/tty.rst:50
7684
msgid ""
@@ -106,13 +114,17 @@ msgid ""
106114
"This clears the ``ECHO`` and ``ICANON`` local mode flags as well as setting "
107115
"the minimum input to 1 byte with no delay."
108116
msgstr ""
117+
"這會清除 ``ECHO`` 和 ``ICANON`` 本地模式旗標,並將最小輸入設定為 1 位元組,且"
118+
"無延遲。"
109119

110120
#: ../../library/tty.rst:72
111121
msgid ""
112122
"The ``ICRNL`` flag is no longer cleared. This restores the behavior of "
113123
"Python 3.11 and earlier as well as matching what Linux, macOS, & BSDs "
114124
"describe in their ``stty(1)`` man pages regarding cbreak mode."
115125
msgstr ""
126+
"不再清除 ``ICRNL`` 旗標。這恢復了 Python 3.11 及更早版本的行為,也符合 "
127+
"Linux、macOS 及 BSD 在他們的 ``stty(1)`` man 頁面中描述的 cbreak 模式。"
116128

117129
#: ../../library/tty.rst:80
118130
msgid "Module :mod:`termios`"

0 commit comments

Comments
 (0)