Skip to content

Commit 1c610f1

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 4be4504 commit 1c610f1

File tree

8 files changed

+93
-12
lines changed

8 files changed

+93
-12
lines changed

c-api/allocation.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ msgid ""
5959
"the memory allocation is determined from the :c:member:`~PyTypeObject."
6060
"tp_basicsize` field of the type object."
6161
msgstr ""
62+
"Aloca um novo objeto Python usando o tipo de estrutura do C *TYPE* e o "
63+
"objeto Python do tipo *typeobj* (``PyTypeObject*``). Campos não definidos "
64+
"pelo cabeçalho do objeto Python não são inicializados. O chamador será dono "
65+
"da apenas a referência ao objeto (isto é, sua contagem de referências será "
66+
"uma). O tamanho da alocação de memória é determinado do campo :c:member:"
67+
"`~PyTypeObject.tp_basicsize` do objeto tipo."
6268

6369
#: ../../c-api/allocation.rst:43
6470
msgid ""

glossary.po

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,10 @@ msgid ""
427427
"pointer if the object is destroyed. For example, a garbage collection can "
428428
"remove the last :term:`strong reference` to the object and so destroy it."
429429
msgstr ""
430+
"Na API C do Python, uma referência emprestada é uma referência a um objeto "
431+
"que não é dona da referência. Ela se torna um ponteiro solto se o objeto for "
432+
"destruído. Por exemplo, uma coleta de lixo pode remover a última :term:"
433+
"`referência forte` para o objeto e assim destruí-lo."
430434

431435
#: ../../glossary.rst:177
432436
msgid ""
@@ -2485,6 +2489,14 @@ msgid ""
24852489
"Programmers can call the :func:`sys.getrefcount` function to return the "
24862490
"reference count for a particular object."
24872491
msgstr ""
2492+
"O número de referências a um objeto. Quando a contagem de referências de um "
2493+
"objeto cai para zero, ele é desalocado. Alguns objetos são \"imortais\" e "
2494+
"têm contagens de referências que nunca são modificadas e, portanto, os "
2495+
"objetos nunca são desalocados. A contagem de referências geralmente não é "
2496+
"visível para o código Python, mas é um elemento-chave da implementação do :"
2497+
"term:`CPython`. Os programadores podem chamar a função :func:`sys."
2498+
"getrefcount` para retornar a contagem de referências para um objeto "
2499+
"específico."
24882500

24892501
#: ../../glossary.rst:1074
24902502
msgid "regular package"
@@ -2642,6 +2654,10 @@ msgid ""
26422654
"calling :c:func:`Py_INCREF` when the reference is created and released with :"
26432655
"c:func:`Py_DECREF` when the reference is deleted."
26442656
msgstr ""
2657+
"Na API C do Python, uma referência forte é uma referência a um objeto que "
2658+
"pertence ao código que contém a referência. A referência forte é obtida "
2659+
"chamando :c:func:`Py_INCREF` quando a referência é criada e liberada com :c:"
2660+
"func:`Py_DECREF` quando a referência é excluída."
26452661

26462662
#: ../../glossary.rst:1142
26472663
msgid ""

library/exceptions.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.12\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
18+
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
2020
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2121
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1093,6 +1093,10 @@ msgid ""
10931093
"EAGAIN`, :py:const:`~errno.EALREADY`, :py:const:`~errno.EWOULDBLOCK` and :py:"
10941094
"const:`~errno.EINPROGRESS`."
10951095
msgstr ""
1096+
"Levantada quando uma operação bloquearia em um objeto (por exemplo, soquete) "
1097+
"definido para operação sem bloqueio. Corresponde a :c:data:`errno` :py:const:"
1098+
"`~errno.EAGAIN`, :py:const:`~errno.EALREADY`, :py:const:`~errno.EWOULDBLOCK` "
1099+
"e :py:const:`~errno.EINPROGRESS`."
10961100

10971101
#: ../../library/exceptions.rst:665
10981102
msgid ""

