-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathargparse-optparse.po
More file actions
144 lines (124 loc) · 6.32 KB
/
argparse-optparse.po
File metadata and controls
144 lines (124 loc) · 6.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Rafael Fontenelle <[email protected]>, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
"PO-Revision-Date: 2025-07-18 18:48+0000\n"
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && "
"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
msgid "Migrating ``optparse`` code to ``argparse``"
msgstr ""
msgid ""
"The :mod:`argparse` module offers several higher level features not natively "
"provided by the :mod:`optparse` module, including:"
msgstr ""
msgid "Handling positional arguments."
msgstr "Обробка позиційних аргументів."
msgid "Supporting subcommands."
msgstr ""
msgid "Allowing alternative option prefixes like ``+`` and ``/``."
msgstr "Дозволяє альтернативні префікси параметрів, наприклад ``+`` і ``/``."
msgid "Handling zero-or-more and one-or-more style arguments."
msgstr "Обробка нуля або більше та одного або кількох аргументів стилю."
msgid "Producing more informative usage messages."
msgstr "Створення більш інформативних повідомлень про використання."
msgid "Providing a much simpler interface for custom ``type`` and ``action``."
msgstr ""
"Забезпечення набагато простішого інтерфейсу для користувацького ``типу`` і "
"``дії``."
msgid ""
"Originally, the :mod:`argparse` module attempted to maintain compatibility "
"with :mod:`optparse`. However, the fundamental design differences between "
"supporting declarative command line option processing (while leaving "
"positional argument processing to application code), and supporting both "
"named options and positional arguments in the declarative interface mean "
"that the API has diverged from that of ``optparse`` over time."
msgstr ""
msgid ""
"As described in :ref:`choosing-an-argument-parser`, applications that are "
"currently using :mod:`optparse` and are happy with the way it works can just "
"continue to use ``optparse``."
msgstr ""
msgid ""
"Application developers that are considering migrating should also review the "
"list of intrinsic behavioural differences described in that section before "
"deciding whether or not migration is desirable."
msgstr ""
msgid ""
"For applications that do choose to migrate from :mod:`optparse` to :mod:"
"`argparse`, the following suggestions should be helpful:"
msgstr ""
msgid ""
"Replace all :meth:`optparse.OptionParser.add_option` calls with :meth:"
"`ArgumentParser.add_argument` calls."
msgstr ""
"Замініть усі виклики :meth:`optparse.OptionParser.add_option` на виклики :"
"meth:`ArgumentParser.add_argument`."
msgid ""
"Replace ``(options, args) = parser.parse_args()`` with ``args = parser."
"parse_args()`` and add additional :meth:`ArgumentParser.add_argument` calls "
"for the positional arguments. Keep in mind that what was previously called "
"``options``, now in the :mod:`argparse` context is called ``args``."
msgstr ""
"Замініть ``(options, args) = parser.parse_args()`` на ``args = parser."
"parse_args()`` і додайте додаткові виклики :meth:`ArgumentParser."
"add_argument` для позиційних аргументів. Майте на увазі, що те, що раніше "
"називалося ``options``, тепер у контексті :mod:`argparse` називається "
"``args``."
msgid ""
"Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using :"
"meth:`~ArgumentParser.parse_intermixed_args` instead of :meth:"
"`~ArgumentParser.parse_args`."
msgstr ""
"Замініть :meth:`optparse.OptionParser.disable_interspersed_args` на "
"використання :meth:`~ArgumentParser.parse_intermixed_args` замість :meth:"
"`~ArgumentParser.parse_args`."
msgid ""
"Replace callback actions and the ``callback_*`` keyword arguments with "
"``type`` or ``action`` arguments."
msgstr ""
"Замініть дії зворотного виклику та аргументи ключового слова ``callback_*`` "
"на аргументи ``type`` або ``action``."
msgid ""
"Replace string names for ``type`` keyword arguments with the corresponding "
"type objects (e.g. int, float, complex, etc)."
msgstr ""
"Замініть назви рядків для ключових аргументів ``type`` відповідними "
"об’єктами типу (наприклад, int, float, complex тощо)."
msgid ""
"Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse."
"OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`."
msgstr ""
"Замініть :class:`optparse.Values` на :class:`Namespace` і :exc:`optparse."
"OptionError` і :exc:`optparse.OptionValueError` на :exc:`ArgumentError`."
msgid ""
"Replace strings with implicit arguments such as ``%default`` or ``%prog`` "
"with the standard Python syntax to use dictionaries to format strings, that "
"is, ``%(default)s`` and ``%(prog)s``."
msgstr ""
"Замініть рядки неявними аргументами, такими як ``%default`` або ``%prog`` "
"стандартним синтаксисом Python, щоб використовувати словники для "
"форматування рядків, тобто ``%(default)s`` і ``%(prog)s``."
msgid ""
"Replace the OptionParser constructor ``version`` argument with a call to "
"``parser.add_argument('--version', action='version', version='<the "
"version>')``."
msgstr ""
"Замініть аргумент ``version`` конструктора OptionParser на виклик ``parser."
"add_argument('--version', action='version', version=' <the version> ')``."