Skip to content

Commit 8f33e69

Browse files
Update translations from Transifex
1 parent fa7a595 commit 8f33e69

2 files changed

Lines changed: 83 additions & 4 deletions

File tree

library/__main__.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ msgid ""
7979
"If the file is part of a package, ``__name__`` will also include the parent "
8080
"package's path::"
8181
msgstr ""
82-
"Caso o arquivo seja parte de um pacote, ``__name__``também incluirá o nome "
82+
"Caso o arquivo seja parte de um pacote, ``__name__`` também incluirá o nome "
8383
"da pasta raiz do pacote."
8484

8585
#: ../../library/__main__.rst:42

whatsnew/3.10.po

Lines changed: 82 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3783,19 +3783,30 @@ msgid ""
37833783
"functions allow to activate, deactivate and query the state of the garbage "
37843784
"collector from C code without having to import the :mod:`gc` module."
37853785
msgstr ""
3786+
"Adiciona novas funções para controlar o coletor de lixo do código C: :c:func:"
3787+
"`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:func:`PyGC_IsEnabled()`. Estas "
3788+
"funções permitem ativar, desativar e consultar o estado do coletor de lixo "
3789+
"do código C sem precisar importar o módulo :mod:`gc`."
37863790

37873791
#: ../../whatsnew/3.10.rst:2133
37883792
msgid ""
37893793
"Add a new :c:data:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type flag to disallow "
37903794
"creating type instances. (Contributed by Victor Stinner in :issue:`43916`.)"
37913795
msgstr ""
3796+
"Adiciona um novo sinalizador de tipo :c:data:"
3797+
"`Py_TPFLAGS_DISALLOW_INSTANTIATION` para impedir a criação de instâncias de "
3798+
"tipo. (Contribuição de Victor Stinner em :issue:`43916`.)"
37923799

37933800
#: ../../whatsnew/3.10.rst:2137
37943801
msgid ""
37953802
"Add a new :c:data:`Py_TPFLAGS_IMMUTABLETYPE` type flag for creating "
37963803
"immutable type objects: type attributes cannot be set nor deleted. "
37973804
"(Contributed by Victor Stinner and Erlend E. Aasland in :issue:`43908`.)"
37983805
msgstr ""
3806+
"Adiciona um novo sinalizador de tipo :c:data:`Py_TPFLAGS_IMMUTABLETYPE` para "
3807+
"criar objetos de tipo imutável: atributos de tipo não podem ser definidos "
3808+
"nem excluídos. (Contribuição de Victor Stinner e Erlend E. Aasland em :issue:"
3809+
"`43908`.)"
37993810

38003811
#: ../../whatsnew/3.10.rst:2144
38013812
msgid ""
@@ -3805,6 +3816,11 @@ msgid ""
38053816
"ref:`Parsing arguments and building values <arg-parsing>` and the :pep:"
38063817
"`353`. (Contributed by Victor Stinner in :issue:`40943`.)"
38073818
msgstr ""
3819+
"A macro ``PY_SSIZE_T_CLEAN`` deve agora ser definida para usar os formatos :"
3820+
"c:func:`PyArg_ParseTuple` e :c:func:`Py_BuildValue` que usam ``#``: ``es#``, "
3821+
"``et# ``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` e ``Z#``. Veja :ref:"
3822+
"`Análise de argumentos e construção de valores <arg-parsing>` e o :pep:"
3823+
"`353`. (Contribuição de Victor Stinner em :issue:`40943`.)"
38083824

38093825
#: ../../whatsnew/3.10.rst:2151
38103826
msgid ""
@@ -3813,17 +3829,25 @@ msgid ""
38133829
"new_refcnt)``: see :c:func:`Py_SET_REFCNT()` (available since Python 3.9). "
38143830
"For backward compatibility, this macro can be used::"
38153831
msgstr ""
3832+
"Como :c:func:`Py_REFCNT()` é alterado para a função estática em linha, "
3833+
"``Py_REFCNT(obj) = new_refcnt`` deve ser substituído por "
3834+
"``Py_SET_REFCNT(obj, new_refcnt)``: veja :c:func: `Py_SET_REFCNT()` "
3835+
"(disponível desde o Python 3.9). Para compatibilidade com versões "
3836+
"anteriores, esta macro pode ser usada::"
38163837

