Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1db54bc

Browse files
Update translations
1 parent 025d1e8 commit 1db54bc

File tree

2 files changed

+32
-7
lines changed

2 files changed

+32
-7
lines changed

library/argparse.po

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.8\n"
1818
"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"
2020
"PO-Revision-Date: 2020-05-30 11:55+0000\n"
2121
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
2222
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2033,7 +2033,7 @@ msgstr ""
20332033

20342034
#: ../../library/argparse.rst:2067
20352035
msgid "Upgrading optparse code"
2036-
msgstr ""
2036+
msgstr "Atualizando código optparse"
20372037

20382038
#: ../../library/argparse.rst:2069
20392039
msgid ""
@@ -2062,29 +2062,34 @@ msgstr ""
20622062

20632063
#: ../../library/argparse.rst:2081
20642064
msgid "Allowing alternative option prefixes like ``+`` and ``/``."
2065-
msgstr ""
2065+
msgstr "Permitir prefixos de opções alternativas como ``+`` e ``/``."
20662066

20672067
#: ../../library/argparse.rst:2082
20682068
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\"."
20702070

20712071
#: ../../library/argparse.rst:2083
20722072
msgid "Producing more informative usage messages."
2073-
msgstr ""
2073+
msgstr "Produzir mensagens de uso mais informativas."
20742074

20752075
#: ../../library/argparse.rst:2084
20762076
msgid "Providing a much simpler interface for custom ``type`` and ``action``."
20772077
msgstr ""
2078+
"Fornecer uma interface muito mais simples para ``type`` e ``action`` "
2079+
"personalizados."
20782080

20792081
#: ../../library/argparse.rst:2086
20802082
msgid "A partial upgrade path from :mod:`optparse` to :mod:`argparse`:"
20812083
msgstr ""
2084+
"Um caminho de atualização parcial de :mod:`optparse` para :mod:`argparse`:"
20822085

20832086
#: ../../library/argparse.rst:2088
20842087
msgid ""
20852088
"Replace all :meth:`optparse.OptionParser.add_option` calls with :meth:"
20862089
"`ArgumentParser.add_argument` calls."
20872090
msgstr ""
2091+
"Substituir todas as chamadas de :meth:`optparse.OptionParser.add_option` por "
2092+
"chamadas de :meth:`ArgumentParser.add_argument`."
20882093

20892094
#: ../../library/argparse.rst:2091
20902095
msgid ""
@@ -2093,42 +2098,62 @@ msgid ""
20932098
"for the positional arguments. Keep in mind that what was previously called "
20942099
"``options``, now in the :mod:`argparse` context is called ``args``."
20952100
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``."
20962106

20972107
#: ../../library/argparse.rst:2096
20982108
msgid ""
20992109
"Replace :meth:`optparse.OptionParser.disable_interspersed_args` by using :"
21002110
"meth:`~ArgumentParser.parse_intermixed_args` instead of :meth:"
21012111
"`~ArgumentParser.parse_args`."
21022112
msgstr ""
2113+
"Substituir :meth:`optparse.OptionParser.disable_interspersed_args` usando :"
2114+
"meth:`~ArgumentParser.parse_intermixed_args` em vez de :meth:"
2115+
"`~ArgumentParser.parse_args`."
21032116

21042117
#: ../../library/argparse.rst:2100
21052118
msgid ""
21062119
"Replace callback actions and the ``callback_*`` keyword arguments with "
21072120
"``type`` or ``action`` arguments."
21082121
msgstr ""
2122+
"Substituir ações de função de retorno e argumentos nomeados ``callback_*`` "
2123+
"por argumentos ``type`` ou ``action``."
21092124

21102125
#: ../../library/argparse.rst:2103
21112126
msgid ""
21122127
"Replace string names for ``type`` keyword arguments with the corresponding "
21132128
"type objects (e.g. int, float, complex, etc)."
21142129
msgstr ""
2130+
"Substituir nomes de strings para argumentos nomeados ``type`` pelos objetos "
2131+
"de tipo correspondentes (por exemplo, int, float, complex, etc)."
21152132

21162133
#: ../../library/argparse.rst:2106
21172134
msgid ""
21182135
"Replace :class:`optparse.Values` with :class:`Namespace` and :exc:`optparse."
21192136
"OptionError` and :exc:`optparse.OptionValueError` with :exc:`ArgumentError`."
21202137
msgstr ""
2138+
"Substituir :class:`optparse.Values` por :class:`Namespace` e :exc:`optparse."
2139+
"OptionError` e :exc:`optparse.OptionValueError` por :exc:`ArgumentError`."
21212140

21222141
#: ../../library/argparse.rst:2110
21232142
msgid ""
21242143
"Replace strings with implicit arguments such as ``%default`` or ``%prog`` "
21252144
"with the standard Python syntax to use dictionaries to format strings, that "
21262145
"is, ``%(default)s`` and ``%(prog)s``."
21272146
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``."
21282150

21292151
#: ../../library/argparse.rst:2114
21302152
msgid ""
21312153
"Replace the OptionParser constructor ``version`` argument with a call to "
21322154
"``parser.add_argument('--version', action='version', version='<the "
21332155
"version>')``."
21342156
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>')``."

potodo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
- index.po 173 / 225 ( 76.0% translated).
7272

7373

74-
# library (42.52% done)
74+
# library (42.58% done)
7575

76-
- argparse.po 167 / 277 ( 60.0% translated).
76+
- argparse.po 181 / 277 ( 65.0% translated).
7777
- array.po 82 / 83 ( 98.0% translated).
7878
- ast.po 60 / 62 ( 96.0% translated).
7979
- asynchat.po 4 / 33 ( 12.0% translated).

0 commit comments

Comments
 (0)