Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f74cb5c

Browse files
Update translations
1 parent 360f8b0 commit f74cb5c

File tree

6 files changed

+89
-16
lines changed

6 files changed

+89
-16
lines changed

c-api/sequence.po

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2023
8+
# Jones Martins, 2024
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.8\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-31 13:50+0000\n"
15+
"POT-Creation-Date: 2024-10-04 17:06+0000\n"
1516
"PO-Revision-Date: 2020-05-30 11:50+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
17+
"Last-Translator: Jones Martins, 2024\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"MIME-Version: 1.0\n"
@@ -153,26 +154,37 @@ msgid ""
153154
"number of keys for which ``o[key] == value``. On failure, return ``-1``. "
154155
"This is equivalent to the Python expression ``o.count(value)``."
155156
msgstr ""
157+
"Retorna a quantidade de ocorrências de *value* em *o*, isto é, retorna a "
158+
"quantidade de chaves onde ``o[key] == value``. Em caso de falha, retorna "
159+
"``-1``. Isso equivale à expressão Python ``o.count(value)``."
156160

157161
#: ../../c-api/sequence.rst:103
158162
msgid ""
159163
"Determine if *o* contains *value*. If an item in *o* is equal to *value*, "
160164
"return ``1``, otherwise return ``0``. On error, return ``-1``. This is "
161165
"equivalent to the Python expression ``value in o``."
162166
msgstr ""
167+
"Determina se *o* contém *value*. Se um item em *o* for igual a *value*, "
168+
"retorna ``1``, senão, retorna ``0``. Em caso de erro, retorna ``-1``. Isso "
169+
"equivale à expressão Python ``value in o``."
163170

164171
#: ../../c-api/sequence.rst:110
165172
msgid ""
166173
"Return the first index *i* for which ``o[i] == value``. On error, return "
167174
"``-1``. This is equivalent to the Python expression ``o.index(value)``."
168175
msgstr ""
176+
"Retorna o primeiro índice *i* tal que ``o[i] == value``. Em caso de erro, "
177+
"retorna ``-1``. Isso equivale à expressão Python ``o.index(value)``."
169178

170179
#: ../../c-api/sequence.rst:116
171180
msgid ""
172181
"Return a list object with the same contents as the sequence or iterable *o*, "
173182
"or ``NULL`` on failure. The returned list is guaranteed to be new. This is "
174183
"equivalent to the Python expression ``list(o)``."
175184
msgstr ""
185+
"Retorna um objeto lista com o mesmo conteúdo da sequência ou iterável *o*, "
186+
"ou ``NULL`` em caso de falha. Garante-se que a lista retornada será nova. "
187+
"Isso equivale à expressão Python ``list(o)``."
176188

177189
#: ../../c-api/sequence.rst:125
178190
msgid ""
@@ -181,6 +193,10 @@ msgid ""
181193
"returned, otherwise a tuple will be constructed with the appropriate "
182194
"contents. This is equivalent to the Python expression ``tuple(o)``."
183195
msgstr ""
196+
"Retorna o objeto tupla com o mesmo conteúdo da sequência ou iterável *o*, ou "
197+
"``NULL``em caso de falha. Se *o* for uma tupla, retorna uma nova referência. "
198+
"Senão, uma tupla será construída com o conteúdo apropriado. Isso equivale à "
199+
"expressão Python ``tuple(o)``."
184200

185201
#: ../../c-api/sequence.rst:133
186202
msgid ""
@@ -189,19 +205,28 @@ msgid ""
189205
"iterable, raises :exc:`TypeError` with *m* as the message text. Returns "
190206
"``NULL`` on failure."
191207
msgstr ""
208+
"Retorna a sequência ou iterável *o* como um objeto usável por outras funções "
209+
"da família ``PySequence_Fast*``. Se o objeto não for uma sequência ou "
210+
"iterável, levanta :exc:`TypeError` com *m* sendo o texto da mensagem. "
211+
"Retorna ``NULL`` em caso de falha. "
192212

