Skip to content

Commit 3aa0572

Browse files
committed
c-api/allocation.po -> bug fixed
1 parent 6e965f3 commit 3aa0572

1 file changed

Lines changed: 30 additions & 33 deletions

File tree

‎howto/argparse-optparse.po‎

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ msgid ""
2828
"The :mod:`argparse` module offers several higher level features not natively "
2929
"provided by the :mod:`optparse` module, including:"
3030
msgstr ""
31-
"Das Modul :mod:`argparse` bietet mehrere höhere Funktionen, die das "
32-
"Modul :mod:`optparse` von sich aus nicht bereitstellt, darunter:"
31+
"Das Modul :mod:`argparse` bietet mehrere höhere Funktionen, die das Modul :"
32+
"mod:`optparse` von sich aus nicht bereitstellt, darunter:"
3333

3434
#: ../../howto/argparse-optparse.rst:13
3535
msgid "Handling positional arguments."
@@ -66,9 +66,9 @@ msgid ""
6666
"named options and positional arguments in the declarative interface mean "
6767
"that the API has diverged from that of ``optparse`` over time."
6868
msgstr ""
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 "
69+
"Ursprünglich versuchte das Modul :mod:`argparse`, die Kompatibilität mit :"
70+
"mod:`optparse` zu erhalten. Die grundlegenden Entwurfsunterschiede zwischen "
71+
"einer deklarativen Verarbeitung von Befehlszeilenoptionen (die die "
7272
"Verarbeitung positioneller Argumente dem Anwendungscode überlässt) und der "
7373
"Unterstützung sowohl benannter Optionen als auch positioneller Argumente in "
7474
"der deklarativen Schnittstelle führen jedoch dazu, dass sich die API im "
@@ -97,43 +97,41 @@ msgstr ""
9797

9898
#: ../../howto/argparse-optparse.rst:35
9999
msgid ""
100-
"For applications that do choose to migrate from :mod:`optparse` "
101-
"to :mod:`argparse`, the following suggestions should be helpful:"
100+
"For applications that do choose to migrate from :mod:`optparse` to :mod:"
101+
"`argparse`, the following suggestions should be helpful:"
102102
msgstr ""
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:"
103+
"Für Anwendungen, die sich für die Migration von :mod:`optparse` nach :mod:"
104+
"`argparse` entscheiden, dürften die folgenden Vorschläge hilfreich sein:"
106105

107106
#: ../../howto/argparse-optparse.rst:38
108107
msgid ""
109-
"Replace all :meth:`optparse.OptionParser.add_option` calls "
110-
"with :meth:`ArgumentParser.add_argument` calls."
108+
"Replace all :meth:`optparse.OptionParser.add_option` calls with :meth:"
109+
"`ArgumentParser.add_argument` calls."
111110
msgstr ""
112111
"Ersetze alle Aufrufe von :meth:`optparse.OptionParser.add_option` durch "
113112
"Aufrufe von :meth:`ArgumentParser.add_argument`."
114113

115114
#: ../../howto/argparse-optparse.rst:41
116115
msgid ""
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``."
116+
"Replace ``(options, args) = parser.parse_args()`` with ``args = parser."
117+
"parse_args()`` and add additional :meth:`ArgumentParser.add_argument` calls "
118+
"for the positional arguments. Keep in mind that what was previously called "
119+
"``options``, now in the :mod:`argparse` context is called ``args``."
121120
msgstr ""
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."
121+
"Ersetze ``(options, args) = parser.parse_args()`` durch ``args = parser."
122+
"parse_args()`` und füge für die positionellen Argumente weitere Aufrufe von :"
123+
"meth:`ArgumentParser.add_argument` hinzu. Bedenke, dass das, was früher "
124+
"``options`` hieß, im Kontext von :mod:`argparse` jetzt ``args`` heißt."
127125

128126
#: ../../howto/argparse-optparse.rst:46
129127
msgid ""
130-
"Replace :meth:`optparse.OptionParser.disable_interspersed_args` by "
131-
"using :meth:`~ArgumentParser.parse_intermixed_args` instead "
132-
"of :meth:`~ArgumentParser.parse_args`."
128+
"Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using :"
129+
"meth:`~ArgumentParser.parse_intermixed_args` instead of :meth:"
130+
"`~ArgumentParser.parse_args`."
133131
msgstr ""
134-
"Ersetze :meth:`optparse.OptionParser.disable_interspersed_args`, indem "
135-
"du :meth:`~ArgumentParser.parse_intermixed_args` anstelle "
136-
"von :meth:`~ArgumentParser.parse_args` verwendest."
132+
"Ersetze :meth:`optparse.OptionParser.disable_interspersed_args`, indem du :"
133+
"meth:`~ArgumentParser.parse_intermixed_args` anstelle von :meth:"
134+
"`~ArgumentParser.parse_args` verwendest."
137135

138136
#: ../../howto/argparse-optparse.rst:50
139137
msgid ""
@@ -153,13 +151,12 @@ msgstr ""
153151

154152
#: ../../howto/argparse-optparse.rst:56
155153
msgid ""
156-
"Replace :class:`optparse.Values` with :class:`Namespace` "
157-
"and :exc:`optparse.OptionError` and :exc:`optparse.OptionValueError` "
158-
"with :exc:`ArgumentError`."
154+
"Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse."
155+
"OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`."
159156
msgstr ""
160-
"Ersetze :class:`optparse.Values` durch :class:`Namespace` "
161-
"sowie :exc:`optparse.OptionError` und :exc:`optparse.OptionValueError` "
162-
"durch :exc:`ArgumentError`."
157+
"Ersetze :class:`optparse.Values` durch :class:`Namespace` sowie :exc:"
158+
"`optparse.OptionError` und :exc:`optparse.OptionValueError` durch :exc:"
159+
"`ArgumentError`."
163160

164161
#: ../../howto/argparse-optparse.rst:60
165162
msgid ""

0 commit comments

Comments
 (0)