Skip to content

Commit a0d5101

Browse files
committed
library/termios.po -> translation at the first time
1 parent 7840257 commit a0d5101

1 file changed

Lines changed: 95 additions & 24 deletions

File tree

‎library/termios.po‎

Lines changed: 95 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
# SOME DESCRIPTIVE TITLE.
1+
# German translation of the Python documentation.
22
# Copyright (C) 2001 Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4+
#
5+
# Translators:
6+
# Swen Bachmann, 2026
57
#
68
msgid ""
79
msgstr ""
810
"Project-Id-Version: Python 3.15\n"
911
"Report-Msgid-Bugs-To: \n"
1012
"POT-Creation-Date: 2026-08-22 12:07+0200\n"
11-
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
12-
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
13+
"PO-Revision-Date: 2026-10-23 22:10+0200\n"
14+
"Last-Translator: python-doc bot, 2025\n"
15+
"Language-Team: German (https://github.com/python/python-docs-de)\n"
1316
"Language: de\n"
1417
"MIME-Version: 1.0\n"
1518
"Content-Type: text/plain; charset=UTF-8\n"
@@ -18,7 +21,7 @@ msgstr ""
1821

1922
#: ../../library/termios.rst:2
2023
msgid ":mod:`!termios` --- POSIX style tty control"
21-
msgstr ""
24+
msgstr ":mod:`!termios` --- tty-Steuerung im POSIX-Stil"
2225

2326
#: ../../library/termios.rst:13
2427
msgid ""
@@ -27,17 +30,27 @@ msgid ""
2730
"manual page. It is only available for those Unix versions that support "
2831
"POSIX *termios* style tty I/O control configured during installation."
2932
msgstr ""
33+
"Dieses Modul stellt eine Schnittstelle zu den POSIX-Aufrufen für die tty-E/A-"
34+
"Steuerung bereit. Eine vollständige Beschreibung dieser Aufrufe steht in der "
35+
"Unix-Man-Page :manpage:`termios(3)`. Es ist nur für diejenigen Unix-"
36+
"Fassungen verfügbar, die eine tty-E/A-Steuerung im POSIX-*termios*-Stil "
37+
"unterstützen und bei deren Installation sie eingerichtet wurde."
3038

3139
#: ../../library/termios.rst:18
3240
msgid "Availability"
33-
msgstr ""
41+
msgstr "Verfügbarkeit"
3442

3543
#: ../../library/termios.rst:20
3644
msgid ""
3745
"All functions in this module take a file descriptor *fd* as their first "
38-
"argument. This can be an integer file descriptor, such as returned by ``sys."
39-
"stdin.fileno()``, or a :term:`file object`, such as ``sys.stdin`` itself."
46+
"argument. This can be an integer file descriptor, such as returned by "
47+
"``sys.stdin.fileno()``, or a :term:`file object`, such as ``sys.stdin`` "
48+
"itself."
4049
msgstr ""
50+
"Alle Funktionen in diesem Modul nehmen einen Dateideskriptor *fd* als erstes "
51+
"Argument. Das kann ein ganzzahliger Dateideskriptor sein, wie "
52+
"``sys.stdin.fileno()`` ihn zurückgibt, oder ein :term:`Dateiobjekt <file "
53+
"object>` wie ``sys.stdin`` selbst."
4154

4255
#: ../../library/termios.rst:24
4356
msgid ""
@@ -46,10 +59,15 @@ msgid ""
4659
"refer to your system documentation for more information on using these "
4760
"terminal control interfaces."
4861
msgstr ""
62+
"Dieses Modul legt außerdem alle Konstanten fest, die zum Arbeiten mit den "
63+
"hier bereitgestellten Funktionen nötig sind. Sie haben dieselben Namen wie "
64+
"ihre Gegenstücke in C. Weitere Informationen zur Verwendung dieser "
65+
"Schnittstellen zur Terminalsteuerung stehen in der Dokumentation deines "
66+
"Systems."
4967

5068
#: ../../library/termios.rst:29
5169
msgid "The module defines the following functions:"
52-
msgstr ""
70+
msgstr "Das Modul legt die folgenden Funktionen fest:"
5371