193213
#: ../../c-api/sequence.rst:138
194214
msgid ""
195215
"The ``PySequence_Fast*`` functions are thus named because they assume *o* is "
196216
"a :c:type:`PyTupleObject` or a :c:type:`PyListObject` and access the data "
197217
"fields of *o* directly."
198218
msgstr ""
219+
"As funções ``PySequence_Fast*`` têm esse nome porque supõem que *o* é um :c:"
220+
"type:`PyTupleObject` ou um :c:type:`PyListObject` e porque acessam os campos "
221+
"de dados de *o* diretamente."
199222

200223
#: ../../c-api/sequence.rst:142
201224
msgid ""
202225
"As a CPython implementation detail, if *o* is already a sequence or list, it "
203226
"will be returned."
204227
msgstr ""
228+
"Como detalhe de implementação de CPython, se *o* já for uma sequência ou "
229+
"lista, ele será retornado."
205230

206231
#: ../../c-api/sequence.rst:148
207232
msgid ""
@@ -217,19 +242,27 @@ msgid ""
217242
"Return the *i*\\ th element of *o*, assuming that *o* was returned by :c:"
218243
"func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within bounds."
219244
msgstr ""
245+
"Retorna o elemento *i* de *o*, presumindo que *o* foi retornado por :c:func:"
246+
"`PySequence_Fast`, que *o* não seja ``NULL``, e que *i* esteja dentro dos "
247+
"limites."
220248

221249
#: ../../c-api/sequence.rst:163
222250
msgid ""
223251
"Return the underlying array of PyObject pointers. Assumes that *o* was "
224252
"returned by :c:func:`PySequence_Fast` and *o* is not ``NULL``."
225253
msgstr ""
254+
"Retorna o vetor subjacente de ponteiros PyObject. Presume que *o* foi "
255+
"retornado por :c:func:`PySequence_Fast` e *o* não é ``NULL``."
226256

227257
#: ../../c-api/sequence.rst:166
228258
msgid ""
229259
"Note, if a list gets resized, the reallocation may relocate the items array. "
230260
"So, only use the underlying array pointer in contexts where the sequence "
231261
"cannot change."
232262
msgstr ""
263+
"Note que, se uma lista for redimensionada, a realocação poderá reposicionar "
264+
"o vetor de itens. Portanto, só use o ponteiro de vetor subjacente em "
265+
"contextos onde a sequência não mudará."
233266

234267
#: ../../c-api/sequence.rst:173
235268
msgid ""
@@ -238,3 +271,6 @@ msgid ""
238271
"`PySequence_Check` on *o* is true and without adjustment for negative "
239272
"indices."
240273
msgstr ""
274+
"Retorna o elemento *i* de *o*, ou ``NULL`` em caso de falha. É uma forma "
275+
"mais rápida de :c:func:`PySequence_GetItem`, mas sem verificar se :c:func:"
276+
"`PySequence_Check` em *o* é verdadeiro e sem ajustar índices negativos."

extending/embedding.po

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
# Translators:
77
# Marco Rougeth <[email protected]>, 2020
88
# Claudio Rogerio Carvalho Filho <[email protected]>, 2020
9+
# elielmartinsbr, 2024
910
#
1011
#, fuzzy
1112
msgid ""
1213
msgstr ""
1314
"Project-Id-Version: Python 3.8\n"
1415
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-08-31 13:50+0000\n"
16+
"POT-Creation-Date: 2024-10-04 17:06+0000\n"
1617
"PO-Revision-Date: 2020-05-30 11:53+0000\n"
17-
"Last-Translator: Claudio Rogerio Carvalho Filho <[email protected]>, "
18-
"2020\n"
18+
"Last-Translator: elielmartinsbr, 2024\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2020
"teams/5390/pt_BR/)\n"
2121
"MIME-Version: 1.0\n"
@@ -41,6 +41,15 @@ msgid ""
4141
"writing some scripts in Python. You can also use it yourself if some of the "
4242
"functionality can be written in Python more easily."
4343
msgstr ""
44+
"Os capítulos anteriores discutiram como estender o Python, ou seja, como "
45+
"expandir a funcionalidade do Python anexando uma biblioteca de funções em C "
46+
"a ele. Também é possível fazer o inverso: enriquecer sua aplicação em C/C++ "
47+
"incorporando o Python nela. A incorporação fornece à sua aplicação a "
48+
"capacidade de implementar parte da funcionalidade da aplicação em Python em "
49+
"vez de C ou C++. Isso pode ser usado para diversos propósitos; um exemplo "
50+
"seria permitir que os usuários personalizem a aplicação de acordo com suas "
51+
"necessidades escrevendo alguns scripts em Python. Você também pode usá-la se "
52+
"parte da funcionalidade puder ser escrita em Python mais facilmente."
4453

