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.
54#
6- #, fuzzy
5+ # Translators:
6+ # Swen Bachmann, 2026
7+ #
78msgid ""
89msgstr ""
910"Project-Id-Version : Python 3.15\n "
1011"Report-Msgid-Bugs-To : \n "
1112"POT-Creation-Date : 2026-08-22 12:07+0200\n "
12- "PO-Revision-Date : 2025-09-16 00:00+0000\n "
13- "Language-Team : German (https://app.transifex.com/python-doc/teams/5390/de/)\n "
13+ "PO-Revision-Date : 2026-10-15 06:00+0200\n "
14+ "Last-Translator : python-doc bot, 2025\n "
15+ "Language-Team : German (https://github.com/python/python-docs-de)\n "
1416"Language : de\n "
1517"MIME-Version : 1.0\n "
1618"Content-Type : text/plain; charset=UTF-8\n "
@@ -19,37 +21,41 @@ msgstr ""
1921
2022#: ../../howto/argparse-optparse.rst:8
2123msgid "Migrating ``optparse`` code to ``argparse``"
22- msgstr ""
24+ msgstr "``optparse``-Code nach ``argparse`` migrieren "
2325
2426#: ../../howto/argparse-optparse.rst:10
2527msgid ""
2628"The :mod:`argparse` module offers several higher level features not natively "
2729"provided by the :mod:`optparse` module, including:"
2830msgstr ""
31+ "Das Modul :mod:`argparse` bietet mehrere höhere Funktionen, die das "
32+ "Modul :mod:`optparse` von sich aus nicht bereitstellt, darunter:"
2933
3034#: ../../howto/argparse-optparse.rst:13
3135msgid "Handling positional arguments."
32- msgstr ""
36+ msgstr "Umgang mit positionellen Argumenten. "
3337
3438#: ../../howto/argparse-optparse.rst:14
3539msgid "Supporting subcommands."
36- msgstr ""
40+ msgstr "Unterstützung von Unterbefehlen. "
3741
3842#: ../../howto/argparse-optparse.rst:15
3943msgid "Allowing alternative option prefixes like ``+`` and ``/``."
40- msgstr ""
44+ msgstr "Alternative Optionspräfixe wie ``+`` und ``/``. "
4145
4246#: ../../howto/argparse-optparse.rst:16
4347msgid "Handling zero-or-more and one-or-more style arguments."
44- msgstr ""
48+ msgstr "Umgang mit Argumenten der Art „null oder mehr“ und „eins oder mehr“. "
4549
4650#: ../../howto/argparse-optparse.rst:17
4751msgid "Producing more informative usage messages."
48- msgstr ""
52+ msgstr "Aussagekräftigere Verwendungshinweise. "
4953
5054#: ../../howto/argparse-optparse.rst:18
5155msgid "Providing a much simpler interface for custom ``type`` and ``action``."
5256msgstr ""
57+ "Eine deutlich einfachere Schnittstelle für eigene ``type``- und ``action``-"
58+ "Angaben."
5359
5460#: ../../howto/argparse-optparse.rst:20
5561msgid ""
@@ -60,76 +66,117 @@ msgid ""
6066"named options and positional arguments in the declarative interface mean "
6167"that the API has diverged from that of ``optparse`` over time."
6268msgstr ""
69+ "Ursprünglich versuchte das Modul :mod:`argparse`, die Kompatibilität "
70+ "mit :mod:`optparse` zu erhalten. Die grundlegenden Entwurfsunterschiede "
71+ "zwischen einer deklarativen Verarbeitung von Befehlszeilenoptionen (die die "
72+ "Verarbeitung positioneller Argumente dem Anwendungscode überlässt) und der "
73+ "Unterstützung sowohl benannter Optionen als auch positioneller Argumente in "
74+ "der deklarativen Schnittstelle führen jedoch dazu, dass sich die API im "
75+ "Laufe der Zeit von der von ``optparse`` entfernt hat."
6376
6477#: ../../howto/argparse-optparse.rst:27
6578msgid ""
6679"As described in :ref:`choosing-an-argument-parser`, applications that are "
6780"currently using :mod:`optparse` and are happy with the way it works can just "
6881"continue to use ``optparse``."
6982msgstr ""
83+ "Wie unter :ref:`choosing-an-argument-parser` beschrieben, können "
84+ "Anwendungen, die derzeit :mod:`optparse` verwenden und mit dessen "
85+ "Arbeitsweise zufrieden sind, einfach weiter ``optparse`` nutzen."
7086
7187#: ../../howto/argparse-optparse.rst:31
7288msgid ""
7389"Application developers that are considering migrating should also review the "
7490"list of intrinsic behavioural differences described in that section before "
7591"deciding whether or not migration is desirable."
7692msgstr ""
93+ "Anwendungsentwickler, die eine Migration erwägen, sollten vor der "
94+ "Entscheidung, ob eine Migration wünschenswert ist, außerdem die Liste der "
95+ "grundlegenden Verhaltensunterschiede durchgehen, die in diesem Abschnitt "
96+ "beschrieben sind."
7797
7898#: ../../howto/argparse-optparse.rst:35
7999msgid ""
80- "For applications that do choose to migrate from :mod:`optparse` to :mod: "
81- "`argparse`, the following suggestions should be helpful:"
100+ "For applications that do choose to migrate from :mod:`optparse` "
101+ "to :mod: `argparse`, the following suggestions should be helpful:"
82102msgstr ""
103+ "Für Anwendungen, die sich für die Migration von :mod:`optparse` "
104+ "nach :mod:`argparse` entscheiden, dürften die folgenden Vorschläge hilfreich "
105+ "sein:"
83106
84107#: ../../howto/argparse-optparse.rst:38
85108msgid ""
86- "Replace all :meth:`optparse.OptionParser.add_option` calls with :meth: "
87- "`ArgumentParser.add_argument` calls."
109+ "Replace all :meth:`optparse.OptionParser.add_option` calls "
110+ "with :meth: `ArgumentParser.add_argument` calls."
88111msgstr ""
112+ "Ersetze alle Aufrufe von :meth:`optparse.OptionParser.add_option` durch "
113+ "Aufrufe von :meth:`ArgumentParser.add_argument`."
89114
90115#: ../../howto/argparse-optparse.rst:41
91116msgid ""
92- "Replace ``(options, args) = parser.parse_args()`` with ``args = parser. "
93- "parse_args()`` and add additional :meth:`ArgumentParser.add_argument` calls "
94- "for the positional arguments. Keep in mind that what was previously called "
95- "``options``, now in the :mod:`argparse` context is called ``args``."
117+ "Replace ``(options, args) = parser.parse_args()`` with ``args = "
118+ "parser. parse_args()`` and add additional :meth:`ArgumentParser.add_argument` "
119+ "calls for the positional arguments. Keep in mind that what was previously "
120+ "called ``options``, now in the :mod:`argparse` context is called ``args``."
96121msgstr ""
122+ "Ersetze ``(options, args) = parser.parse_args()`` durch ``args = "
123+ "parser.parse_args()`` und füge für die positionellen Argumente weitere "
124+ "Aufrufe von :meth:`ArgumentParser.add_argument` hinzu. Bedenke, dass das, "
125+ "was früher ``options`` hieß, im Kontext von :mod:`argparse` jetzt ``args`` "
126+ "heißt."
97127
98128#: ../../howto/argparse-optparse.rst:46
99129msgid ""
100- "Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using : "
101- "meth:`~ArgumentParser.parse_intermixed_args` instead of :meth: "
102- "`~ArgumentParser.parse_args`."
130+ "Replace :meth:`optparse.OptionParser.disable_interspersed_args` by "
131+ "using : meth:`~ArgumentParser.parse_intermixed_args` instead "
132+ "of :meth: `~ArgumentParser.parse_args`."
103133msgstr ""
134+ "Ersetze :meth:`optparse.OptionParser.disable_interspersed_args`, indem "
135+ "du :meth:`~ArgumentParser.parse_intermixed_args` anstelle "
136+ "von :meth:`~ArgumentParser.parse_args` verwendest."
104137
105138#: ../../howto/argparse-optparse.rst:50
106139msgid ""
107140"Replace callback actions and the ``callback_*`` keyword arguments with "
108141"``type`` or ``action`` arguments."
109142msgstr ""
143+ "Ersetze Callback-Aktionen und die ``callback_*``-Schlüsselwortargumente "
144+ "durch ``type``- oder ``action``-Argumente."
110145
111146#: ../../howto/argparse-optparse.rst:53
112147msgid ""
113148"Replace string names for ``type`` keyword arguments with the corresponding "
114149"type objects (e.g. int, float, complex, etc)."
115150msgstr ""
151+ "Ersetze Zeichenkettennamen für ``type``-Schlüsselwortargumente durch die "
152+ "entsprechenden Typobjekte (etwa int, float, complex usw.)."
116153
117154#: ../../howto/argparse-optparse.rst:56
118155msgid ""
119- "Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse."
120- "OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`."
156+ "Replace :class:`optparse.Values` with :class:`Namespace` "
157+ "and :exc:`optparse.OptionError` and :exc:`optparse.OptionValueError` "
158+ "with :exc:`ArgumentError`."
121159msgstr ""
160+ "Ersetze :class:`optparse.Values` durch :class:`Namespace` "
161+ "sowie :exc:`optparse.OptionError` und :exc:`optparse.OptionValueError` "
162+ "durch :exc:`ArgumentError`."
122163
123164#: ../../howto/argparse-optparse.rst:60
124165msgid ""
125166"Replace strings with implicit arguments such as ``%default`` or ``%prog`` "
126167"with the standard Python syntax to use dictionaries to format strings, that "
127168"is, ``%(default)s`` and ``%(prog)s``."
128169msgstr ""
170+ "Ersetze Zeichenketten mit impliziten Argumenten wie ``%default`` oder "
171+ "``%prog`` durch die übliche Python-Syntax, die Wörterbücher zur Formatierung "
172+ "von Zeichenketten nutzt, also ``%(default)s`` und ``%(prog)s``."
129173
130174#: ../../howto/argparse-optparse.rst:64
131175msgid ""
132176"Replace the OptionParser constructor ``version`` argument with a call to "
133177"``parser.add_argument('--version', action='version', version='<the "
134178"version>')``."
135179msgstr ""
180+ "Ersetze das ``version``-Argument des OptionParser-Konstruktors durch einen "
181+ "Aufruf von ``parser.add_argument('--version', action='version', "
182+ "version='<the version>')``."
0 commit comments