Skip to content

Commit a0795ba

Browse files
Update translations
1 parent 3b7ef4e commit a0795ba

File tree

10 files changed

+66
-23
lines changed

10 files changed

+66
-23
lines changed

c-api/code.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ msgid ""
296296
"the destruction of *co* takes place, so the prior state of *co* can be "
297297
"inspected."
298298
msgstr ""
299+
"Se *evento* é ``PY_CODE_EVENT_CREATE``, então a função de retorno é invocada "
300+
"após *co* ter sido completamente inicializado. Senão, a função de retorno é "
301+
"invocada antes que a destruição de *co* ocorra, para que o estado anterior "
302+
"de *co* possa ser inspecionado."
299303

300304
#: ../../c-api/code.rst:189
301305
msgid ""

extending/building.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ msgid ""
6969
"with ``<name>`` encoded using Python's *punycode* encoding with hyphens "
7070
"replaced by underscores. In Python::"
7171
msgstr ""
72+
"Para módulos com nomes com somente ASCII, a função deve ser nomeada :samp:"
73+
"`PyInit_{<nome>}`, com ``<nome>`` substituído pelo nome do módulo. Ao usar :"
74+
"ref:`multi-phase-initialization`, nomes de módulos não ASCII são permitidos. "
75+
"Neste caso, o nome da função de inicialização é :samp:`PyInitU_{<nome>}`, "
76+
"com ``<nome>`` codificado usando a codificação *punycode* do Python com "
77+
"hífenes substituídos por sublinhados. Em Python::"
7278

7379
#: ../../extending/building.rst:32
7480
msgid ""

extending/index.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ msgid ""
8181
"offer both simpler and more sophisticated approaches to creating C and C++ "
8282
"extensions for Python."
8383
msgstr ""
84+
"Este guia aborda apenas as ferramentas básicas para a criação de extensões "
85+
"fornecidas como parte desta versão do CPython. Algumas :ref:`ferramentas de "
86+
"terceiros <c-api-tools>` oferecem abordagens mais simples e mais "
87+
"sofisticadas para a criação de extensões em C e C++ para Python."
8488

8589
#: ../../extending/index.rst:35
8690
msgid "Creating extensions without third party tools"
@@ -100,7 +104,7 @@ msgstr ""
100104

101105
#: ../../extending/index.rst:44
102106
msgid ":pep:`489` -- Multi-phase extension module initialization"
103-
msgstr ""
107+
msgstr ":pep:`489` -- Inicialização de módulo extensão multifase"
104108

105109
#: ../../extending/index.rst:57
106110
msgid "Embedding the CPython runtime in a larger application"

howto/regex.po

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3091,6 +3091,13 @@ msgid ""
30913091
">>> print(re.match('<.*>', s).group())\n"
30923092
"<html><head><title>Title</title>"
30933093
msgstr ""
3094+
">>> s = '<html><head><title>Title</title>'\n"
3095+
">>> len(s)\n"
3096+
"32\n"
3097+
">>> print(re.match('<.*>', s).span())\n"
3098+
"(0, 32)\n"
3099+
">>> print(re.match('<.*>', s).group())\n"
3100+
"<html><head><title>Title</title>"
30943101

30953102
#: ../../howto/regex.rst:1323
30963103
msgid ""
@@ -3105,8 +3112,8 @@ msgstr ""
31053112
"string. Existe ainda mais coisa existente na RE, no entanto, e o ``>`` pode "
31063113
"não corresponder com o final da string, de modo que o mecanismo de expressão "
31073114
"regular tem que recuar caractere por caractere até encontrar uma "
3108-
"correspondência para a ``>``. A correspondência final se estende do ``'<'`` "
3109-
"em ``'<html>'`` ao ``'>'`` em ``'</title>'``, que não é o que você quer."
3115+
"correspondência para ``>``. A correspondência final se estende do ``'<'`` em "
3116+
"``'<html>'`` ao ``'>'`` em ``'</title>'``, que não é o que você quer."
31103117

31113118
#: ../../howto/regex.rst:1330
31123119
msgid ""
@@ -3128,6 +3135,8 @@ msgid ""
31283135
">>> print(re.match('<.*?>', s).group())\n"
31293136
"<html>"
31303137
msgstr ""
3138+
">>> print(re.match('<.*?>', s).group())\n"
3139+
"<html>"
31313140

31323141
#: ../../howto/regex.rst:1339
31333142
msgid ""

library/ast.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,11 @@ msgid ""
824824
"class:`complex`, and :class:`bool`, and the constants :data:`None` and :data:"
825825
"`Ellipsis`."
826826
msgstr ""
827+
"Um valor constante. O atributo ``value`` do literal ``Constant`` contém o "
828+
"objeto Python que ele representa. Os valores representados podem ser "
829+
"instâncias de :class:`str`, :class:`bytes`, :class:`int`, :class:`float`, :"
830+
"class:`complex` e :class:`bool`, e as constantes :data:`None` e :data:"
831+
"`Ellipsis`."
827832

