Skip to content

Commit 48eb55f

Browse files
Update translations
1 parent 40d6512 commit 48eb55f

File tree

4 files changed

+50
-12
lines changed

4 files changed

+50
-12
lines changed

library/optparse.po

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3079,7 +3079,7 @@ msgstr "as ações de \"armazenar\" também são listadas aqui."
30793079

30803080
#: ../../library/optparse.rst:1967
30813081
msgid "\"typed\" actions are additionally listed here."
3082-
msgstr ""
3082+
msgstr "as ações \"typed\" também são listadas aqui."
30833083

30843084
#: ../../library/optparse.rst:1971
30853085
msgid ""
@@ -3088,12 +3088,18 @@ msgid ""
30883088
"assigns the default type, ``\"string\"``, to options with no explicit type "
30893089
"whose action is listed in :attr:`ALWAYS_TYPED_ACTIONS`."
30903090
msgstr ""
3091+
"Ações que sempre assumem um tipo (ou seja, cujas opções sempre assumem um "
3092+
"valor) são listadas aqui adicionalmente. O único efeito disso é que :mod:"
3093+
"`optparse` atribui o tipo padrão, ``\"string\"``, a opções sem tipo "
3094+
"explícito cuja ação é listada em :attr:`ALWAYS_TYPED_ACTIONS`."
30913095

30923096
#: ../../library/optparse.rst:1976
30933097
msgid ""
30943098
"In order to actually implement your new action, you must override Option's :"
30953099
"meth:`take_action` method and add a case that recognizes your action."
30963100
msgstr ""
3101+
"Para realmente implementar sua nova ação, você deve substituir o método :"
3102+
"meth:`take_action` de Option e adicionar um caso que reconheça sua ação."
30973103

30983104
#: ../../library/optparse.rst:1979
30993105
msgid ""
@@ -3104,46 +3110,65 @@ msgid ""
31043110
"existing list with them. That is, if ``--names`` is an ``\"extend\"`` "
31053111
"option of type ``\"string\"``, the command line ::"
31063112
msgstr ""
3113+
"Por exemplo, vamos adicionar uma ação ``\"extend\"``. Isso é semelhante à "
3114+
"ação padrão ``\"append\"``, mas em vez de pegar um único valor da linha de "
3115+
"comando e anexá-lo a uma lista existente, ``\"extend\"`` pegará vários "
3116+
"valores em uma única string delimitada por vírgulas e estenderá uma lista "
3117+
"existente com eles. Ou seja, se ``--names`` for uma opção ``\"extend\"`` do "
3118+
"tipo ``\"string\"``, a linha de comando ::"
31073119

31083120
#: ../../library/optparse.rst:1988
31093121
msgid "would result in a list ::"
3110-
msgstr ""
3122+
msgstr "resultaria em uma lista ::"
31113123

31123124
#: ../../library/optparse.rst:1992
31133125
msgid "Again we define a subclass of Option::"
3114-
msgstr ""
3126+
msgstr "Novamente, nós definimos uma subclasse de Option::"
31153127

31163128
#: ../../library/optparse.rst:2009
31173129
msgid "Features of note:"
3118-
msgstr ""
3130+
msgstr "Características de nota:"
31193131

31203132
#: ../../library/optparse.rst:2011
31213133
msgid ""
31223134
"``\"extend\"`` both expects a value on the command-line and stores that "
31233135
"value somewhere, so it goes in both :attr:`~Option.STORE_ACTIONS` and :attr:"
31243136
"`~Option.TYPED_ACTIONS`."
31253137
msgstr ""
3138+
"``\"extend\"`` espera um valor na linha de comando e armazena esse valor em "
3139+
"algum lugar, então ele vai em :attr:`~Option.STORE_ACTIONS` e :attr:`~Option."
3140+
"TYPED_ACTIONS`."
31263141

31273142
#: ../../library/optparse.rst:2015
31283143
msgid ""
31293144
"to ensure that :mod:`optparse` assigns the default type of ``\"string\"`` to "
31303145
"``\"extend\"`` actions, we put the ``\"extend\"`` action in :attr:`~Option."
31313146
"ALWAYS_TYPED_ACTIONS` as well."
31323147
msgstr ""
3148+
"para garantir que :mod:`optparse` atribua o tipo padrão de ``\"string\"`` às "
3149+
"ações ``\"extend\"``, colocamos a ação ``\"extend\"`` em :attr:`~Option."
3150+
"ALWAYS_TYPED_ACTIONS` também."
31333151

31343152
#: ../../library/optparse.rst:2019
31353153
msgid ""
31363154
":meth:`MyOption.take_action` implements just this one new action, and passes "
31373155
"control back to :meth:`Option.take_action` for the standard :mod:`optparse` "
31383156
"actions."
31393157
msgstr ""
3158+
":meth:`MyOption.take_action` implementa apenas esta nova ação e passa o "
3159+
"controle de volta para :meth:`Option.take_action` para as ações padrão :mod:"
3160+
"`optparse`."
31403161

