Skip to content

Commit b858d6a

Browse files
Update translation
Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com>
1 parent ab71e84 commit b858d6a

5 files changed

Lines changed: 94 additions & 29 deletions

File tree

glossary.po

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Adorilson Bezerra <adorilson@gmail.com>, 2025
87
# python-doc bot, 2026
98
# Rafael Fontenelle <rffontenelle@gmail.com>, 2026
9+
# Adorilson Bezerra <adorilson@gmail.com>, 2026
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-02-17 14:41+0000\n"
16+
"POT-Creation-Date: 2026-02-21 14:20+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
18-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
18+
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2020
"teams/5390/pt_BR/)\n"
2121
"MIME-Version: 1.0\n"
@@ -1783,6 +1783,12 @@ msgid ""
17831783
"shared between threads typically requires synchronization to avoid :term:"
17841784
"`race conditions <race condition>` and :term:`data races <data race>`."
17851785
msgstr ""
1786+
"Dados que são acessíveis em todo o programa, tais como variáveis ao nível do "
1787+
"módulo, variáveis de classe ou variáveis estáticas C em :term:`módulos de "
1788+
"extensão <extension module>`. Em programas multithread, o estado global "
1789+
"partilhado entre threads normalmente requer sincronização para evitar :term:"
1790+
"`condições de corrida <race condition>` e :term:`corridas de dados <data "
1791+
"race>`."
17861792

17871793
#: ../../glossary.rst:725
17881794
msgid "hash-based pyc"
@@ -1833,13 +1839,12 @@ msgid ""
18331839
"default. They all compare unequal (except with themselves), and their hash "
18341840
"value is derived from their :func:`id`."
18351841
msgstr ""
1836-
"A maioria dos objetos embutidos imutáveis do Python são hasheáveis; "
1837-
"contêineres mutáveis (tais como listas ou dicionários) não são; contêineres "
1838-
"imutáveis (tais como tuplas e frozensets) são hasheáveis apenas se os seus "
1839-
"elementos são hasheáveis. Objetos que são instâncias de classes definidas "
1840-
"pelo usuário são hasheáveis por padrão. Todos eles comparam de forma "
1841-
"desigual (exceto entre si mesmos), e o seu valor hash é derivado a partir do "
1842-
"seu :func:`id`."
1842+
"A maioria dos objetos embutidos imutáveis do Python é hasheável; contêineres "
1843+
"mutáveis (tais como listas ou dicionários) não são; contêineres imutáveis "
1844+
"(tais como tuplas e frozensets) são hasheáveis apenas se seus elementos são "
1845+
"hasheáveis. Objetos que são instâncias de classes definidas pelo usuário são "
1846+
"hasheáveis por padrão. Todos eles comparam de forma desigual (exceto entre "
1847+
"si mesmos), e o valor de hash é derivado do :func:`id`."
18431848

18441849
#: ../../glossary.rst:748
18451850
msgid "IDLE"
@@ -1899,6 +1904,14 @@ msgid ""
18991904
"their state cannot be modified after creation, eliminating concerns about "
19001905
"improperly synchronized :term:`concurrent modification`."
19011906
msgstr ""
1907+
"Um objeto com um valor fixo. Objetos imutáveis incluem números, strings e "
1908+
"tuplos. Este tipo de objeto não pode ser alterado. É necessário criar um "
1909+
"novo objeto se for necessário armazenar um valor diferente. Eles desempenham "
1910+
"um papel importante em locais onde é necessário um valor hash constante, por "
1911+
"exemplo, como uma chave num dicionário. Os objetos imutáveis são "
1912+
"inerentemente :term:`thread-safe` porque o seu estado não pode ser "
1913+
"modificado após a criação, eliminando preocupações com :term:`modificações "
1914+
"simultâneas` sincronizadas incorretamente."
19021915

19031916
#: ../../glossary.rst:773
19041917
msgid "import path"
@@ -1943,29 +1956,35 @@ msgstr ""
19431956