4554
#: ../../extending/embedding.rst:20
4655
msgid ""
@@ -50,6 +59,12 @@ msgid ""
5059
"nothing to do with Python --- instead, some parts of the application "
5160
"occasionally call the Python interpreter to run some Python code."
5261
msgstr ""
62+
"Incorporar o Python é semelhante a estendê-lo, mas não exatamente. A "
63+
"diferença é que, ao estender o Python, o programa principal da aplicação "
64+
"ainda é o interpretador Python, enquanto que, se você incorporar o Python, o "
65+
"programa principal pode não ter nada a ver com o Python — em vez disso, "
66+
"algumas partes da aplicação chamam ocasionalmente o interpretador Python "
67+
"para executar algum código Python."
5368

5469
#: ../../extending/embedding.rst:26
5570
msgid ""

faq/extending.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ msgid ""
228228
"To call, e.g., a file object's \"seek\" method with arguments 10, 0 "
229229
"(assuming the file object pointer is \"f\")::"
230230
msgstr ""
231+
"Para chamar, por exemplo, o método \"seek\" de um objeto de arquivo com "
232+
"argumentos 10, 0 (presuminod que \"f\" é o ponteiro para o objeto de "
233+
"arquivo)::"
231234

232235
#: ../../faq/extending.rst:135
233236
msgid ""
@@ -236,6 +239,10 @@ msgid ""
236239
"format, and to call a function with one argument, surround the argument in "
237240
"parentheses, e.g. \"(i)\"."
238241
msgstr ""
242+
"Note que a função :c:func:`PyObject_CallObject` *sempre* recebe os "
243+
"argumentos da chamada como uma tupla, de forma que para chamar uma função "
244+
"sem argumentos deve-se passar \"()\" como formato, e para chamar uma função "
245+
"com 1 argumento, coloque-o entre parênteses, por exemplo \"(i)\"."
239246

240247
#: ../../faq/extending.rst:142
241248
msgid ""

library/subprocess.po

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
# i17obot <[email protected]>, 2021
1313
# Augusta Carla Klug <[email protected]>, 2021
1414
# Rafael Fontenelle <[email protected]>, 2024
15+
# elielmartinsbr, 2024
1516
#
1617
#, fuzzy
1718
msgid ""
1819
msgstr ""
1920
"Project-Id-Version: Python 3.8\n"
2021
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2024-08-31 13:50+0000\n"
22+
"POT-Creation-Date: 2024-10-04 17:06+0000\n"
2223
"PO-Revision-Date: 2020-05-30 12:10+0000\n"
23-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
24+
"Last-Translator: elielmartinsbr, 2024\n"
2425
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2526
"teams/5390/pt_BR/)\n"
2627
"MIME-Version: 1.0\n"
@@ -648,13 +649,19 @@ msgid ""
648649
"*args* parameter accepts a :term:`path-like object` if *shell* is ``False`` "
649650
"and a sequence containing bytes and path-like objects on Windows."
650651
msgstr ""
652+
"O parâmetro *args* aceita um :term:`objeto caminho ou similar` se *shell* "
653+
"for ``False`` e uma sequência contendo bytes e objetos caminho ou similar no "
654+
"Windows."
651655

652656
#: ../../library/subprocess.rst:408
653657
msgid ""
654658
"The *shell* argument (which defaults to ``False``) specifies whether to use "
655659
"the shell as the program to execute. If *shell* is ``True``, it is "
656660
"recommended to pass *args* as a string rather than as a sequence."
657661
msgstr ""
662+
"O argumento *shell* (que por padrão é ``False``) especifica se deve usar o "
663+
"shell como o programa a ser executado. Se *shell* for ``True``, é "
664+
"recomendado passar *args* como uma string em vez de uma sequência."
658665