library/operator.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-08-04 14:13+0000\n"
17+
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:10+0000\n"
1919
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -102,6 +102,10 @@ msgid ""
102102
"operation. The result is affected by the :meth:`~object.__bool__` and :meth:"
103103
"`~object.__len__` methods.)"
104104
msgstr ""
105+
"Retorna o resultado de :keyword:`not` *obj*. (Veja que não existe nenhum "
106+
"método :meth:`!__not__` para instâncias de objetos; apenas o núcleo do "
107+
"interpretador definirá esta operação. O resultado será afetado pelos "
108+
"métodos :meth:`~object.__bool__` e :meth:`~object.__len__`.)"
105109

106110
#: ../../library/operator.rst:69
107111
msgid ""

library/venv.po

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
20+
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:17+0000\n"
2222
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2323
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -162,7 +162,7 @@ msgstr "O comando, se executado com ``-h``, mostrará as opções disponíveis::
162162

163163
#: ../../using/venv-create.inc:72 ../../library/venv.rst:294
164164
msgid "``setuptools`` is no longer a core venv dependency."
165-
msgstr ""
165+
msgstr "``setuptools`` não é mais uma dependência central do venv."
166166

167167
#: ../../using/venv-create.inc:74
168168
msgid ""
@@ -264,6 +264,13 @@ msgid ""
264264
"environment. It is sufficient to check ``sys.prefix != sys.base_prefix`` to "
265265
"determine if the current interpreter is running from a virtual environment."
266266
msgstr ""
267+
"Quando um interpretador Python está sendo executado a partir de um ambiente "
268+
"virtual, :data:`sys.prefix` e :data:`sys.exec_prefix` apontam para os "
269+
"diretórios do ambiente virtual, enquanto :data:`sys.base_prefix` e :data:"
270+
"`sys.base_exec_prefix` apontam para aqueles do Python base usado para criar "
271+
"o ambiente. É suficiente verificar ``sys.prefix != sys.base_prefix`` para "
272+
"determinar se o interpretador atual está sendo executado a partir de um "
273+
"ambiente virtual."
267274

268275
#: ../../library/venv.rst:61
269276
msgid ""
@@ -275,6 +282,13 @@ msgid ""
275282
"activation script is platform-specific (:samp:`{<venv>}` must be replaced by "
276283
"the path to the directory containing the virtual environment):"
277284
msgstr ""
285+
"Um ambiente virtual pode ser \"ativado\" usando um script em seu diretório "
286+
"binário (``bin`` no POSIX; ``Scripts`` no Windows). Isso precederá esse "
287+
"diretório ao seu :envvar:`PATH`, de modo que a execução de :program:`python` "
288+
"invoque o interpretador Python do ambiente e você possa executar os scripts "
289+
"instalados sem precisar usar o caminho completo. A invocação do script de "
290+
"ativação é específica da plataforma (:samp:`{<venv>}` deve ser substituído "
291+
"pelo caminho para o diretório que contém o ambiente virtual):"
278292

279293
#: ../../library/venv.rst:71
280294
msgid "Platform"
@@ -375,6 +389,15 @@ msgid ""
375389
"window should run it with the correct interpreter without the environment "
376390
"needing to be activated or on the :envvar:`PATH`."
377391
msgstr ""
392+
"Para isso, os scripts instalados em ambientes virtuais possuem uma linha "
393+
"\"shebang\" que aponta para o interpretador Python do ambiente, ou seja, :"
394+
"samp:`#!/{<caminho-para-venv>}/bin/python`. Isso significa que o script será "
395+
"executado com esse interpretador independentemente do valor de :envvar:"
396+
"`PATH`. No Windows, o processamento de linha \"shebang\" é suportado se você "
397+
"tiver o :ref:`lançador <launcher>` instalado. Assim, clicar duas vezes em um "
398+
"script instalado em uma janela do Windows Explorer deve executá-lo com o "
399+
"interpretador correto sem que o ambiente precise ser ativado ou no :envvar:"
400+
"`PATH`."
378401

379402
#: ../../library/venv.rst:108
380403
msgid ""
@@ -716,6 +739,9 @@ msgid ""
716739
"environment. This is done by shelling out to the ``pip`` executable in the "
717740
"environment."
718741
msgstr ""
742+
"Atualiza os principais pacotes de dependência do venv (atualmente ``pip``) "
743+
"no ambiente. Isso é feito através da distribuição do executável ``pip`` no "
744+
"ambiente."
719745