828833
#: ../../library/ast.rst:279
829834
msgid ""

library/decimal.po

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ msgstr ""
217217

218218
#: ../../library/decimal.rst:125
219219
msgid "Quick-start tutorial"
220-
msgstr ""
220+
msgstr "Tutorial de início rápido"
221221

222222
#: ../../library/decimal.rst:127
223223
msgid ""
@@ -1975,30 +1975,40 @@ msgid ""
19751975
"An integer in the range [``1``, :const:`MAX_PREC`] that sets the precision "
19761976
"for arithmetic operations in the context."
19771977
msgstr ""
1978+
"Um inteiro no intervalo [``1``, :const:`MAX_PREC`] que define a precisão "
1979+
"para operações aritméticas no contexto."
19781980

19791981
#: ../../library/decimal.rst:1081
19801982
msgid "One of the constants listed in the section `Rounding Modes`_."
1981-
msgstr ""
1983+
msgstr "Uma das constantes listadas na seção `Modos de arredondamento`_."
19821984

19831985
#: ../../library/decimal.rst:1086
19841986
msgid ""
19851987
"Lists of any signals to be set. Generally, new contexts should only set "
19861988
"traps and leave the flags clear."
19871989
msgstr ""
1990+
"Listas de todos os sinais a serem configurados. Geralmente, novos contextos "
1991+
"devem apenas definir armadilhas e deixar os sinalizadores limpos."
19881992

19891993
#: ../../library/decimal.rst:1092
19901994
msgid ""
19911995
"Integers specifying the outer limits allowable for exponents. *Emin* must be "
19921996
"in the range [:const:`MIN_EMIN`, ``0``], *Emax* in the range [``0``, :const:"
19931997
"`MAX_EMAX`]."
19941998
msgstr ""
1999+
"Números inteiros que especificam os limites externos permitidos para "
2000+
"expoentes. *Emin* deve estar no intervalo [:const:`MIN_EMIN`, ``0``], *Emax* "
2001+
"no intervalo [``0``, :const:`MAX_EMAX`]."
19952002

19962003
#: ../../library/decimal.rst:1098
19972004
msgid ""
19982005
"Either ``0`` or ``1`` (the default). If set to ``1``, exponents are printed "
19992006
"with a capital ``E``; otherwise, a lowercase ``e`` is used: "
20002007
"``Decimal('6.02e+23')``."
20012008
msgstr ""
2009+
"Assume ``0`` ou ``1`` (o padrão). Se definido como ``1``, os expoentes serão "
2010+
"impressos com um ``E`` maiúsculo; caso contrário, um ``e`` minúscula é "
2011+
"usado: ``Decimal('6.02e+23')``."
20022012

20032013
#: ../../library/decimal.rst:1104
20042014
msgid ""
@@ -2012,6 +2022,16 @@ msgid ""
20122022
"exponent constraints; this preserves the value of the number but loses "
20132023
"information about significant trailing zeros. For example::"
20142024
msgstr ""
2025+
"Assume ``0`` (o padrão) ou ``1``. Se definido como ``1``, o expoente ``e`` "
2026+
"de uma instância de :class:`Decimal` representável nesse contexto é "
2027+
"estritamente limitado ao intervalo ``Emin - prec + 1 <= e <= Emax - prec + "
2028+
"1``. Se *clamp* for ``0``, uma condição mais fraca será mantida: o expoente "
2029+
"ajustado da instância de :class:`Decimal` é no máximo :attr:`~Context.Emax`. "
2030+
"Quando *clamp* é ``1``, um grande número normal terá, sempre que possível, "
2031+
"seu expoente reduzido e um número correspondente de zeros adicionado ao seu "
2032+
"coeficiente, para ajustar as restrições do expoente; isso preserva o valor "
2033+
"do número, mas perde informações sobre zeros à direita significativos. Por "
2034+
"exemplo::"
20152035

20162036
#: ../../library/decimal.rst:1115
20172037
msgid ""
@@ -2860,7 +2880,7 @@ msgstr ""
28602880

28612881
#: ../../library/decimal.rst:1759
28622882
msgid "Floating-point notes"
2863-
msgstr ""
2883+
msgstr "Observações sobre ponto flutuante"
28642884

28652885
#: ../../library/decimal.rst:1763
28662886
msgid "Mitigating round-off error with increased precision"