659666
#: ../../library/subprocess.rst:412
660667
msgid ""
@@ -667,6 +674,14 @@ msgid ""
667674
"be treated as additional arguments to the shell itself. That is to say, :"
668675
"class:`Popen` does the equivalent of::"
669676
msgstr ""
677+
"Em POSIX com ``shell=True``, o *shell* padrão é :file:`/bin/sh`. Se *args* "
678+
"for uma string, a *string* especifica o comando a ser executado através do "
679+
"*shell*. Isso significa que a *string* deve ser formatada exatamente como "
680+
"seria ao ser digitada no prompt do *shell*. Isso inclui, por exemplo, citar "
681+
"ou escapar com barra invertida nomes de arquivos que contenham espaços. Se "
682+
"*args* for uma sequência, o primeiro item especifica a *string* do comando, "
683+
"e quaisquer itens adicionais serão tratados como argumentos adicionais para "
684+
"o próprio *shell*. Ou seja, :class:`Popen` faz o equivalente a:"
670685

671686
#: ../../library/subprocess.rst:423
672687
msgid ""

potodo.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# c-api (45.34% done)
3+
# c-api (45.78% done)
44

55
- buffer.po 102 / 103 ( 99.0% translated).
66
- contextvars.po 30 / 31 ( 96.0% translated).
@@ -15,7 +15,7 @@
1515
- module.po 40 / 87 ( 45.0% translated).
1616
- number.po 8 / 41 ( 19.0% translated).
1717
- object.po 14 / 77 ( 18.0% translated).
18-
- sequence.po 14 / 27 ( 51.0% translated).
18+
- sequence.po 26 / 27 ( 96.0% translated).
1919
- structures.po 49 / 112 ( 43.0% translated).
2020
- sys.po 20 / 69 ( 28.0% translated).
2121
- type.po 26 / 52 ( 50.0% translated).
@@ -32,18 +32,18 @@
3232
- sourcedist.po 27 / 72 ( 37.0% translated).
3333

3434

35-
# extending (13.19% done)
35+
# extending (13.67% done)
3636

37-
- embedding.po 2 / 45 ( 4.0% translated).
37+
- embedding.po 4 / 45 ( 8.0% translated).
3838
- extending.po 15 / 158 ( 9.0% translated).
3939
- newtypes.po 10 / 91 ( 10.0% translated).
4040
- newtypes_tutorial.po 28 / 123 ( 22.0% translated).
4141

4242

43-
# faq (78.29% done)
43+
# faq (78.58% done)
4444

4545
- design.po 119 / 139 ( 85.0% translated).
46-
- extending.po 22 / 60 ( 36.0% translated).
46+
- extending.po 24 / 60 ( 40.0% translated).
4747
- library.po 131 / 142 ( 92.0% translated).
4848
- programming.po 269 / 350 ( 76.0% translated).
4949

@@ -70,7 +70,7 @@
7070
- index.po 173 / 225 ( 76.0% translated).
7171

7272

73-
# library (42.64% done)
73+
# library (42.65% done)
7474

7575
- argparse.po 181 / 277 ( 65.0% translated).
7676
- array.po 82 / 83 ( 98.0% translated).
@@ -210,7 +210,7 @@
210210
- stat.po 75 / 81 ( 92.0% translated).
211211
- stringprep.po 1 / 25 ( 4.0% translated).
212212
- struct.po 83 / 150 ( 55.0% translated).
213-
- subprocess.po 123 / 263 ( 46.0% translated).
213+
- subprocess.po 126 / 263 ( 47.0% translated).
214214
- sunau.po 69 / 70 ( 98.0% translated).
215215
- symtable.po 3 / 45 ( 6.0% translated).
216216
- sys.po 313 / 398 ( 78.0% translated).

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "58.68%", "total": 47814, "updated_at": "2024-10-22T00:38:17+00:00Z"}
1+
{"translation": "58.72%", "total": 47814, "updated_at": "2024-10-23T00:40:30+00:00Z"}

0 commit comments

Comments
 (0)