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

Commit7e5a9ce

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>Co-Authored-By: python-doc botCo-Authored-By: Rainer TerrosoCo-Authored-By: Marcos Moraes
1 parent1a7970c commit7e5a9ce

File tree

7 files changed

+82
-39
lines changed

7 files changed

+82
-39
lines changed

‎distutils/builtdist.po‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#,fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version:Python 3.10\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
15+
"POT-Creation-Date:2025-11-13 17:25+0000\n"
1516
"PO-Revision-Date:2025-09-22 15:57+0000\n"
16-
"Last-Translator:python-doc bot, 2025\n"
17+
"Last-Translator:Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language:pt_BR\n"
@@ -494,7 +495,7 @@ msgstr "``packager``"
494495
#:../../distutils/builtdist.rst:236../../distutils/builtdist.rst:238
495496
#:../../distutils/builtdist.rst:240../../distutils/builtdist.rst:242
496497
msgid"(none)"
497-
msgstr""
498+
msgstr"(nenhuma)"
498499

499500
#:../../distutils/builtdist.rst:230
500501
msgid"Provides"

‎extending/newtypes_tutorial.po‎

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.10\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-11-09 17:15+0000\n"
15+
"POT-Creation-Date:2025-11-13 17:25+0000\n"
1616
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1717
"Last-Translator:Rainer Terroso, 2025\n"
1818
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -36,11 +36,12 @@ msgid ""
3636
"pattern, but there are some details that you need to understand before you "
3737
"can get started. This document is a gentle introduction to the topic."
3838
msgstr""
39-
"O Python permite que o gravador de um módulo de extensão C defina novos "
40-
"tipos que podem ser manipulados a partir do código Python, da mesma forma "
41-
"que os tipos embutidos :class:`str` e :class:`list`. O código para todos os "
42-
"tipos de extensão segue um padrão, mas há alguns detalhes que você precisa "
43-
"entender antes de começar. Este documento é uma introdução suave ao tópico."
39+
"O Python permite que o desenvolvedor de um módulo de extensão em C defina "
40+
"novos tipos que podem ser manipulados a partir do código Python, da mesma "
41+
"forma que os tipos embutidos :class:`str` e :class:`list`. O código para de "
42+
"todos tipos de extensão segue um padrão, mas há alguns detalhes que você "
43+
"precisa entender antes de começar. Este documento é uma introdução suave ao "
44+
"tópico."
4445

4546
#:../../extending/newtypes_tutorial.rst:24
4647
msgid"The Basics"
@@ -57,15 +58,14 @@ msgid ""
5758
"an object, a method called, or it is multiplied by another object. These C "
5859
"functions are called\"type methods\"."
5960
msgstr""
60-
"O tempo de execução do :term:`CPython` considera todos os objetos Python "
61-
"como variáveis do tipo :c:expr:`PyObject*`, que serve como um\"tipo base\" "
62-
"para todos os objetos Python. A própria estrutura :c:type:`PyObject` contém "
63-
"apenas a :term:`contagem de referências` do objeto e um ponteiro para o "
64-
"\"objeto de tipo\" do objeto. É aqui que ocorre a ação; o objeto de tipo "
65-
"determina quais funções (C) são chamadas pelo interpretador quando, por "
66-
"exemplo, um atributo é consultado em um objeto, um método é chamado ou é "
67-
"multiplicado por outro objeto. Essas funções C são chamadas de\"métodos de "
68-
"tipo\"."
61+
"O tempo de execução do :term:CPython trata todos os objetos Python como "
62+
"variáveis do tipo :c:expr:`PyObject*`, que funciona como um “tipo base” para "
63+
"todos os objetos Python. A estrutura :c:type:`PyObject`em si contém apenas "
64+
"a :term:`contagem de referências` do objeto e um ponteiro para o “objeto de "
65+
"tipo” correspondente. É nesse objeto de tipo que tudo acontece: ele "
66+
"determina quais funções em C o interpretador chama quando, por exemplo, um "
67+
"atributo é acessado em um objeto, um método é chamado ou o objeto é "
68+
"multiplicado por outro. Essas funções em C são chamadas de “métodos de tipo”."
6969

7070
#:../../extending/newtypes_tutorial.rst:35
7171
msgid""
@@ -99,8 +99,9 @@ msgid ""
9999
"Now that's quite a bit to take in at once, but hopefully bits will seem "
100100
"familiar from the previous chapter. This file defines three things:"
101101
msgstr""
102-
"Isso é bastante para ser absorvido de uma só vez, mas esperamos que os bits "
103-
"pareçam familiares no capítulo anterior. Este arquivo define três coisas:"
102+
"Isso é bastante informação para assimilar de uma só vez, mas algumas partes "
103+
"devem parecer familiares pelo que foi visto no capítulo anterior. Este "
104+
"arquivo define três elementos:"
104105