31413162
#: ../../library/optparse.rst:2023
31423163
msgid ""
31433164
"``values`` is an instance of the optparse_parser.Values class, which "
31443165
"provides the very useful :meth:`ensure_value` method. :meth:`ensure_value` "
31453166
"is essentially :func:`getattr` with a safety valve; it is called as ::"
31463167
msgstr ""
3168+
"``values`` é uma instância da classe optparse_parser.Values, que fornece o "
3169+
"método muito útil :meth:`ensure_value`. :meth:`ensure_value` é "
3170+
"essencialmente :func:`getattr` com uma válvula de segurança; é chamado "
3171+
"como ::"
31473172

31483173
#: ../../library/optparse.rst:2029
31493174
msgid ""

library/socket.po

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ msgid ""
2222
msgstr ""
2323
"Project-Id-Version: Python 3.9\n"
2424
"Report-Msgid-Bugs-To: \n"
25-
"POT-Creation-Date: 2024-10-11 16:34+0000\n"
25+
"POT-Creation-Date: 2024-11-15 16:34+0000\n"
2626
"PO-Revision-Date: 2017-02-16 23:26+0000\n"
2727
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
2828
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -85,15 +85,15 @@ msgstr "Módulo :mod:`socketserver`"
8585

8686
#: ../../library/socket.rst:33
8787
msgid "Classes that simplify writing network servers."
88-
msgstr ""
88+
msgstr "Classes que simplificam a escrita de servidores de rede."
8989

9090
#: ../../library/socket.rst:35
9191
msgid "Module :mod:`ssl`"
92-
msgstr ""
92+
msgstr "Módulo :mod:`ssl`"
9393

9494
#: ../../library/socket.rst:36
9595
msgid "A TLS/SSL wrapper for socket objects."
96-
msgstr ""
96+
msgstr "Um invólucro de TLS/SSL para objetos de soquete."
9797

9898
#: ../../library/socket.rst:40
9999
msgid "Socket families"
@@ -113,6 +113,10 @@ msgid ""
113113
"selected based on the address family specified when the socket object was "
114114
"created. Socket addresses are represented as follows:"
115115
msgstr ""
116+
"O formato de endereço requerido por um objeto socket em particular é "
117+
"selecionado automaticamente com base na família de endereços especificada "
118+
"quando o objeto socket foi criado. Endereços de socket são representados da "
119+
"seguinte forma:"
116120

117121
#: ../../library/socket.rst:49
118122
msgid ""
@@ -125,6 +129,15 @@ msgid ""
125129
"deal with both types of address. A string or bytes-like object can be used "
126130
"for either type of address when passing it as an argument."
127131
msgstr ""
132+
"O endereço de um socket :const:`AF_UNIX` vinculado a um nó do sistema de "
133+
"arquivos é representado como uma string, usando a codificação do sistema de "
134+
"arquivos e o manipulador de erros ``'surrogateescape'`` (veja :pep:`383`). "
135+
"Um endereço no espaço de nomes abstrato do Linux é retornado como um :term:"
136+
"`objeto bytes ou similar` com um byte nulo inicial; observe que os sockets "
137+
"neste espaço de nomes podem se comunicar com sockets normais do sistema de "
138+
"arquivos, então programas destinados a rodar no Linux podem precisar lidar "
139+
"com ambos os tipos de endereço. Uma string ou um objeto bytes ou similar "
140+
"pode ser usado para qualquer tipo de endereço ao passá-lo como um argumento."
128141

129142
#: ../../library/socket.rst:59
130143
msgid ""

potodo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
- index.po 172 / 225 ( 76.0% translated).
6868

6969

70-
# library (40.57% done)
70+
# library (40.64% done)
7171

7272
- argparse.po 260 / 290 ( 89.0% translated).
7373
- array.po 79 / 81 ( 97.0% translated).
@@ -167,7 +167,7 @@
167167
- msilib.po 7 / 96 ( 7.0% translated).
168168
- multiprocessing.po 69 / 518 ( 13.0% translated).
169169
- nntplib.po 6 / 84 ( 7.0% translated).
170-
- optparse.po 368 / 406 ( 90.0% translated).
170+
- optparse.po 379 / 406 ( 93.0% translated).
171171
- ossaudiodev.po 18 / 98 ( 18.0% translated).
172172
- parser.po 7 / 49 ( 14.0% translated).
173173
- pathlib.po 204 / 205 ( 99.0% translated).
@@ -195,7 +195,7 @@
195195
- site.po 17 / 39 ( 43.0% translated).
196196
- smtpd.po 10 / 79 ( 12.0% translated).
197197
- smtplib.po 25 / 109 ( 22.0% translated).
198-
- socket.po 53 / 320 ( 16.0% translated).
198+
- socket.po 58 / 320 ( 18.0% translated).
199199
- socketserver.po 7 / 79 ( 8.0% translated).
200200
- sqlite3.po 32 / 210 ( 15.0% translated).
201201
- ssl.po 49 / 496 ( 9.0% translated).

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "60.57%", "total": 49502, "updated_at": "2024-11-16T00:27:44+00:00Z"}
1+
{"translation": "60.60%", "total": 49502, "updated_at": "2024-11-17T00:28:48+00:00Z"}

0 commit comments

Comments
 (0)