19441957
#: ../../glossary.rst:788
19451958
msgid "index"
1946-
msgstr ""
1959+
msgstr "índice"
19471960

19481961
#: ../../glossary.rst:790
19491962
msgid ""
19501963
"A numeric value that represents the position of an element in a :term:"
19511964
"`sequence`."
19521965
msgstr ""
1966+
"Um valor numérico que representa a posição de um elemento numa :term:"
1967+
"`sequência`."
19531968

19541969
#: ../../glossary.rst:793
19551970
msgid ""
19561971
"In Python, indexing starts at zero. For example, ``things[0]`` names the "
19571972
"*first* element of ``things``; ``things[1]`` names the second one."
19581973
msgstr ""
1974+
"Em Python, a indexação começa em zero. Por exemplo, ``coisas[0]`` nomeia o "
1975+
"*primeiro* elemento de ``coisas``; ``coisas[1]`` nomeia o segundo."
19591976

19601977
#: ../../glossary.rst:797
19611978
msgid ""
19621979
"In some contexts, Python allows negative indexes for counting from the end "
19631980
"of a sequence, and indexing using :term:`slices <slice>`."
19641981
msgstr ""
1982+
"Em alguns contextos, o Python permite índices negativos para contar a partir "
1983+
"do final de uma sequência e indexação por :term:`fatia <slice>`."
19651984

19661985
#: ../../glossary.rst:800
19671986
msgid "See also :term:`subscript`."
1968-
msgstr ""
1987+
msgstr "Veja também :term:`subscrição`."
19691988

19701989
#: ../../glossary.rst:801
19711990
msgid "interactive"

library/ctypes.po

Lines changed: 53 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-02-17 14:41+0000\n"
17+
"POT-Creation-Date: 2026-02-21 14:20+0000\n"
1818
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1919
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -470,6 +470,7 @@ msgstr "Tipos de dados fundamentais"
470470
#: ../../library/ctypes.rst:216
471471
msgid ":mod:`!ctypes` defines a number of primitive C compatible data types:"
472472
msgstr ""
473+
":mod:`!ctypes` define vários tipos de dados primitivos compatíveis com C:"
473474

474475
#: ../../library/ctypes.rst:219 ../../library/ctypes.rst:291
475476
msgid "ctypes type"
@@ -1005,13 +1006,33 @@ msgid ""
10051006
"parameter 2\n"
10061007
">>>"
10071008
msgstr ""
1009+
">>> printf = libc.printf\n"
1010+
">>> printf(b\"Hello, %s\\n\", b\"World!\")\n"
1011+
"Hello, World!\n"
1012+
"14\n"
1013+
">>> printf(b\"Hello, %S\\n\", \"World!\")\n"
1014+
"Hello, World!\n"
1015+
"14\n"
1016+
">>> printf(b\"%d bottles of beer\\n\", 42)\n"
1017+
"42 bottles of beer\n"
1018+
"19\n"
1019+
">>> printf(b\"%f bottles of beer\\n\", 42.5)\n"
1020+
"Traceback (most recent call last):\n"
1021+
" File \"<stdin>\", line 1, in <module>\n"
1022+
"ctypes.ArgumentError: argument 2: TypeError: Don't know how to convert "
1023+
"parameter 2\n"
1024+
">>>"
10081025

10091026
#: ../../library/ctypes.rst:399
10101027
msgid ""
10111028
"As has been mentioned before, all Python types except integers, strings, and "
10121029
"bytes objects have to be wrapped in their corresponding :mod:`!ctypes` type, "
10131030
"so that they can be converted to the required C data type::"
10141031
msgstr ""
1032+
"Como mencionado anteriormente, todos os tipos Python, exceto inteiros, "
1033+
"strings e objetos bytes, devem ser encapsulados no seu tipo :mod:`!ctypes` "
1034+
"correspondente, para que possam ser convertidos para o tipo de dados C "
1035+
"necessário::"
10151036

