Skip to content

Commit c12a948

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

4 files changed

Lines changed: 14002 additions & 13972 deletions

File tree

library/ctypes.po

Lines changed: 30 additions & 6 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-01-27 14:24+0000\n"
17+
"POT-Creation-Date: 2026-01-29 14:35+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/"
@@ -1539,8 +1539,8 @@ msgid ""
15391539
"useful for debugging because they can provide useful information. See :class:"
15401540
"`CField`::"
15411541
msgstr ""
1542-
"Os :term:`descritores` de campo podem ser obtidos a partir da *classe*; são "
1543-
"úteis para depuração, pois podem fornecer informações úteis. Veja :class:"
1542+
"Os :term:`descritor`\\es de campo podem ser obtidos a partir da *classe*; "
1543+
"são úteis para depuração, pois podem fornecer informações úteis. Veja :class:"
15441544
"`CField`:"
15451545

15461546
#: ../../library/ctypes.rst:681
@@ -1662,14 +1662,14 @@ msgstr ""
16621662

16631663
#: ../../library/ctypes.rst:746
16641664
msgid "Arrays"
1665-
msgstr "Arrays"
1665+
msgstr "Vetores"
16661666

16671667
#: ../../library/ctypes.rst:748
16681668
msgid ""
16691669
"Arrays are sequences, containing a fixed number of instances of the same "
16701670
"type."
16711671
msgstr ""
1672-
"Vetores são sequências, contendo um número fixo de instâncias do mesmo tipo."
1672+
"Vetores são sequências que contêm um número fixo de instâncias do mesmo tipo."
16731673

16741674
#: ../../library/ctypes.rst:750
16751675
msgid ""
@@ -1681,7 +1681,7 @@ msgstr ""
16811681

16821682
#: ../../library/ctypes.rst:753
16831683
msgid "TenPointsArrayType = POINT * 10"
1684-
msgstr ""
1684+
msgstr "TenPointsArrayType = POINT * 10"
16851685

16861686
#: ../../library/ctypes.rst:755
16871687
msgid ""
@@ -1706,6 +1706,18 @@ msgid ""
17061706
"4\n"
17071707
">>>"
17081708
msgstr ""
1709+
">>> from ctypes import *\n"
1710+
">>> class POINT(Structure):\n"
1711+
"... _fields_ = (\"x\", c_int), (\"y\", c_int)\n"
1712+
"...\n"
1713+
">>> class MyStruct(Structure):\n"
1714+
"... _fields_ = [(\"a\", c_int),\n"
1715+
"... (\"b\", c_float),\n"
1716+
"... (\"point_array\", POINT * 4)]\n"
1717+
">>>\n"
1718+
">>> print(len(MyStruct().point_array))\n"
1719+
"4\n"
1720+
">>>"
17091721

17101722
#: ../../library/ctypes.rst:771
17111723
msgid "Instances are created in the usual way, by calling the class::"
@@ -1717,6 +1729,9 @@ msgid ""
17171729
"for pt in arr:\n"
17181730
" print(pt.x, pt.y)"
17191731
msgstr ""
1732+
"arr = TenPointsArrayType()\n"
1733+
"for pt in arr:\n"
1734+
" print(pt.x, pt.y)"
17201735

17211736
#: ../../library/ctypes.rst:777
17221737
msgid ""
@@ -1742,6 +1757,15 @@ msgid ""
17421757
"1 2 3 4 5 6 7 8 9 10\n"
17431758
">>>"
17441759
msgstr ""
1760+
">>> from ctypes import *\n"
1761+
">>> TenIntegers = c_int * 10\n"
1762+
">>> ii = TenIntegers(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)\n"
1763+
">>> print(ii)\n"
1764+
"<c_long_Array_10 object at 0x...>\n"
1765+
">>> for i in ii: print(i, end=\" \")\n"
1766+
"...\n"
1767+
"1 2 3 4 5 6 7 8 9 10\n"
1768+
">>>"
17451769

17461770
#: ../../library/ctypes.rst:796
17471771
msgid "Pointers"

potodo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
│ ├── sorting.po 54.0% translated 50/92
4646
│ └── unicode.po 20.0% translated 30/145
4747
├── installing/ 100.00% done
48-
├── library/ 62.76% done
48+
├── library/ 62.78% done
4949
│ ├── argparse.po 99.0% translated 399/400
5050
│ ├── array.po 97.0% translated 85/87
5151
│ ├── ast.po 99.0% translated 333/336
@@ -69,7 +69,7 @@
6969
│ ├── concurrent.interpreters.po 58.0% translated 51/87
7070
│ ├── contextlib.po 31.0% translated 55/172
7171
│ ├── contextvars.po 89.0% translated 57/64
72-
│ ├── ctypes.po 45.0% translated 285/628
72+
│ ├── ctypes.po 46.0% translated 289/628
7373
│ ├── curses.po 14.0% translated 69/491
7474
│ ├── dataclasses.po 44.0% translated 71/158
7575
│ ├── datetime.po 99.0% translated 651/655
@@ -188,4 +188,4 @@
188188
├── 3.5.po 22.0% translated 128/578
189189
├── 3.6.po 42.0% translated 232/544
190190
├── 3.7.po 43.0% translated 249/568
191-
└── changelog.po 25.0% translated 3487/13834
191+
└── changelog.po 25.0% translated 3487/13835

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "62.35%", "translated": 54155, "entries": 82232, "updated_at": "2026-01-27T23:09:52+00:00Z"}
1+
{"completion": "62.35%", "translated": 54159, "entries": 82233, "updated_at": "2026-01-29T23:12:23+00:00Z"}

0 commit comments

Comments
 (0)