Repository navigation
Expand file tree
/
Copy pathargparse-optparse.po
More file actions
156 lines (136 loc) · 9.3 KB
/
Copy pathargparse-optparse.po
File metadata and controls
156 lines (136 loc) · 9.3 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
145
146
147
148
149
150
151
152
153
154
155
156
# 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:
# Bhuvansh Kataria, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-15 14:15+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: Bhuvansh Kataria, 2026\n"
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
"teams/5390/pa/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pa\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "Migrating ``optparse`` code to ``argparse``"
msgstr "``optparse`` ਕੋਡ ਨੂੰ ``argparse`` ਵਿੱਚ ਮਾਈਗਰੇਟ ਕਰਨਾ"
msgid ""
"The :mod:`argparse` module offers several higher level features not natively "
"provided by the :mod:`optparse` module, including:"
msgstr ""
":mod:`argparse` ਮੋਡੀਊਲ ਕਈ ਉੱਚ-ਪੱਧਰੀ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ ਜੋ :mod:`optparse` "
"ਮੋਡੀਊਲ ਵਿੱਚ ਮੂਲ ਰੂਪ ਵਿੱਚ ਉਪਲਬਧ ਨਹੀਂ ਹਨ, ਜਿਸ ਵਿੱਚ ਸ਼ਾਮਲ ਹਨ:"
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 "ਕਸਟਮ ``type`` ਅਤੇ ``action`` ਲਈ ਕਾਫ਼ੀ ਸਰਲ ਇੰਟਰਫੇਸ ਪ੍ਰਦਾਨ ਕਰਨਾ।"
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 ""
"ਸ਼ੁਰੂ ਵਿੱਚ, :mod:`argparse` ਮੋਡੀਊਲ ਨੇ :mod:`optparse` ਨਾਲ ਅਨੁਕੂਲਤਾ ਬਣਾਈ ਰੱਖਣ ਦੀ ਕੋਸ਼ਿਸ਼ "
"ਕੀਤੀ ਸੀ। ਹਾਲਾਂਕਿ, ਘੋਸ਼ਣਾਤਮਕ ਕਮਾਂਡ ਲਾਈਨ ਓਪਸ਼ਨ ਪ੍ਰੋਸੈਸਿੰਗ (ਜਦੋਂ ਕਿ ਸਥਿਤੀ-ਆਧਾਰਿਤ ਆਰਗੂਮੈਂਟਾਂ ਦੀ "
"ਪ੍ਰੋਸੈਸਿੰਗ ਐਪਲੀਕੇਸ਼ਨ ਕੋਡ 'ਤੇ ਛੱਡੀ ਜਾਂਦੀ ਹੈ) ਅਤੇ ਘੋਸ਼ਣਾਤਮਕ ਇੰਟਰਫੇਸ ਵਿੱਚ ਨਾਮਿਤ ਓਪਸ਼ਨਾਂ ਅਤੇ ਸਥਿਤੀ-"
"ਆਧਾਰਿਤ ਆਰਗੂਮੈਂਟਾਂ ਦੋਵਾਂ ਦੇ ਸਮਰਥਨ ਵਿਚਲੇ ਬੁਨਿਆਦੀ ਡਿਜ਼ਾਈਨ ਅੰਤਰਾਂ ਕਾਰਨ, ਸਮੇਂ ਦੇ ਨਾਲ ਇਸ ਦਾ API "
"``optparse`` ਤੋਂ ਵੱਖਰਾ ਹੋ ਗਿਆ ਹੈ।"
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 ""
"ਜਿਵੇਂ ਕਿ :ref:`choosing-an-argument-parser` ਵਿੱਚ ਵਰਣਨ ਕੀਤਾ ਗਿਆ ਹੈ, ਉਹ ਐਪਲੀਕੇਸ਼ਨਾਂ ਜੋ "
"ਇਸ ਵੇਲੇ :mod:`optparse` ਵਰਤ ਰਹੀਆਂ ਹਨ ਅਤੇ ਇਸ ਦੇ ਕੰਮ ਕਰਨ ਦੇ ਤਰੀਕੇ ਨਾਲ ਸੰਤੁਸ਼ਟ ਹਨ, ਉਹ ਸਿਰਫ਼ "
"``optparse`` ਦੀ ਵਰਤੋਂ ਜਾਰੀ ਰੱਖ ਸਕਦੀਆਂ ਹਨ।"
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 ""
"ਉਹਨਾਂ ਐਪਲੀਕੇਸ਼ਨਾਂ ਲਈ ਜੋ :mod:`optparse` ਤੋਂ :mod:`argparse` ਵਿੱਚ ਮਾਈਗਰੇਟ ਕਰਨ ਦਾ ਫ਼ੈਸਲਾ "
"ਕਰਦੀਆਂ ਹਨ, ਹੇਠਾਂ ਦਿੱਤੇ ਸੁਝਾਅ ਮਦਦਗਾਰ ਹੋਣਗੇ:"
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_args` ਦੀ ਬਜਾਏ :meth:`~ArgumentParser."
"parse_intermixed_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 ""
"OptionParser ਕੰਸਟ੍ਰਕਟਰ ਦੇ ``version`` ਆਰਗੂਮੈਂਟ ਨੂੰ ``parser.add_argument('--"
"version', action='version', version='<the version>')`` ਕਾਲ ਨਾਲ ਬਦਲੋ।"