Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitabdf091

Browse files
Update translation
Co-Authored-By: Marcos Moraes
1 parent63febcd commitabdf091

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

‎library/ctypes.po‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,10 @@ msgid ""
698698
"exception. ``WinError`` takes an optional error code parameter, if no one is "
699699
"used, it calls :func:`GetLastError` to retrieve it."
700700
msgstr""
701+
"``WinError`` é uma função que chamará a API ``FormatMessage()`` do Windows "
702+
"para obter a representação em string de um código de erro, e *retorna* uma "
703+
"exceção. ``WinError`` aceita um parâmetro de código de erro opcional, se "
704+
"nenhum for usado, ela chama :func:`GetLastError` para recuperá-lo."
701705

702706
#:../../library/ctypes.rst:531
703707
msgid""
@@ -716,6 +720,10 @@ msgid ""
716720
"large to be passed by value. This is also known as *passing parameters by "
717721
"reference*."
718722
msgstr""
723+
"Às vezes, uma função da API C espera um *ponteiro* para um tipo de dado como "
724+
"parâmetro, provavelmente para escrever no local correspondente, ou se os "
725+
"dados forem muito grandes para serem passados por valor. Isso também é "
726+
"conhecido como *passar parâmetros por referência*."
719727

720728
#:../../library/ctypes.rst:544
721729
msgid""
@@ -725,6 +733,11 @@ msgid ""
725733
"constructs a real pointer object, so it is faster to use :func:`byref` if "
726734
"you don't need the pointer object in Python itself::"
727735
msgstr""
736+
"O :mod:`ctypes` exporta a função :func:`byref` que é usada para passar "
737+
"parâmetros por referência. O mesmo efeito pode ser alcançado com a função :"
738+
"func:`pointer`, embora :func:`pointer` faça muito mais trabalho, já que ela "
739+
"constrói um objeto ponteiro real, então é mais rápido usar :func:`byref` se "
740+
"você não precisar do objeto ponteiro no próprio Python::"
728741

729742
#:../../library/ctypes.rst:566
730743
msgid"Structures and unions"
@@ -743,25 +756,36 @@ msgid ""
743756
"The field type must be a :mod:`ctypes` type like :class:`c_int`, or any "
744757
"other derived :mod:`ctypes` type: structure, union, array, pointer."
745758
msgstr""
759+
"O tipo do campo deve ser um tipo :mod:`ctypes` como :class:`c_int`, ou "
760+
"qualquer outro tipo :mod:`ctypes` derivado: estrutura, união, vetor, "
761+
"ponteiro."
746762

747763
#:../../library/ctypes.rst:576
748764
msgid""
749765
"Here is a simple example of a POINT structure, which contains two integers "
750766
"named *x* and *y*, and also shows how to initialize a structure in the "
751767
"constructor::"
752768
msgstr""
769+
"Aqui está um exemplo simples de uma estrutura POINT, que contém dois "
770+
"inteiros nomeados *x* e *y*, e também mostra como inicializar uma estrutura "
771+
"no construtor::"
753772

754773
#:../../library/ctypes.rst:596
755774
msgid""
756775
"You can, however, build much more complicated structures. A structure can "
757776
"itself contain other structures by using a structure as a field type."
758777
msgstr""
778+
"Você pode, no entanto, construir estruturas muito mais complicadas. Uma "
779+
"estrutura pode conter outras estruturas, usando uma estrutura como um tipo "
780+
"de campo."
759781

760782
#:../../library/ctypes.rst:599
761783
msgid""
762784
"Here is a RECT structure which contains two POINTs named *upperleft* and "
763785
"*lowerright*::"
764786
msgstr""
787+
"Aqui está uma estrutura RECT que contém dois POINTs nomeados *upperleft* e "
788+
"*lowerright*::"
765789

766790
#:../../library/ctypes.rst:613
767791
msgid""

‎potodo.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 63.40% done
2-
└── 3.11/ 63.40% done
1+
1 directory 63.42% done
2+
└── 3.11/ 63.42% done
33
├── distutils/ 25.81% done
44
│ ├── apiref.po 88 / 414 ( 21.0% translated)
55
│ ├── builtdist.po 51 / 128 ( 39.0% translated)
@@ -22,7 +22,7 @@
2222
│ ├── executionmodel.po 73 / 75 ( 97.0% translated)
2323
│ ├── import.po 192 / 207 ( 92.0% translated)
2424
│ └── lexical_analysis.po 288 / 299 ( 96.0% translated)
25-
├── library/ 56.54% done
25+
├── library/ 56.57% done
2626
│ ├──_thread.po 49 / 51 ( 96.0% translated)
2727
│ ├── abc.po 48 / 49 ( 97.0% translated)
2828
│ ├── argparse.po 305 / 335 ( 91.0% translated)
@@ -56,7 +56,7 @@
5656
│ ├── configparser.po 178 / 186 ( 95.0% translated)
5757
│ ├── contextlib.po 42 / 130 ( 32.0% translated)
5858
│ ├── crypt.po 7 / 35 ( 20.0% translated)
59-
│ ├── ctypes.po120 / 436 (27.0% translated)
59+
│ ├── ctypes.po127 / 436 (29.0% translated)
6060
│ ├── curses.ascii.po 68 / 69 ( 98.0% translated)
6161
│ ├── curses.panel.po 22 / 23 ( 95.0% translated)
6262
│ ├── curses.po 64 / 485 ( 13.0% translated)

‎stats.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion":"63.4%","translated":38767,"entries":55813,"updated_at":"2025-11-05T23:50:40+00:00Z"}
1+
{"completion":"63.42%","translated":38774,"entries":55813,"updated_at":"2025-11-06T23:50:33+00:00Z"}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp