Skip to content

Commit 2efea5f

Browse files
Update translation
Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com>
1 parent 008897f commit 2efea5f

File tree

3 files changed

+33
-9
lines changed

3 files changed

+33
-9
lines changed

library/ctypes.po

Lines changed: 28 additions & 4 deletions
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: 2026-01-27 16:07+0000\n"
16+
"POT-Creation-Date: 2026-01-29 16:10+0000\n"
1717
"PO-Revision-Date: 2025-07-18 19:57+0000\n"
1818
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1483,14 +1483,14 @@ msgstr ""
14831483

14841484
#: ../../library/ctypes.rst:703
14851485
msgid "Arrays"
1486-
msgstr "Arrays"
1486+
msgstr "Vetores"
14871487

14881488
#: ../../library/ctypes.rst:705
14891489
msgid ""
14901490
"Arrays are sequences, containing a fixed number of instances of the same "
14911491
"type."
14921492
msgstr ""
1493-
"Vetores são sequências, contendo um número fixo de instâncias do mesmo tipo."
1493+
"Vetores são sequências que contêm um número fixo de instâncias do mesmo tipo."
14941494

14951495
#: ../../library/ctypes.rst:707
14961496
msgid ""
@@ -1502,7 +1502,7 @@ msgstr ""
15021502

15031503
#: ../../library/ctypes.rst:710
15041504
msgid "TenPointsArrayType = POINT * 10"
1505-
msgstr ""
1505+
msgstr "TenPointsArrayType = POINT * 10"
15061506

15071507
#: ../../library/ctypes.rst:712
15081508
msgid ""
@@ -1527,6 +1527,18 @@ msgid ""
15271527
"4\n"
15281528
">>>"
15291529
msgstr ""
1530+
">>> from ctypes import *\n"
1531+
">>> class POINT(Structure):\n"
1532+
"... _fields_ = (\"x\", c_int), (\"y\", c_int)\n"
1533+
"...\n"
1534+
">>> class MyStruct(Structure):\n"
1535+
"... _fields_ = [(\"a\", c_int),\n"
1536+
"... (\"b\", c_float),\n"
1537+
"... (\"point_array\", POINT * 4)]\n"
1538+
">>>\n"
1539+
">>> print(len(MyStruct().point_array))\n"
1540+
"4\n"
1541+
">>>"
15301542

15311543
#: ../../library/ctypes.rst:728
15321544
msgid "Instances are created in the usual way, by calling the class::"
@@ -1538,6 +1550,9 @@ msgid ""
15381550
"for pt in arr:\n"
15391551
" print(pt.x, pt.y)"
15401552
msgstr ""
1553+
"arr = TenPointsArrayType()\n"
1554+
"for pt in arr:\n"
1555+
" print(pt.x, pt.y)"
15411556

15421557
#: ../../library/ctypes.rst:734
15431558
msgid ""
@@ -1563,6 +1578,15 @@ msgid ""
15631578
"1 2 3 4 5 6 7 8 9 10\n"
15641579
">>>"
15651580
msgstr ""
1581+
">>> from ctypes import *\n"
1582+
">>> TenIntegers = c_int * 10\n"
1583+
">>> ii = TenIntegers(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)\n"
1584+
">>> print(ii)\n"
1585+
"<c_long_Array_10 object at 0x...>\n"
1586+
">>> for i in ii: print(i, end=\" \")\n"
1587+
"...\n"
1588+
"1 2 3 4 5 6 7 8 9 10\n"
1589+
">>>"
15661590

15671591
#: ../../library/ctypes.rst:753
15681592
msgid "Pointers"

potodo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 66.80% done
2-
└── 3.12/ 66.80% done
1+
1 directory 66.81% done
2+
└── 3.12/ 66.81% done
33
├── c-api/ 52.74% done
44
│ ├── exceptions.po 63.0% translated 232/366
55
│ ├── frame.po 80.0% translated 29/36
@@ -38,7 +38,7 @@
3838
│ ├── sorting.po 66.0% translated 50/75
3939
│ └── unicode.po 20.0% translated 30/145
4040
├── installing/ 100.00% done
41-
├── library/ 60.69% done
41+
├── library/ 60.71% done
4242
│ ├── 2to3.po 91.0% translated 121/132
4343
│ ├── array.po 95.0% translated 80/84
4444
│ ├── ast.po 83.0% translated 255/306
@@ -62,7 +62,7 @@
6262
│ ├── concurrent.futures.po 14.0% translated 14/98
6363
│ ├── contextlib.po 32.0% translated 56/172
6464
│ ├── crypt.po 16.0% translated 6/36
65-
│ ├── ctypes.po 46.0% translated 244/523
65+
│ ├── ctypes.po 47.0% translated 248/523
6666
│ ├── curses.po 13.0% translated 66/484
6767
│ ├── dataclasses.po 46.0% translated 71/153
6868
│ ├── datetime.po 99.0% translated 633/637

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "66.8%", "translated": 44754, "entries": 62021, "updated_at": "2026-01-27T23:42:48+00:00Z"}
1+
{"completion": "66.81%", "translated": 44758, "entries": 62021, "updated_at": "2026-01-29T23:44:55+00:00Z"}

0 commit comments

Comments
 (0)