library/gzip.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-04-25 14:19+0000\n"
14+
"POT-Creation-Date: 2025-05-23 14:55+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -78,7 +78,7 @@ msgid ""
7878
"object`."
7979
msgstr ""
8080
"Abre um arquivo comprimido com gzip em modo binário ou texto, retornando :"
81-
"term:`file object`."
81+
"term:`objeto arquivo`."
8282

8383
#: ../../library/gzip.rst:34
8484
msgid ""

potodo.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44

55

66

7-
# c-api (54.44% done)
7+
# c-api (54.46% done)
88

99
- allocation.po 10 / 11 ( 90.0% translated).
10-
- code.po 58 / 59 ( 98.0% translated).
1110
- exceptions.po 194 / 370 ( 52.0% translated).
1211
- float.po 15 / 35 ( 42.0% translated).
1312
- frame.po 20 / 42 ( 47.0% translated).
@@ -38,12 +37,10 @@
3837

3938

4039

41-
# extending (15.21% done)
40+
# extending (15.70% done)
4241

43-
- building.po 9 / 10 ( 90.0% translated).
4442
- embedding.po 4 / 59 ( 6.0% translated).
4543
- extending.po 15 / 209 ( 7.0% translated).
46-
- index.po 9 / 11 ( 81.0% translated).
4744
- newtypes.po 8 / 117 ( 6.0% translated).
4845
- newtypes_tutorial.po 25 / 177 ( 14.0% translated).
4946

@@ -52,7 +49,7 @@
5249

5350

5451

55-
# howto (62.89% done)
52+
# howto (62.95% done)
5653

5754
- curses.po 58 / 121 ( 47.0% translated).
5855
- descriptor.po 187 / 230 ( 81.0% translated).
@@ -62,7 +59,7 @@
6259
- isolating-extensions.po 132 / 134 ( 98.0% translated).
6360
- logging-cookbook.po 40 / 421 ( 9.0% translated).
6461
- logging.po 121 / 250 ( 48.0% translated).
65-
- regex.po 328 / 332 ( 98.0% translated).
62+
- regex.po 330 / 332 ( 99.0% translated).
6663
- sockets.po 35 / 63 ( 55.0% translated).
6764
- sorting.po 46 / 75 ( 61.0% translated).
6865
- unicode.po 30 / 145 ( 20.0% translated).
@@ -73,10 +70,9 @@
7370

7471

7572

76-
# library (64.48% done)
73+
# library (64.50% done)
7774

7875
- array.po 84 / 86 ( 97.0% translated).
79-
- ast.po 317 / 318 ( 99.0% translated).
8076
- asyncio-dev.po 16 / 54 ( 29.0% translated).
8177
- asyncio-eventloop.po 308 / 409 ( 75.0% translated).
8278
- asyncio-future.po 9 / 64 ( 14.0% translated).
@@ -96,7 +92,6 @@
9692
- ctypes.po 104 / 530 ( 19.0% translated).
9793
- curses.po 66 / 486 ( 13.0% translated).
9894
- dataclasses.po 45 / 155 ( 29.0% translated).
99-
- decimal.po 370 / 378 ( 97.0% translated).
10095
- difflib.po 14 / 140 ( 10.0% translated).
10196
- dis.po 208 / 396 ( 52.0% translated).
10297
- doctest.po 88 / 376 ( 23.0% translated).
@@ -212,11 +207,11 @@
212207
- 3.13.po 879 / 882 ( 99.0% translated).
213208
- 3.2.po 65 / 576 ( 11.0% translated).
214209
- 3.3.po 137 / 682 ( 20.0% translated).
215-
- 3.5.po 125 / 578 ( 21.0% translated).
210+
- 3.5.po 126 / 578 ( 21.0% translated).
216211
- 3.6.po 237 / 544 ( 43.0% translated).
217212
- 3.7.po 252 / 568 ( 44.0% translated).
218213
- changelog.po 2446 / 12361 ( 19.0% translated).
219214

220215

221-
# TOTAL (61.47% done)
216+
# TOTAL (61.49% done)
222217

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "61.47%", "translated": 46727, "entries": 76022, "updated_at": "2025-05-31T23:30:32+00:00Z"}
1+
{"completion": "61.49%", "translated": 46743, "entries": 76022, "updated_at": "2025-06-02T23:30:53+00:00Z"}

whatsnew/3.5.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:16+0000\n"
14+
"POT-Creation-Date: 2025-05-23 14:55+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:10+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -986,7 +986,7 @@ msgstr ""
986986

987987
#: ../../whatsnew/3.5.rst:695
988988
msgid ":pep:`489` -- Multi-phase extension module initialization"
989-
msgstr ""
989+
msgstr ":pep:`489` -- Inicialização de módulo extensão multifase"
990990

991991
#: ../../whatsnew/3.5.rst:696
992992
msgid ""

0 commit comments

Comments
 (0)