10161037
#: ../../library/ctypes.rst:403
10171038
msgid ""
@@ -1020,6 +1041,10 @@ msgid ""
10201041
"31\n"
10211042
">>>"
10221043
msgstr ""
1044+
">>> printf(b\"An int %d, a double %f\\n\", 1234, c_double(3.14))\n"
1045+
"An int 1234, a double 3.140000\n"
1046+
"31\n"
1047+
">>>"
10231048

10241049
#: ../../library/ctypes.rst:411
10251050
msgid "Calling variadic functions"
@@ -1033,23 +1058,23 @@ msgid ""
10331058
"convention for variadic functions is different than that for regular "
10341059
"functions."
10351060
msgstr ""
1036-
"Em muitas plataformas chamar funções variádicas por meio do ctypes é "
1061+
"Em muitas plataformas, chamar funções variádicas por meio do ctypes é "
10371062
"exatamente o mesmo que chamar funções com um número fixo de parâmetros. Em "
10381063
"algumas plataformas, em particular no ARM64 para plataformas Apple, a "
1039-
"convenção de chamada para funções variádicas é diferente daquela usada para "
1040-
"funções regulares."
1064+
"convenção de chamada para funções variádicas difere da usada para funções "
1065+
"regulares."
10411066

10421067
#: ../../library/ctypes.rst:418
10431068
msgid ""
10441069
"On those platforms it is required to specify the :attr:`~_CFuncPtr.argtypes` "
10451070
"attribute for the regular, non-variadic, function arguments:"
10461071
msgstr ""
10471072
"Nessas plataformas é necessário especificar o atributo :attr:`~_CFuncPtr."
1048-
"argtypes` para os argumentos de função regulares (não variádicos):"
1073+
"argtypes` para os argumentos de funções regulares (não variádicas):"
10491074

10501075
#: ../../library/ctypes.rst:421
10511076
msgid "libc.printf.argtypes = [ctypes.c_char_p]"
1052-
msgstr ""
1077+
msgstr "libc.printf.argtypes = [ctypes.c_char_p]"
10531078

10541079
#: ../../library/ctypes.rst:425
10551080
msgid ""
@@ -1072,6 +1097,12 @@ msgid ""
10721097
"The attribute must be an integer, string, bytes, a :mod:`!ctypes` instance, "
10731098
"or an object with an :attr:`!_as_parameter_` attribute::"
10741099
msgstr ""
1100+
"Você também pode personalizar a conversão de argumentos :mod:`!ctypes` para "
1101+
"permitir que instâncias de suas próprias classes sejam usadas como "
1102+
"argumentos de função. :mod:`!ctypes` procura o atributo :attr:`!"
1103+
"_as_parameter_` e o usa como argumento de função. O atributo deve ser um "
1104+
"inteiro, string, bytes, uma instância :mod:`!ctypes` ou um objeto com um "
1105+
"atributo :attr:`!_as_parameter_`::"
10751106

10761107
#: ../../library/ctypes.rst:440
10771108
msgid ""
@@ -1085,6 +1116,15 @@ msgid ""
10851116
"19\n"
10861117
">>>"
10871118
msgstr ""
1119+
">>> class Bottles:\n"
1120+
"... def __init__(self, number):\n"
1121+
"... self._as_parameter_ = number\n"
1122+
"...\n"
1123+
">>> bottles = Bottles(42)\n"
1124+
">>> printf(b\"%d bottles of beer\\n\", bottles)\n"
1125+
"42 bottles of beer\n"
1126+
"19\n"
1127+
">>>"
10881128

10891129
#: ../../library/ctypes.rst:450
10901130
msgid ""
@@ -4404,10 +4444,12 @@ msgid ""
44044444
"Represents the C :c:expr:`PyObject *` datatype. Calling this without an "
44054445
"argument creates a ``NULL`` :c:expr:`PyObject *` pointer."
44064446
msgstr ""
4447+
"Representa o tipo de dados C :c:expr:`PyObject *`. Chamar isto sem um "
4448+
"argumento cria um ponteiro ``NULL`` :c:expr:`PyObject *`."
44074449