38173838
#: ../../whatsnew/3.10.rst:2160
38183839
msgid "(Contributed by Victor Stinner in :issue:`39573`.)"
3819-
msgstr ""
3840+
msgstr "(Contribuição de Victor Stinner em :issue:`39573`.)"
38203841

38213842
#: ../../whatsnew/3.10.rst:2162
38223843
msgid ""
38233844
"Calling :c:func:`PyDict_GetItem` without :term:`GIL` held had been allowed "
38243845
"for historical reason. It is no longer allowed. (Contributed by Victor "
38253846
"Stinner in :issue:`40839`.)"
38263847
msgstr ""
3848+
"A chamada de :c:func:`PyDict_GetItem` sem :term:`GIL` retido era permitido "
3849+
"por razões históricas. Isso não é mais permitido. (Contribuição de Victor "
3850+
"Stinner em :issue:`40839`.)"
38273851

38283852
#: ../../whatsnew/3.10.rst:2166
38293853
msgid ""
@@ -3832,13 +3856,20 @@ msgid ""
38323856
"now. Use :c:func:`PyUnicode_New` to allocate Unicode object without initial "
38333857
"data. (Contributed by Inada Naoki in :issue:`36346`.)"
38343858
msgstr ""
3859+
"``PyUnicode_FromUnicode(NULL, size)`` e ``PyUnicode_FromStringAndSize(NULL, "
3860+
"size)`` levantam ``DeprecationWarning`` agora. Use :c:func:`PyUnicode_New` "
3861+
"para alocar objeto Unicode sem dados iniciais. (Contribuição de Inada Naoki "
3862+
"em :issue:`36346`.)"
38353863

38363864
#: ../../whatsnew/3.10.rst:2171
38373865
msgid ""
38383866
"The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API "
38393867
"``unicodedata.ucnhash_CAPI`` has been moved to the internal C API. "
38403868
"(Contributed by Victor Stinner in :issue:`42157`.)"
38413869
msgstr ""
3870+
"A estrutura privada ``_PyUnicode_Name_CAPI`` da API PyCapsule ``unicodedata."
3871+
"ucnhash_CAPI`` foi movida para a API C interna. (Contribuição de Victor "
3872+
"Stinner em :issue:`42157`.)"
38423873

38433874
#: ../../whatsnew/3.10.rst:2175
38443875
msgid ""
@@ -3850,6 +3881,13 @@ msgid ""
38503881
"Configuration. <init-path-config>`. (Contributed by Victor Stinner in :"
38513882
"issue:`42260`.)"
38523883
msgstr ""
3884+
"As funções :c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:"
3885+
"`Py_GetExecPrefix`, :c:func:`Py_GetProgramFullPath`, :c:func:"
3886+
"`Py_GetPythonHome` e :c:func:`Py_GetProgramName` agora retornam ``NULL`` se "
3887+
"chamadas antes de :c:func:`Py_Initialize` (antes do Python ser "
3888+
"inicializado). Use a nova :ref:`API de configuração de inicialização do "
3889+
"Python <init-config>` para obter a :ref:`Configuração de caminho do Python "
3890+
"<init-path-config>`. (Contribuição de Victor Stinner em :issue:`42260`.)"
38533891

38543892
#: ../../whatsnew/3.10.rst:2183
38553893
msgid ""
@@ -3860,6 +3898,12 @@ msgid ""
38603898
"(PyList_SET_ITEM (a, b, c) < 0) ...`` test. (Contributed by Zackery Spytz "
38613899
"and Victor Stinner in :issue:`30459`.)"
38623900
msgstr ""
3901+
"As macros :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` e :c:func:"
3902+
"`PyCell_SET` não podem mais ser usadas como valor-l ou valor-r. Por exemplo, "
3903+
"``x = PyList_SET_ITEM(a, b, c)`` e ``PyList_SET_ITEM(a, b, c) = x`` agora "
3904+
"falham com um erro do compilador. Isso previne bugs como o teste ``if "
3905+
"(PyList_SET_ITEM (a, b, c) < 0) ...``. (Contribuição de Zackery Spytz e "
3906+
"Victor Stinner em :issue:`30459`.)"
38633907

38643908
#: ../../whatsnew/3.10.rst:2190
38653909
msgid ""
@@ -3871,6 +3915,13 @@ msgid ""
38713915
"included directly, consider including ``Python.h`` instead. (Contributed by "
38723916
"Nicholas Sim in :issue:`35134`)"
38733917
msgstr ""
3918+
"Os arquivos de API não limitada ``odictobject.h``, ``parser_interface.h``, "
3919+
"``piclebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug. h``, ``pyfpe."
3920+
"h`` e ``pytime.h`` foram movidos para o diretório ``Include/cpython``. Esses "
3921+
"arquivos não devem ser incluídos diretamente, pois já estão incluídos em "
3922+
"``Python.h``: :ref:`Arquivos de inclusão <api-includes>`. Se eles foram "
3923+
"incluídos diretamente, considere incluir ``Python.h`` em vez disso. "
3924+
"(Contribuição de Nicholas Sim em :issue:`35134`)"
38743925

38753926
#: ../../whatsnew/3.10.rst:2198
38763927
msgid ""
@@ -3880,77 +3931,105 @@ msgid ""
38803931
"is set instead. (Contributed by Victor Stinner and Erlend E. Aasland in :"
38813932
"issue:`43908`.)"
38823933
msgstr ""
3934+
"Use o sinalizador de tipo :c:data:`Py_TPFLAGS_IMMUTABLETYPE` para criar "
3935+
"objetos de tipo imutável. Não confie em :c:data:`Py_TPFLAGS_HEAPTYPE` para "
3936+
"decidir se um objeto de tipo é mutável ou não; verifique se :c:data:"
3937+
"`Py_TPFLAGS_IMMUTABLETYPE` está definido. (Contribuição de Victor Stinner e "
3938+
"Erlend E. Aasland em :issue:`43908`.)"
38833939

38843940
#: ../../whatsnew/3.10.rst:2204
38853941
msgid ""
38863942
"The undocumented function ``Py_FrozenMain`` has been removed from the "
38873943
"limited API. The function is mainly useful for custom builds of Python. "
38883944
"(Contributed by Petr Viktorin in :issue:`26241`)"
38893945
msgstr ""
3946+
"A função não documentada ``Py_FrozenMain`` foi removida da API limitada. A "
3947+
"função é útil principalmente para compilações personalizadas do Python. "
3948+
"(Contribuição de Petr Viktorin em :issue:`26241`)"
38903949

38913950
#: ../../whatsnew/3.10.rst:2211
38923951
msgid ""
38933952
"The ``PyUnicode_InternImmortal()`` function is now deprecated and will be "
38943953
"removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace` instead. "
38953954
"(Contributed by Victor Stinner in :issue:`41692`.)"
38963955
msgstr ""
3956+
"A função ``PyUnicode_InternImmortal()`` agora foi descontinuada e será "
3957+
"removida no Python 3.12: use :c:func:`PyUnicode_InternInPlace` em vez disso. "
3958+
"(Contribuição de Victor Stinner em :issue:`41692`.)"
38973959

38983960
#: ../../whatsnew/3.10.rst:2219
38993961
msgid ""
39003962
"Removed ``Py_UNICODE_str*`` functions manipulating ``Py_UNICODE*`` strings. "
39013963
"(Contributed by Inada Naoki in :issue:`41123`.)"
39023964
msgstr ""
3965+
"Removidas as funções ``Py_UNICODE_str*`` que manipulam strings "
3966+
"``Py_UNICODE*``. (Contribuição de Inada Naoki em :issue:`41123`.)"
39033967

39043968
#: ../../whatsnew/3.10.rst:2222
39053969
msgid ""
39063970
"``Py_UNICODE_strlen``: use :c:func:`PyUnicode_GetLength` or :c:macro:"
39073971
"`PyUnicode_GET_LENGTH`"
39083972
msgstr ""
3973+
"``Py_UNICODE_strlen``: use :c:func:`PyUnicode_GetLength` ou :c:macro:"
3974+
"`PyUnicode_GET_LENGTH`"
39093975

