Skip to content

Commit 52b365b

Browse files
Update translations
1 parent 5353183 commit 52b365b

26 files changed

+15046
-14885
lines changed

c-api/allocation.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-03-21 14:18+0000\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -127,8 +127,8 @@ msgstr ""
127127
"objeto."
128128

129129
#: ../../c-api/allocation.rst:79
130-
msgid ":c:func:`PyModule_Create`"
131-
msgstr ":c:func:`PyModule_Create`"
130+
msgid ":ref:`moduleobjects`"
131+
msgstr ""
132132

133133
#: ../../c-api/allocation.rst:80
134134
msgid "To allocate and create extension modules."

c-api/code.po

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:16+0000\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -292,14 +292,10 @@ msgstr "Tipo de uma função de callback de observador de objeto código."
292292
#: ../../c-api/code.rst:184
293293
msgid ""
294294
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
295-
"`co` has been fully initialized. Otherwise, the callback is invoked before "
295+
"*co* has been fully initialized. Otherwise, the callback is invoked before "
296296
"the destruction of *co* takes place, so the prior state of *co* can be "
297297
"inspected."
298298
msgstr ""
299-
"Se *evento* é ``PY_CODE_EVENT_CREATE``, então a função de retorno é invocada "
300-
"após `co`ter sido completamente inicializado. Senão, a função de retorno é "
301-
"invocada antes que a destruição de `co` ocorra, para que o estado anterior "
302-
"de *co* possa ser inspecionado."
303299

304300
#: ../../c-api/code.rst:189
305301
msgid ""

c-api/function.po

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-21 14:16+0000\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -256,22 +256,14 @@ msgstr ""
256256
#: ../../c-api/function.rst:171
257257
msgid ""
258258
"If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked "
259-
"after `func` has been fully initialized. Otherwise, the callback is invoked "
259+
"after *func* has been fully initialized. Otherwise, the callback is invoked "
260260
"before the modification to *func* takes place, so the prior state of *func* "
261261
"can be inspected. The runtime is permitted to optimize away the creation of "
262262
"function objects when possible. In such cases no event will be emitted. "
263263
"Although this creates the possibility of an observable difference of runtime "
264264
"behavior depending on optimization decisions, it does not change the "
265265
"semantics of the Python code being executed."
266266
msgstr ""
267-
"Se *event* for ``PyFunction_EVENT_CREATE``, a função de retorno será "
268-
"invocada após *func* ter sido completamente inicializada. Caso contrário, a "
269-
"função de retorno será invocada antes de modificar *func*, então o estado "
270-
"anterior de *func* poderá ser inspecionado. O ambiente de execução pode "
271-
"otimizar a criação de objetos função, quando possível, ao ignorá-las. Nesses "
272-
"casos, nenhum evento será emitido. Apesar de decisões de otimização criarem "
273-
"diferenças de comportamento em tempo de execução, elas não mudam a semântica "
274-
"do código Python sendo executado."
275267

276268
#: ../../c-api/function.rst:180
277269
msgid ""

c-api/intro.po

Lines changed: 83 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-04-25 14:19+0000\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -260,28 +260,17 @@ msgstr ""
260260
#: ../../c-api/intro.rst:119
261261
msgid ""
262262
"static struct PyModuleDef spam_module = {\n"
263-
" PyModuleDef_HEAD_INIT,\n"
263+
" .m_base = PyModuleDef_HEAD_INIT,\n"
264264
" .m_name = \"spam\",\n"
265265
" ...\n"
266266
"};\n"
267267
"\n"
268268
"PyMODINIT_FUNC\n"
269269
"PyInit_spam(void)\n"
270270
"{\n"
271-
" return PyModule_Create(&spam_module);\n"
271+
" return PyModuleDef_Init(&spam_module);\n"
272272
"}"
273273
msgstr ""
274-
"static struct PyModuleDef spam_module = {\n"
275-
" PyModuleDef_HEAD_INIT,\n"
276-
" .m_name = \"spam\",\n"
277-
" ...\n"
278-
"};\n"
279-
"\n"
280-
"PyMODINIT_FUNC\n"
281-
"PyInit_spam(void)\n"
282-
"{\n"
283-
" return PyModule_Create(&spam_module);\n"
284-
"}"
285274

286275
#: ../../c-api/intro.rst:134
287276
msgid "Return the absolute value of ``x``."
@@ -1354,6 +1343,86 @@ msgstr ""
13541343
"Consulte :file:`Misc/SpecialBuilds.txt` na distribuição do código-fonte "
13551344
"Python para informações mais detalhadas."
13561345