44084450
#: ../../library/ctypes.rst:2701
44094451
msgid ":class:`!py_object` is now a :term:`generic type`."
4410-
msgstr ""
4452+
msgstr ":class:`!py_object` é agora um :term:`tipo genérico`."
44114453

44124454
#: ../../library/ctypes.rst:2704
44134455
msgid ""
@@ -4416,6 +4458,10 @@ msgid ""
44164458
"type:`!DWORD`. Some useful structures like :c:type:`!MSG` or :c:type:`!RECT` "
44174459
"are also defined."
44184460
msgstr ""
4461+
"O módulo :mod:`!ctypes.wintypes` fornece vários outros tipos de dados "
4462+
"específicos do Windows, por exemplo :c:type:`!HWND`, :c:type:`!WPARAM` ou :c:"
4463+
"type:`!DWORD`. Algumas estruturas úteis como :c:type:`!MSG` ou :c:type:`!"
4464+
"RECT` também estão definidas."
44194465

44204466
#: ../../library/ctypes.rst:2712
44214467
msgid "Structured data types"

potodo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
1 directory 60.94% done
2-
└── 3.14/ 60.94% done
1+
1 directory 60.97% done
2+
└── 3.14/ 60.97% done
33
├── bugs.po 96.0% translated 30/31
4-
├── glossary.po 93.0% translated 460/493
4+
├── glossary.po 94.0% translated 467/493
55
├── c-api/ 54.10% done
66
│ ├── call.po 97.0% translated 97/99
77
│ ├── conversion.po 89.0% translated 49/55
@@ -47,7 +47,7 @@
4747
│ ├── sorting.po 54.0% translated 50/92
4848
│ └── unicode.po 20.0% translated 30/145
4949
├── installing/ 100.00% done
50-
├── library/ 60.20% done
50+
├── library/ 60.23% done
5151
│ ├── __future__.po 91.0% translated 45/49
5252
│ ├── argparse.po 99.0% translated 398/400
5353
│ ├── array.po 97.0% translated 85/87
@@ -84,7 +84,7 @@
8484
│ ├── copy.po 96.0% translated 31/32
8585
│ ├── copyreg.po 91.0% translated 11/12
8686
│ ├── csv.po 95.0% translated 116/122
87-
│ ├── ctypes.po 53.0% translated 338/628
87+
│ ├── ctypes.po 55.0% translated 348/628
8888
│ ├── curses.ascii.po 98.0% translated 68/69
8989
│ ├── curses.panel.po 95.0% translated 22/23
9090
│ ├── curses.po 13.0% translated 68/491

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "60.94%", "translated": 53539, "entries": 82418, "updated_at": "2026-02-21T23:11:15+00:00Z"}
1+
{"completion": "60.97%", "translated": 53556, "entries": 82418, "updated_at": "2026-02-22T23:12:19+00:00Z"}

whatsnew/3.14.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Adorilson Bezerra <adorilson@gmail.com>, 2026
87
# python-doc bot, 2026
98
# Rafael Fontenelle <rffontenelle@gmail.com>, 2026
9+
# Adorilson Bezerra <adorilson@gmail.com>, 2026
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-02-17 14:41+0000\n"
16+
"POT-Creation-Date: 2026-02-21 14:20+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
18-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
18+
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2020
"teams/5390/pt_BR/)\n"
2121
"MIME-Version: 1.0\n"
@@ -2518,7 +2518,7 @@ msgid ""
25182518
"The :class:`~ctypes.py_object` type now supports subscription, making it a :"
25192519
"term:`generic type`. (Contributed by Brian Schubert in :gh:`132168`.)"
25202520
msgstr ""
2521-
"O tipo :class:`~ctypes.py_object` agora oferece suporte a subscrição, "
2521+
"O tipo :class:`~ctypes.py_object` agora oferece suporte à subscrição, "
25222522
"tornando-o um :term:`tipo genérico`. (Contribuição de Brian Schubert em :gh:"
25232523
"`132168`.)"
25242524

0 commit comments

Comments
 (0)