5472
#: ../../library/termios.rst:34
5573
msgid ""
@@ -61,88 +79,129 @@ msgid ""
6179
"as well as the indexing in the *cc* array must be done using the symbolic "
6280
"constants defined in the :mod:`!termios` module."
6381
msgstr ""
82+
"Gibt eine Liste mit den tty-Attributen für den Dateideskriptor *fd* zurück, "
83+
"und zwar so: ``[iflag, oflag, cflag, lflag, ispeed, ospeed, cc]``, wobei "
84+
"*cc* eine Liste der tty-Sonderzeichen ist (jedes eine Zeichenkette der Länge "
85+
"1, außer den Elementen mit den Indizes :const:`VMIN` und :const:`VTIME`, die "
86+
"ganze Zahlen sind, wenn diese Felder festgelegt sind). Die Auslegung der "
87+
"Flags und der Geschwindigkeiten sowie die Indizierung im Array *cc* müssen "
88+
"über die symbolischen Konstanten erfolgen, die im Modul :mod:`!termios` "
89+
"festgelegt sind."
6490

6591
#: ../../library/termios.rst:45
6692
msgid ""
6793
"Set the tty attributes for file descriptor *fd* from the *attributes*, which "
6894
"is a list like the one returned by :func:`tcgetattr`. The *when* argument "
6995
"determines when the attributes are changed:"
7096
msgstr ""
97+
"Setzt die tty-Attribute für den Dateideskriptor *fd* aus *attributes*, einer "
98+
"Liste wie der, die :func:`tcgetattr` zurückgibt. Das Argument *when* "
99+
"bestimmt, wann die Attribute geändert werden:"
71100

72101
#: ../../library/termios.rst:51
73102
msgid "Change attributes immediately."
74-
msgstr ""
103+
msgstr "Ändert die Attribute sofort."
75104

76105
#: ../../library/termios.rst:55
77106
msgid "Change attributes after transmitting all queued output."
78107
msgstr ""
108+
"Ändert die Attribute, nachdem alle in der Warteschlange stehende Ausgabe "
109+
"übertragen wurde."
79110

80111
#: ../../library/termios.rst:59
81112
msgid ""
82113
"Change attributes after transmitting all queued output and discarding all "
83114
"queued input."
84115
msgstr ""
116+
"Ändert die Attribute, nachdem alle in der Warteschlange stehende Ausgabe "
117+
"übertragen und alle in der Warteschlange stehende Eingabe verworfen wurde."
85118

86119
#: ../../library/termios.rst:65
87120
msgid ""
88121
"Send a break on file descriptor *fd*. A zero *duration* sends a break for "
89122
"0.25--0.5 seconds; a nonzero *duration* has a system dependent meaning."
90123
msgstr ""
124+
"Sendet ein Break auf dem Dateideskriptor *fd*. Eine *duration* von null "
125+
"sendet ein Break für 0,25--0,5 Sekunden, eine *duration* ungleich null hat "
126+
"eine systemabhängige Bedeutung."
91127

92128
#: ../../library/termios.rst:71
93129
msgid ""
94130
"Wait until all output written to file descriptor *fd* has been transmitted."
95131
msgstr ""
132+
"Wartet, bis alle auf den Dateideskriptor *fd* geschriebene Ausgabe "
133+
"übertragen wurde."
96134

97135
#: ../../library/termios.rst:76
98136
msgid ""
99137
"Discard queued data on file descriptor *fd*. The *queue* selector specifies "
100138
"which queue: :const:`TCIFLUSH` for the input queue, :const:`TCOFLUSH` for "
101139
"the output queue, or :const:`TCIOFLUSH` for both queues."
102140
msgstr ""
141+
"Verwirft die in der Warteschlange stehenden Daten auf dem Dateideskriptor "
142+
"*fd*. Der Selektor *queue* gibt an, welche Warteschlange: :const:`TCIFLUSH` "
143+
"für die Eingabewarteschlange, :const:`TCOFLUSH` für die Ausgabewarteschlange "
144+
"oder :const:`TCIOFLUSH` für beide."
103145

104146
#: ../../library/termios.rst:83
105147
msgid ""
106148
"Suspend or resume input or output on file descriptor *fd*. The *action* "
107149
"argument can be :const:`TCOOFF` to suspend output, :const:`TCOON` to restart "
108150
"output, :const:`TCIOFF` to suspend input, or :const:`TCION` to restart input."
109151
msgstr ""
152+
"Setzt die Eingabe oder Ausgabe auf dem Dateideskriptor *fd* aus oder nimmt "
153+
"sie wieder auf. Das Argument *action* kann :const:`TCOOFF` sein, um die "
154+
"Ausgabe auszusetzen, :const:`TCOON`, um die Ausgabe wieder zu "
155+
"starten, :const:`TCIOFF`, um die Eingabe auszusetzen, oder :const:`TCION`, "
156+
"um die Eingabe wieder zu starten."
110157