39103976
#: ../../whatsnew/3.10.rst:2224
39113977
msgid ""
39123978
"``Py_UNICODE_strcat``: use :c:func:`PyUnicode_CopyCharacters` or :c:func:"
39133979
"`PyUnicode_FromFormat`"
39143980
msgstr ""
3981+
"``Py_UNICODE_strcat``: use :c:func:`PyUnicode_CopyCharacters` ou :c:func:"
3982+
"`PyUnicode_FromFormat`"
39153983

39163984
#: ../../whatsnew/3.10.rst:2226
39173985
msgid ""
39183986
"``Py_UNICODE_strcpy``, ``Py_UNICODE_strncpy``: use :c:func:"
39193987
"`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_Substring`"
39203988
msgstr ""
3989+
"``Py_UNICODE_strcpy``, ``Py_UNICODE_strncpy``: use :c:func:"
3990+
"`PyUnicode_CopyCharacters` ou :c:func:`PyUnicode_Substring`"
39213991

39223992
#: ../../whatsnew/3.10.rst:2228
39233993
msgid "``Py_UNICODE_strcmp``: use :c:func:`PyUnicode_Compare`"
3924-
msgstr ""
3994+
msgstr "``Py_UNICODE_strcmp``: use :c:func:`PyUnicode_Compare`"
39253995

39263996
#: ../../whatsnew/3.10.rst:2229
39273997
msgid "``Py_UNICODE_strncmp``: use :c:func:`PyUnicode_Tailmatch`"
3928-
msgstr ""
3998+
msgstr "``Py_UNICODE_strncmp``: use :c:func:`PyUnicode_Tailmatch`"
39293999

39304000
#: ../../whatsnew/3.10.rst:2230
39314001
msgid ""
39324002
"``Py_UNICODE_strchr``, ``Py_UNICODE_strrchr``: use :c:func:"
39334003
"`PyUnicode_FindChar`"
39344004
msgstr ""
4005+
"``Py_UNICODE_strchr``, ``Py_UNICODE_strrchr``: use :c:func:"
4006+
"`PyUnicode_FindChar`"
39354007

39364008
#: ../../whatsnew/3.10.rst:2233
39374009
msgid ""
39384010
"Removed ``PyUnicode_GetMax()``. Please migrate to new (:pep:`393`) APIs. "
39394011
"(Contributed by Inada Naoki in :issue:`41103`.)"
39404012
msgstr ""
4013+
"Removida ``PyUnicode_GetMax()``. Migre para as novas APIs (:pep:`393`). "
4014+
"(Contribuição de Inada Naoki em :issue:`41103`.)"
39414015

39424016
#: ../../whatsnew/3.10.rst:2236
39434017
msgid ""
39444018
"Removed ``PyLong_FromUnicode()``. Please migrate to :c:func:"
39454019
"`PyLong_FromUnicodeObject`. (Contributed by Inada Naoki in :issue:`41103`.)"
39464020
msgstr ""
4021+
"Removida ``PyLong_FromUnicode()``. Migre para :c:func:"
4022+
"`PyLong_FromUnicodeObject`. (Contribuição de Inada Naoki em :issue:`41103`.)"
39474023

39484024
#: ../../whatsnew/3.10.rst:2239
39494025
msgid ""
39504026
"Removed ``PyUnicode_AsUnicodeCopy()``. Please use :c:func:"
39514027
"`PyUnicode_AsUCS4Copy` or :c:func:`PyUnicode_AsWideCharString` (Contributed "
39524028
"by Inada Naoki in :issue:`41103`.)"
39534029
msgstr ""
4030+
"Removida ``PyUnicode_AsUnicodeCopy()``. Use :c:func:`PyUnicode_AsUCS4Copy` "
4031+
"ou :c:func:`PyUnicode_AsWideCharString` (Contribuição de Inada Naoki em :"
4032+
"issue:`41103`.)"
39544033

39554034
#: ../../whatsnew/3.10.rst:2243
39564035
msgid ""

0 commit comments

Comments
 (0)