720746
#: ../../library/venv.rst:298
721747
msgid ""
@@ -856,8 +882,8 @@ msgstr ""
856882

857883
#: ../../library/venv.rst:14
858884
msgid "Environments"
859-
msgstr ""
885+
msgstr "Ambientes"
860886

861887
#: ../../library/venv.rst:14
862888
msgid "virtual"
863-
msgstr ""
889+
msgstr "virtual"

license.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-08-04 14:13+0000\n"
16+
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1818
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -454,6 +454,13 @@ msgid ""
454454
"license here. For the OpenSSL 3.0 release, and later releases derived from "
455455
"that, the Apache License v2 applies::"
456456
msgstr ""
457+
"Os módulos :mod:`hashlib`, :mod:`posix`, :mod:`ssl`, :mod:`crypt` usam a "
458+
"biblioteca OpenSSL para desempenho adicional se forem disponibilizados pelo "
459+
"sistema operacional. Além disso, os instaladores do Windows e do Mac OS X "
460+
"para Python podem incluir uma cópia das bibliotecas do OpenSSL, portanto "
461+
"incluímos uma cópia da licença do OpenSSL aqui: Para o lançamento do OpenSSL "
462+
"3.0, e lançamentos posteriores derivados deste, se aplica a Apache License "
463+
"v2::"
457464

458465
#: ../../license.rst:845
459466
msgid "expat"

tutorial/errors.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-08-04 14:13+0000\n"
17+
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:50+0000\n"
1919
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -257,12 +257,19 @@ msgid ""
257257
"types define :meth:`~object.__str__` to print all the arguments without "
258258
"explicitly accessing ``.args``. ::"
259259
msgstr ""
260+
"A *cláusula except* pode especificar uma variável após o nome da exceção. A "
261+
"variável está vinculada à instância de exceção que normalmente possui um "
262+
"atributo ``args`` que armazena os argumentos. Por conveniência, os tipos de "
263+
"exceção embutidos definem :meth:`~object.__str__` para exibir todos os "
264+
"argumentos sem acessar explicitamente ``.args``. ::"
260265

261266
#: ../../tutorial/errors.rst:177
262267
msgid ""
263268
"The exception's :meth:`~object.__str__` output is printed as the last part "
264269
"('detail') of the message for unhandled exceptions."
265270
msgstr ""
271+
"A saída :meth:`~object.__str__` da exceção é exibida como a última parte "
272+
"(\"detalhe\") da mensagem para exceções não tratadas."
266273

267274
#: ../../tutorial/errors.rst:180
268275
msgid ""

tutorial/interactive.po

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2021
87
# Welington Carlos <wcarlos3@gmail.com>, 2021
98
# Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2021
9+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-08-04 14:13+0000\n"
16+
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 01:50+0000\n"
18-
"Last-Translator: Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, "
19-
"2021\n"
18+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2019
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2120
"teams/5390/pt_BR/)\n"
2221
"MIME-Version: 1.0\n"
@@ -62,6 +61,18 @@ msgid ""
6261
"python_history` in your user directory. The history will be available again "
6362
"during the next interactive interpreter session."
6463
msgstr ""
64+
"A conclusão dos nomes de variáveis e módulos é :ref:`ativado automaticamente "
65+
"<rlcompleter-config>` na inicialização do interpretador para que a tecla :"
66+
"kbd:`Tab` invoque a função de conclusão. Ele analisa os nomes das instruções "
67+
"Python, as variáveis locais atuais e os nomes dos módulos disponíveis. Para "
68+
"expressões pontilhadas como ``string.a``, ele avaliará a expressão até o "
69+
"``'.'`` final e então sugerirá conclusões dos atributos do objeto "
70+
"resultante. Observe que isso pode executar o código definido pelo aplicativo "
71+
"se um objeto com um método :meth:`~object.__getattr__` faz parte da "
72+
"expressão. A configuração padrão também guarda seu histórico em um arquivo "
73+
"chamado :file:`.python_history` no seu diretório de usuário. O histórico "
74+
"estará disponível novamente durante a próxima sessão de interpretação "
75+
"interativa."
6576

6677
#: ../../tutorial/interactive.rst:36
6778
msgid "Alternatives to the Interactive Interpreter"

0 commit comments

Comments
 (0)