105106
#:../../extending/newtypes_tutorial.rst:53
106107
msgid""
@@ -174,6 +175,10 @@ msgid ""
174175
"listing all the :c:type:`PyTypeObject` fields that you don't care about and "
175176
"also to avoid caring about the fields' declaration order."
176177
msgstr""
178+
"Recomendamos usar inicializadores nomeados no estilo C99, como mostrado "
179+
"acima, para evitar listar todos os campos de :c:type:`PyTypeObject` com os "
180+
"quais você não precisa se preocupar e também para não depender da ordem de "
181+
"declaração desses campos"
177182

178183
#:../../extending/newtypes_tutorial.rst:105
179184
msgid""
@@ -182,6 +187,10 @@ msgid ""
182187
"fields will be filled with zeros by the C compiler, and it's common practice "
183188
"to not specify them explicitly unless you need them."
184189
msgstr""
190+
"A definição real de :c:type:`PyTypeObject` no :file:`object.h` possui muito "
191+
"mais ref:`fields <type-structs> do que a definição acima. Os campos "
192+
"restantes serão preenchidos com zeros pelo compilador C, e é prática comum "
193+
"não especificá-los explicitamente, a menos que sejam necessários."
185194

186195
#:../../extending/newtypes_tutorial.rst:110
187196
msgid"We're going to pick it apart, one field at a time::"
@@ -192,12 +201,16 @@ msgid ""
192201
"This line is mandatory boilerplate to initialize the ``ob_base`` field "
193202
"mentioned above. ::"
194203
msgstr""
204+
"Essa linha é um boilerplate obrigatório para inicializar o campo ``ob_base`` "
205+
"mencionado acima. ::"
195206

196207
#:../../extending/newtypes_tutorial.rst:119
197208
msgid""
198209
"The name of our type. This will appear in the default textual "
199210
"representation of our objects and in some error messages, for example:"
200211
msgstr""
212+
"O nome do nosso tipo. Ele aparecerá na representação textual padrão do "
213+
"nosso objeto e em algumas mensagens erro, por exemplo:"
201214

202215
#:../../extending/newtypes_tutorial.rst:129
203216
msgid""

‎howto/functional.po‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#,fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version:Python 3.10\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
15+
"POT-Creation-Date:2025-11-13 17:25+0000\n"
1516
"PO-Revision-Date:2025-09-22 15:57+0000\n"
16-
"Last-Translator:python-doc bot, 2025\n"
17+
"Last-Translator:Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language:pt_BR\n"
@@ -1087,6 +1088,11 @@ msgid ""
10871088
"truth value of some condition; for use with :func:`filter`, the predicate "
10881089
"must take a single value."
10891090
msgstr""
1091+
":func:`filter(predicate, iter) <filter>` retorna um iterador sobre todos os "
1092+
"elementos da sequência que atendem a uma determinada condição, e é "
1093+
"similarmente duplicada por compreensões de lista. Um **predicate** é uma "
1094+
"função que retorna o valor lógico de alguma condição; para uso com :func:"
1095+
"`filter`, o predicado deve receber um único valor."
10901096

10911097
#:../../howto/functional.rst:657
10921098
msgid"This can also be written as a list comprehension:"

‎library/ctypes.po‎

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.10\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-11-09 17:15+0000\n"
15+
"POT-Creation-Date:2025-11-13 17:25+0000\n"
1616
"PO-Revision-Date:2025-09-22 15:57+0000\n"
1717
"Last-Translator:Marcos Moraes, 2025\n"
1818
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1151,12 +1151,17 @@ msgid ""
11511151
"So our callback function receives pointers to integers, and must return an "
11521152
"integer. First we create the ``type`` for the callback function::"
11531153
msgstr""
1154+
"Então, nossa função de retorno (callback function) recebe ponteiros para "
1155+
"inteiros, e deve retornar um inteiro. Primeiro criamos o ``type`` para a "
1156+
"função de retorno::"
11541157

11551158
#:../../library/ctypes.rst:1001
11561159
msgid""
11571160
"To get started, here is a simple callback that shows the values it gets "
11581161
"passed::"
11591162
msgstr""
1163+
"Para começar, aqui está uma função de retorno (callback) simples que mostra "
1164+
"os valores que lhe são passados::"
11601165

11611166
#:../../library/ctypes.rst:1011
11621167
msgid"The result::"
@@ -1165,10 +1170,11 @@ msgstr "O resultado::"
11651170
#:../../library/ctypes.rst:1021
11661171
msgid"Now we can actually compare the two items and return a useful result::"
11671172
msgstr""
1173+
"Agora podemos realmente comparar os dois itens e retornar um resultado útil::"
11681174

11691175
#:../../library/ctypes.rst:1036
11701176
msgid"As we can easily check, our array is sorted now::"
1171-
msgstr""
1177+
msgstr"Como podemos verificar facilmente, nosso vetor está ordenado agora::"
11721178

11731179
#:../../library/ctypes.rst:1043
11741180
msgid""
@@ -1387,6 +1393,8 @@ msgstr "Tipos de dados de tamanho variável"
13871393
msgid""
13881394
":mod:`ctypes` provides some support for variable-sized arrays and structures."
13891395
msgstr""
1396+
"O :mod:`ctypes` fornece algum suporte para vetores e estruturas de tamanhos "
1397+
"variável."
13901398

13911399
#:../../library/ctypes.rst:1222
13921400
msgid""
@@ -1396,34 +1404,49 @@ msgid ""
13961404
"cannot be made smaller than the natural memory block specified by the "
13971405
"objects type, a :exc:`ValueError` is raised if this is tried::"
13981406
msgstr""
1407+
"A função :func:`resize` pode ser usada para redimensionar o buffer de "
1408+
"memória de um objeto ctypes existente. A função recebe o objeto como "
1409+
"primeiro argumento, e o tamanho solicitado em bytes como o segundo "
1410+
"argumento. O bloco de memória não pode ser tornado menor do que o bloco de "
1411+
"memória natural especificado pelo tipo do objeto, um :exc:`ValueError` é "
1412+
"levantado se isso for tentado::"
13991413

14001414
#:../../library/ctypes.rst:1242
14011415
msgid""
14021416
"This is nice and fine, but how would one access the additional elements "
14031417
"contained in this array? Since the type still only knows about 4 elements, "
14041418
"we get errors accessing other elements::"
14051419
msgstr""
1420+
"Isso é bom e funcional, mas como alguém acessaria os elementos contidos "
1421+
"neste vetor? Já que o tipo ainda sabe apenas sobre 4 elementos, obtemos "
1422+
"erros ao acessar outros elementos::"
14061423

14071424
#:../../library/ctypes.rst:1254
14081425
msgid""
14091426
"Another way to use variable-sized data types with :mod:`ctypes` is to use "
14101427
"the dynamic nature of Python, and (re-)define the data type after the "
14111428
"required size is already known, on a case by case basis."
14121429
msgstr""
1430+
"Outra maneira de usar tipos de dados de tamanho variável com o :mod:`ctypes` "
1431+
"é usar a natureza dinâmica do Python, e (re)definir o tipo de dados depois "
1432+
"que o tamanho necessário já for conhecido, caso a caso."
14131433

14141434
#:../../library/ctypes.rst:1262
14151435
msgid"ctypes reference"
14161436
msgstr"Referência ctypes"
14171437

14181438
#:../../library/ctypes.rst:1268
14191439
msgid"Finding shared libraries"
1420-
msgstr""
1440+
msgstr"Encontrando bibliotecas compartilhadas"
14211441

14221442
#:../../library/ctypes.rst:1270
14231443
msgid""
14241444
"When programming in a compiled language, shared libraries are accessed when "
14251445
"compiling/linking a program, and when the program is run."
14261446
msgstr""
1447+
"Ao programar em uma linguagem compilada, bibliotecas compartilhadas são "
1448+
"acessadas ao compilar/linkar (compiling/linking) um programa, e quando o "
1449+
"programa é executado."
14271450

14281451
#:../../library/ctypes.rst:1273
14291452
msgid""

‎library/turtle.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.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-22 21:19+0000\n"
14+
"POT-Creation-Date:2025-11-01 17:13+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:58+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2805,15 +2805,15 @@ msgstr "coordenadas mundiais"
28052805

28062806
#:../../library/turtle.rst:2419
28072807
msgid"clock"
2808-
msgstr"clock"
2808+
msgstr"relógio"
28092809

28102810
#:../../library/turtle.rst:2419
28112811
msgid"analog clock showing time of your computer"
28122812
msgstr"Relógio analógico que mostra o horário do seu computador"
28132813

28142814
#:../../library/turtle.rst:2419
28152815
msgid"turtles as clock's hands, ontimer"
2816-
msgstr"tartarugas comoponteiros de relógio, ontimer"
2816+
msgstr"tartarugas comoas mãos do relógio, ontimer"
28172817

28182818
#:../../library/turtle.rst:2422
28192819
msgid"colormixer"

‎potodo.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
1 directory 59.70% done
2-
└── 3.10/ 59.70% done
3-
├── distutils/ 25.78% done
1+
1 directory 59.73% done
2+
└── 3.10/ 59.73% done
3+
├── distutils/ 25.79% done
44
│ ├── apiref.po 88 / 417 ( 21.0% translated)
5-
│ ├── builtdist.po52 / 131 (39.0% translated)
5+
│ ├── builtdist.po53 / 131 (40.0% translated)
66
│ ├── setupscript.po 66 / 174 ( 37.0% translated)
77
│ └── sourcedist.po 27 / 74 ( 36.0% translated)
88
├── installing/ 100.00% done
@@ -24,7 +24,7 @@
2424
│ ├── expressions.po 303 / 332 ( 91.0% translated)
2525
│ ├── import.po 165 / 184 ( 89.0% translated)
2626
│ └── lexical_analysis.po 185 / 195 ( 94.0% translated)
27-
├── library/ 54.28% done
27+
├── library/ 54.32% done
2828
│ ├──_thread.po 39 / 41 ( 95.0% translated)
2929
│ ├── argparse.po 256 / 290 ( 88.0% translated)
3030
│ ├── array.po 81 / 82 ( 98.0% translated)
@@ -62,7 +62,7 @@
6262
│ ├── contextlib.po 39 / 125 ( 31.0% translated)
6363
│ ├── copyreg.po 8 / 9 ( 88.0% translated)
6464
│ ├── crypt.po 3 / 30 ( 10.0% translated)
65-
│ ├── ctypes.po174 / 434 (40.0% translated)
65+
│ ├── ctypes.po184 / 434 (42.0% translated)
6666
│ ├── curses.ascii.po 101 / 102 ( 99.0% translated)
6767
│ ├── curses.panel.po 22 / 23 ( 95.0% translated)
6868
│ ├── curses.po 231 / 639 ( 36.0% translated)
@@ -214,12 +214,12 @@
214214
│ ├── zipimport.po 34 / 38 ( 89.0% translated)
215215
│ ├── zlib.po 62 / 64 ( 96.0% translated)
216216
│ └── zoneinfo.po 32 / 73 ( 43.0% translated)
217-
├── howto/ 52.29% done
217+
├── howto/ 52.37% done
218218
│ ├── annotations.po 44 / 45 ( 97.0% translated)
219219
│ ├── clinic.po 101 / 424 ( 23.0% translated)
220220
│ ├── curses.po 100 / 105 ( 95.0% translated)
221221
│ ├── descriptor.po 115 / 175 ( 65.0% translated)
222-
│ ├── functional.po145 / 206 ( 70.0% translated)
222+
│ ├── functional.po146 / 206 ( 70.0% translated)
223223
│ ├── instrumentation.po 55 / 59 ( 93.0% translated)
224224
│ ├── logging-cookbook.po 36 / 306 ( 11.0% translated)
225225
│ ├── logging.po 211 / 221 ( 95.0% translated)
@@ -232,11 +232,11 @@
232232
│ └── index.po 168 / 226 ( 74.0% translated)
233233
├── tutorial/ 99.78% done
234234
│ └── classes.po 114 / 115 ( 99.0% translated)
235-
├── extending/27.91% done
235+
├── extending/28.55% done
236236
│ ├── embedding.po 5 / 45 ( 11.0% translated)
237237
│ ├── extending.po 58 / 158 ( 36.0% translated)
238238
│ ├── newtypes.po 7 / 89 ( 7.0% translated)
239-
│ └── newtypes_tutorial.po33 / 123 (26.0% translated)
239+
│ └── newtypes_tutorial.po37 / 123 (30.0% translated)
240240
├── whatsnew/ 67.49% done
241241
│ ├── 2.0.po 137 / 182 ( 75.0% translated)
242242
│ ├── 2.2.po 139 / 192 ( 72.0% translated)

‎stats.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion":"59.7%","translated":34368,"entries":51677,"updated_at":"2025-11-12T00:32:05+00:00Z"}
1+
{"completion":"59.73%","translated":34384,"entries":51677,"updated_at":"2025-11-14T00:30:07+00:00Z"}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp