@@ -16,7 +16,7 @@ msgid ""
16
16
msgstr ""
17
17
"Project-Id-Version : Python 3.8\n "
18
18
"Report-Msgid-Bugs-To : \n "
19
- "POT-Creation-Date : 2024-08-23 17:20 +0000\n "
19
+ "POT-Creation-Date : 2024-10-04 17:06 +0000\n "
20
20
"PO-Revision-Date : 2020-05-30 11:55+0000\n "
21
21
"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
22
22
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -2033,7 +2033,7 @@ msgstr ""
2033
2033
2034
2034
#: ../../library/argparse.rst:2067
2035
2035
msgid "Upgrading optparse code"
2036
- msgstr ""
2036
+ msgstr "Atualizando código optparse "
2037
2037
2038
2038
#: ../../library/argparse.rst:2069
2039
2039
msgid ""
@@ -2062,29 +2062,34 @@ msgstr ""
2062
2062
2063
2063
#: ../../library/argparse.rst:2081
2064
2064
msgid "Allowing alternative option prefixes like ``+`` and ``/``."
2065
- msgstr ""
2065
+ msgstr "Permitir prefixos de opções alternativas como ``+`` e ``/``. "
2066
2066
2067
2067
#: ../../library/argparse.rst:2082
2068
2068
msgid "Handling zero-or-more and one-or-more style arguments."
2069
- msgstr ""
2069
+ msgstr "Manipular argumentos de estilo \" zero ou mais \" e \" um ou mais \" . "
2070
2070
2071
2071
#: ../../library/argparse.rst:2083
2072
2072
msgid "Producing more informative usage messages."
2073
- msgstr ""
2073
+ msgstr "Produzir mensagens de uso mais informativas. "
2074
2074
2075
2075
#: ../../library/argparse.rst:2084
2076
2076
msgid "Providing a much simpler interface for custom ``type`` and ``action``."
2077
2077
msgstr ""
2078
+ "Fornecer uma interface muito mais simples para ``type`` e ``action`` "
2079
+ "personalizados."
2078
2080
2079
2081
#: ../../library/argparse.rst:2086
2080
2082
msgid "A partial upgrade path from :mod:`optparse` to :mod:`argparse`:"
2081
2083
msgstr ""
2084
+ "Um caminho de atualização parcial de :mod:`optparse` para :mod:`argparse`:"
2082
2085
2083
2086
#: ../../library/argparse.rst:2088
2084
2087
msgid ""
2085
2088
"Replace all :meth:`optparse.OptionParser.add_option` calls with :meth:"
2086
2089
"`ArgumentParser.add_argument` calls."
2087
2090
msgstr ""
2091
+ "Substituir todas as chamadas de :meth:`optparse.OptionParser.add_option` por "
2092
+ "chamadas de :meth:`ArgumentParser.add_argument`."
2088
2093
2089
2094
#: ../../library/argparse.rst:2091
2090
2095
msgid ""
@@ -2093,42 +2098,62 @@ msgid ""
2093
2098
"for the positional arguments. Keep in mind that what was previously called "
2094
2099
"``options``, now in the :mod:`argparse` context is called ``args``."
2095
2100
msgstr ""
2101
+ "Substituir ``(options, args) = parser.parse_args()`` por ``args = parser."
2102
+ "parse_args()`` e adicionar chamadas adicionais a :meth:`ArgumentParser."
2103
+ "add_argument` para os argumentos posicionais. Tenha em mente que o que "
2104
+ "anteriormente era chamado de ``options``, agora no contexto do :mod:"
2105
+ "`argparse` é chamado de ``args``."
2096
2106
2097
2107
#: ../../library/argparse.rst:2096
2098
2108
msgid ""
2099
2109
"Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using :"
2100
2110
"meth:`~ArgumentParser.parse_intermixed_args` instead of :meth:"
2101
2111
"`~ArgumentParser.parse_args`."
2102
2112
msgstr ""
2113
+ "Substituir :meth:`optparse.OptionParser.disable_interspersed_args` usando :"
2114
+ "meth:`~ArgumentParser.parse_intermixed_args` em vez de :meth:"
2115
+ "`~ArgumentParser.parse_args`."
2103
2116
2104
2117
#: ../../library/argparse.rst:2100
2105
2118
msgid ""
2106
2119
"Replace callback actions and the ``callback_*`` keyword arguments with "
2107
2120
"``type`` or ``action`` arguments."
2108
2121
msgstr ""
2122
+ "Substituir ações de função de retorno e argumentos nomeados ``callback_*`` "
2123
+ "por argumentos ``type`` ou ``action``."
2109
2124
2110
2125
#: ../../library/argparse.rst:2103
2111
2126
msgid ""
2112
2127
"Replace string names for ``type`` keyword arguments with the corresponding "
2113
2128
"type objects (e.g. int, float, complex, etc)."
2114
2129
msgstr ""
2130
+ "Substituir nomes de strings para argumentos nomeados ``type`` pelos objetos "
2131
+ "de tipo correspondentes (por exemplo, int, float, complex, etc)."
2115
2132
2116
2133
#: ../../library/argparse.rst:2106
2117
2134
msgid ""
2118
2135
"Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse."
2119
2136
"OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`."
2120
2137
msgstr ""
2138
+ "Substituir :class:`optparse.Values` por :class:`Namespace` e :exc:`optparse."
2139
+ "OptionError` e :exc:`optparse.OptionValueError` por :exc:`ArgumentError`."
2121
2140
2122
2141
#: ../../library/argparse.rst:2110
2123
2142
msgid ""
2124
2143
"Replace strings with implicit arguments such as ``%default`` or ``%prog`` "
2125
2144
"with the standard Python syntax to use dictionaries to format strings, that "
2126
2145
"is, ``%(default)s`` and ``%(prog)s``."
2127
2146
msgstr ""
2147
+ "Substituir strings com argumentos implícitos tal como ``%default`` ou "
2148
+ "``%prog`` pela sintaxe padrão do Python para usar dicionários para formatar "
2149
+ "strings, ou seja, ``%(default)s`` e ``%(prog)s``."
2128
2150
2129
2151
#: ../../library/argparse.rst:2114
2130
2152
msgid ""
2131
2153
"Replace the OptionParser constructor ``version`` argument with a call to "
2132
2154
"``parser.add_argument('--version', action='version', version='<the "
2133
2155
"version>')``."
2134
2156
msgstr ""
2157
+ "Substituir o argumento ``version`` do construtor do OptionParser por uma "
2158
+ "chamada a ``parser.add_argument('--version', action='version', version='<the "
2159
+ "version>')``."
0 commit comments