111158
#: ../../library/termios.rst:90
112159
msgid ""
113160
"Return a tuple ``(ws_row, ws_col)`` containing the tty window size for file "
114-
"descriptor *fd*. Requires :const:`termios.TIOCGWINSZ` or :const:`termios."
115-
"TIOCGSIZE`."
161+
"descriptor *fd*. Requires :const:`termios.TIOCGWINSZ` "
162+
"or :const:`termios.TIOCGSIZE`."
116163
msgstr ""
164+
"Gibt ein Tupel ``(ws_row, ws_col)`` mit der tty-Fenstergröße für den "
165+
"Dateideskriptor *fd* zurück. Erfordert :const:`termios.TIOCGWINSZ` "
166+
"oder :const:`termios.TIOCGSIZE`."
117167

118168
#: ../../library/termios.rst:99
119169
msgid ""
120170
"Set the tty window size for file descriptor *fd* from *winsize*, which is a "
121-
"two-item tuple ``(ws_row, ws_col)`` like the one returned by :func:"
122-
"`tcgetwinsize`. Requires at least one of the pairs (:const:`termios."
123-
"TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`); (:const:`termios.TIOCGSIZE`, :"
124-
"const:`termios.TIOCSSIZE`) to be defined."
171+
"two-item tuple ``(ws_row, ws_col)`` like the one returned "
172+
"by :func:`tcgetwinsize`. Requires at least one of the pairs "
173+
"(:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`); "
174+
"(:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined."
125175
msgstr ""
176+
"Setzt die tty-Fenstergröße für den Dateideskriptor *fd* aus *winsize*, einem "
177+
"zweielementigen Tupel ``(ws_row, ws_col)`` wie dem, das :func:`tcgetwinsize` "
178+
"zurückgibt. Erfordert, dass mindestens eines der Paare "
179+
"(:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`) und "
180+
"(:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) festgelegt ist."
126181

127182
#: ../../library/termios.rst:110
128183
msgid "Module :mod:`tty`"
129-
msgstr ""
184+
msgstr "Modul :mod:`tty`"
130185

131186
#: ../../library/termios.rst:111
132187
msgid "Convenience functions for common terminal control operations."
133-
msgstr ""
188+
msgstr "Bequeme Funktionen für häufige Vorgänge der Terminalsteuerung."
134189

135190
#: ../../library/termios.rst:117
136191
msgid "Example"
137-
msgstr ""
192+
msgstr "Beispiel"
138193

139194
#: ../../library/termios.rst:119
140195
msgid ""
141196
"Here's a function that prompts for a password with echoing turned off. Note "
142-
"the technique using a separate :func:`tcgetattr` call and a :keyword:"
143-
"`try` ... :keyword:`finally` statement to ensure that the old tty attributes "
144-
"are restored exactly no matter what happens::"
197+
"the technique using a separate :func:`tcgetattr` call and "
198+
"a :keyword:`try` ... :keyword:`finally` statement to ensure that the old tty "
199+
"attributes are restored exactly no matter what happens::"
145200
msgstr ""
201+
"Hier eine Funktion, die ohne Bildschirmausgabe nach einem Passwort fragt. "
202+
"Beachte die Technik, über einen eigenen Aufruf von :func:`tcgetattr` und "
203+
"eine :keyword:`try` ... :keyword:`finally`-Anweisung dafür zu sorgen, dass "
204+
"die alten tty-Attribute auf jeden Fall genau wiederhergestellt werden::"
146205

147206
#: ../../library/termios.rst:124
148207
msgid ""
@@ -159,15 +218,27 @@ msgid ""
159218
" termios.tcsetattr(fd, termios.TCSADRAIN, old)\n"
160219
" return passwd"
161220
msgstr ""
221+
"def getpass(prompt=\"Password: \"):\n"
222+
" import termios, sys\n"
223+
" fd = sys.stdin.fileno()\n"
224+
" old = termios.tcgetattr(fd)\n"
225+
" new = termios.tcgetattr(fd)\n"
226+
" new[3] = new[3] & ~termios.ECHO # lflags\n"
227+
" try:\n"
228+
" termios.tcsetattr(fd, termios.TCSADRAIN, new)\n"
229+
" passwd = input(prompt)\n"
230+
" finally:\n"
231+
" termios.tcsetattr(fd, termios.TCSADRAIN, old)\n"
232+
" return passwd"
162233

163234
#: ../../library/termios.rst:7
164235
msgid "POSIX"
165-
msgstr ""
236+
msgstr "POSIX"
166237

167238
#: ../../library/termios.rst:7
168239
msgid "I/O control"
169240
msgstr "I/O Kontrolle"
170241

171242
#: ../../library/termios.rst:7
172243
msgid "tty"
173-
msgstr ""
244+
msgstr "tty"

0 commit comments

Comments
 (0)