1346+
#: ../../c-api/intro.rst:842
1347+
msgid "Recommended third party tools"
1348+
msgstr "Ferramentas de terceiros recomendadas"
1349+
1350+
#: ../../c-api/intro.rst:844
1351+
msgid ""
1352+
"The following third party tools offer both simpler and more sophisticated "
1353+
"approaches to creating C, C++ and Rust extensions for Python:"
1354+
msgstr ""
1355+
1356+
#: ../../c-api/intro.rst:847
1357+
msgid "`Cython <https://cython.org/>`_"
1358+
msgstr ""
1359+
1360+
#: ../../c-api/intro.rst:848
1361+
msgid "`cffi <https://cffi.readthedocs.io>`_"
1362+
msgstr ""
1363+
1364+
#: ../../c-api/intro.rst:849
1365+
msgid "`HPy <https://hpyproject.org/>`_"
1366+
msgstr ""
1367+
1368+
#: ../../c-api/intro.rst:850
1369+
msgid "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)"
1370+
msgstr ""
1371+
1372+
#: ../../c-api/intro.rst:851
1373+
msgid "`Numba <https://numba.pydata.org/>`_"
1374+
msgstr ""
1375+
1376+
#: ../../c-api/intro.rst:852
1377+
msgid "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)"
1378+
msgstr ""
1379+
1380+
#: ../../c-api/intro.rst:853
1381+
msgid "`PyO3 <https://pyo3.rs/>`_ (Rust)"
1382+
msgstr ""
1383+
1384+
#: ../../c-api/intro.rst:854
1385+
msgid "`SWIG <https://www.swig.org>`_"
1386+
msgstr ""
1387+
1388+
#: ../../c-api/intro.rst:856
1389+
msgid ""
1390+
"Using tools such as these can help avoid writing code that is tightly bound "
1391+
"to a particular version of CPython, avoid reference counting errors, and "
1392+
"focus more on your own code than on using the CPython API. In general, new "
1393+
"versions of Python can be supported by updating the tool, and your code will "
1394+
"often use newer and more efficient APIs automatically. Some tools also "
1395+
"support compiling for other implementations of Python from a single set of "
1396+
"sources."
1397+
msgstr ""
1398+
1399+
#: ../../c-api/intro.rst:863
1400+
msgid ""
1401+
"These projects are not supported by the same people who maintain Python, and "
1402+
"issues need to be raised with the projects directly. Remember to check that "
1403+
"the project is still maintained and supported, as the list above may become "
1404+
"outdated."
1405+
msgstr ""
1406+
1407+
#: ../../c-api/intro.rst:870
1408+
msgid ""
1409+
"`Python Packaging User Guide: Binary Extensions <https://packaging.python."
1410+
"org/guides/packaging-binary-extensions/>`_"
1411+
msgstr ""
1412+
"`Guia do Usuário de Empacotamento do Python: Extensões Binárias <https://"
1413+
"packaging.python.org/guides/packaging-binary-extensions/>`_"
1414+
1415+
#: ../../c-api/intro.rst:871
1416+
msgid ""
1417+
"The Python Packaging User Guide not only covers several available tools that "
1418+
"simplify the creation of binary extensions, but also discusses the various "
1419+
"reasons why creating an extension module may be desirable in the first place."
1420+
msgstr ""
1421+
"O Guia do Usuário de Empacotamento do Python não abrange apenas várias "
1422+
"ferramentas disponíveis que simplificam a criação de extensões binárias, mas "
1423+
"também discute os vários motivos pelos quais a criação de um módulo de "
1424+
"extensão pode ser desejável em primeiro lugar."
1425+
13571426
#: ../../c-api/intro.rst:288
13581427
msgid "object"
13591428
msgstr "objeto"

c-api/typeobj.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-05-23 14:55+0000\n"
14+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2193,8 +2193,9 @@ msgstr ""
21932193

21942194
#: ../../c-api/typeobj.rst:1190
21952195
msgid ""
2196-
"This bit indicates that instances of the class have a `~object.__dict__` "
2197-
"attribute, and that the space for the dictionary is managed by the VM."
2196+
"This bit indicates that instances of the class have a :attr:`~object."
2197+
"__dict__` attribute, and that the space for the dictionary is managed by the "
2198+
"VM."
21982199
msgstr ""
21992200

22002201
#: ../../c-api/typeobj.rst:1193

0 commit comments

Comments
 (0)