Skip to content

Commit f58b12f

Browse files
Update translation
Co-Authored-By: Rainer Terroso Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent 3d80138 commit f58b12f

13 files changed

Lines changed: 215 additions & 52 deletions

File tree

c-api/bytes.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ msgstr "``%zd``"
188188

189189
#: ../../c-api/bytes.rst:84
190190
msgid ":c:type:` Py_ssize_t`"
191-
msgstr ""
191+
msgstr ":c:type:` Py_ssize_t`"
192192

193193
#: ../../c-api/bytes.rst:84
194194
msgid "Equivalent to ``printf(\"%zd\")``. [1]_"

howto/urllib2.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2025-12-01 14:16+0000\n"
1516
"PO-Revision-Date: 2025-09-16 00:00+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
"MIME-Version: 1.0\n"
@@ -41,7 +42,7 @@ msgstr "Introdução"
4142

4243
#: ../../howto/urllib2.rst:13
4344
msgid "Related Articles"
44-
msgstr ""
45+
msgstr "Artigos relacionados"
4546

4647
#: ../../howto/urllib2.rst:15
4748
msgid ""
@@ -56,6 +57,8 @@ msgid ""
5657
"`Basic Authentication <https://web.archive.org/web/20201215133350/http://www."
5758
"voidspace.org.uk/python/articles/authentication.shtml>`__"
5859
msgstr ""
60+
"`Autenticação Básica <https://web.archive.org/web/20201215133350/http://www."
61+
"voidspace.org.uk/python/articles/authentication.shtml>`__"
5962

6063
#: ../../howto/urllib2.rst:20
6164
msgid "A tutorial on *Basic Authentication*, with examples in Python."

library/asyncio-protocol.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+
# Rainer Terroso, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.14\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-16 17:23+0000\n"
15+
"POT-Creation-Date: 2025-12-01 14:16+0000\n"
1516
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rainer Terroso, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"MIME-Version: 1.0\n"
@@ -25,7 +26,7 @@ msgstr ""
2526

2627
#: ../../library/asyncio-protocol.rst:9
2728
msgid "Transports and Protocols"
28-
msgstr ""
29+
msgstr "Transports e Protocols"
2930

3031
#: ../../library/asyncio-protocol.rst:12
3132
msgid "Preface"

library/decimal.po

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3569,30 +3569,40 @@ msgid ""
35693569
"Q: It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way "
35703570
"to minimize typing when using the interactive interpreter?"
35713571
msgstr ""
3572+
"P: É complicado digitar ``decimal.Decimal('1234.5')``. Existe uma maneira de "
3573+
"minimizar a digitação ao usar o interpretador interativo?"
35723574

35733575
#: ../../library/decimal.rst:2106
35743576
msgid "A: Some users abbreviate the constructor to just a single letter:"
3575-
msgstr ""
3577+
msgstr "R: Alguns usuários abreviam o construtor para apenas uma única letra:"
35763578

35773579
#: ../../library/decimal.rst:2112
35783580
msgid ""
35793581
"Q: In a fixed-point application with two decimal places, some inputs have "
35803582
"many places and need to be rounded. Others are not supposed to have excess "
35813583
"digits and need to be validated. What methods should be used?"
35823584
msgstr ""
3585+
"P: Em uma aplicação de ponto fixo com duas casas decimais, algumas entradas "
3586+
"têm muitas casas e precisam ser arredondadas. Outros não devem ter dígitos "
3587+
"em excesso e precisam ser validados. Quais métodos devem ser usados?"
35833588

35843589
#: ../../library/decimal.rst:2116
35853590
msgid ""
35863591
"A: The :meth:`~Decimal.quantize` method rounds to a fixed number of decimal "
35873592
"places. If the :const:`Inexact` trap is set, it is also useful for "
35883593
"validation:"
35893594
msgstr ""
3595+
"R: O método :meth:`~Decimal.quantize` arredonda para um número fixo de casas "
3596+
"decimais. Se a armadilha :const:`Inexact` estiver configurada, também será "
3597+
"útil para validação:"
35903598

35913599
#: ../../library/decimal.rst:2134
35923600
msgid ""
35933601
"Q: Once I have valid two place inputs, how do I maintain that invariant "
35943602
"throughout an application?"
35953603
msgstr ""
3604+
"P: Assim que eu tiver entradas de duas casas válidas, como mantenho essa "
3605+
"invariante em uma aplicação?"
35963606

35973607
#: ../../library/decimal.rst:2137
35983608
msgid ""
@@ -3601,6 +3611,10 @@ msgid ""
36013611
"division and non-integer multiplication, will change the number of decimal "
36023612
"places and need to be followed-up with a :meth:`~Decimal.quantize` step:"
36033613
msgstr ""
3614+
"R: Algumas operações como adição, subtração e multiplicação por um número "
3615+
"inteiro preservam automaticamente o ponto fixo. Outras operações, como "
3616+
"divisão e multiplicação não inteira, alteram o número de casas decimais e "
3617+
"precisam ser seguidas com uma etapa :meth:`~Decimal.quantize`:"
36043618

36053619
#: ../../library/decimal.rst:2155
36063620
msgid ""
@@ -3617,16 +3631,22 @@ msgid ""
36173631
"precisions. Is there a way to transform them to a single recognizable "
36183632
"canonical value?"
36193633
msgstr ""
3634+
"P: Existem várias maneiras de expressar o mesmo valor. Os números ``200``, "
3635+
"``200.000``, ``2E2`` e ``.02E+4`` têm todos o mesmo valor em várias "
3636+
"precisões. Existe uma maneira de transformá-los em um único valor canônico "
3637+
"reconhecível?"
36203638

36213639
#: ../../library/decimal.rst:2174
36223640
msgid ""
36233641
"A: The :meth:`~Decimal.normalize` method maps all equivalent values to a "
36243642
"single representative:"
36253643
msgstr ""
3644+
"R: O método :meth:`~Decimal.normalize` mapeia todos os valores equivalentes "
3645+
"para um único representativo:"
36263646

36273647
#: ../../library/decimal.rst:2181
36283648
msgid "Q: When does rounding occur in a computation?"
3629-
msgstr ""
3649+
msgstr "P: Quando ocorre o arredondamento em um cálculo?"
36303650

36313651
#: ../../library/decimal.rst:2183
36323652
msgid ""
@@ -3637,6 +3657,11 @@ msgid ""
36373657
"rounding (or other context operations) is applied to the *result* of the "
36383658
"computation::"
36393659
msgstr ""
3660+
"R: Ocorre *após* o cálculo. A filosofia da especificação decimal é que os "
3661+
"números são considerados exatos e criados independentemente do contexto "
3662+
"atual. Eles podem até ter maior precisão do que o contexto atual. O processo "
3663+
"de cálculo com essas entradas exatas e, em seguida, o arredondamento (ou "
3664+
"outras operações de contexto) é aplicado ao *resultado* do cálculo::"
36403665

36413666
#: ../../library/decimal.rst:2190
36423667
msgid ""
@@ -3669,6 +3694,8 @@ msgid ""
36693694
"Q: Some decimal values always print with exponential notation. Is there a "
36703695
"way to get a non-exponential representation?"
36713696
msgstr ""
3697+
"P: Alguns valores decimais sempre são exibidas com notação exponencial. "
3698+
"Existe uma maneira de obter uma representação não exponencial?"
36723699

36733700
#: ../../library/decimal.rst:2204
36743701
msgid ""
@@ -3677,6 +3704,10 @@ msgid ""
36773704
"``5.0E+3`` as ``5000`` keeps the value constant but cannot show the "
36783705
"original's two-place significance."
36793706
msgstr ""
3707+
"R: Para alguns valores, a notação exponencial é a única maneira de expressar "
3708+
"o número de casas significativas no coeficiente. Por exemplo, expressar "
3709+
"``5.0E+3`` como ``5000`` mantém o valor constante, mas não pode mostrar a "
3710+
"significância de duas casa do original."
36803711

36813712
#: ../../library/decimal.rst:2209
36823713
msgid ""
@@ -3691,13 +3722,17 @@ msgstr ""
36913722
#: ../../library/decimal.rst:2219
36923723
msgid "Q: Is there a way to convert a regular float to a :class:`Decimal`?"
36933724
msgstr ""
3725+
"P: Existe uma maneira de converter um float comum em um :class:`Decimal`?"
36943726

36953727
#: ../../library/decimal.rst:2221
36963728
msgid ""
36973729
"A: Yes, any binary floating-point number can be exactly expressed as a "
36983730
"Decimal though an exact conversion may take more precision than intuition "
36993731
"would suggest:"
37003732
msgstr ""
3733+
"R: Sim, qualquer número de ponto flutuante binário pode ser expresso "
3734+
"exatamente como um Decimal, embora uma conversão exata possa exigir mais "
3735+
"precisão do que a intuição sugere:"
37013736

37023737
#: ../../library/decimal.rst:2225
37033738
msgid ""
@@ -3712,6 +3747,9 @@ msgid ""
37123747
"Q: Within a complex calculation, how can I make sure that I haven't gotten a "
37133748
"spurious result because of insufficient precision or rounding anomalies."
37143749
msgstr ""
3750+
"P: Em um cálculo complexo, como posso ter certeza de que não obtive um "
3751+
"resultado falso devido à precisão insuficiente ou a anomalias de "
3752+
"arredondamento."
37153753

37163754
#: ../../library/decimal.rst:2233
37173755
msgid ""
@@ -3720,13 +3758,21 @@ msgid ""
37203758
"Widely differing results indicate insufficient precision, rounding mode "
37213759
"issues, ill-conditioned inputs, or a numerically unstable algorithm."
37223760
msgstr ""
3761+
"R: O módulo decimal facilita o teste de resultados. Uma boa prática é "
3762+
"executar novamente os cálculos usando maior precisão e com vários modos de "
3763+
"arredondamento. Resultados amplamente diferentes indicam precisão "
3764+
"insuficiente, problemas no modo de arredondamento, entradas mal "
3765+
"condicionadas ou um algoritmo numericamente instável."
37233766

37243767
#: ../../library/decimal.rst:2238
37253768
msgid ""
37263769
"Q: I noticed that context precision is applied to the results of operations "
37273770
"but not to the inputs. Is there anything to watch out for when mixing "
37283771
"values of different precisions?"
37293772
msgstr ""
3773+
"P: Notei que a precisão do contexto é aplicada aos resultados das operações, "
3774+
"mas não às entradas. Há algo a observar ao misturar valores de diferentes "
3775+
"precisões?"
37303776

37313777
#: ../../library/decimal.rst:2242
37323778
msgid ""
@@ -3736,6 +3782,11 @@ msgid ""
37363782
"disadvantage is that the results can look odd if you forget that the inputs "
37373783
"haven't been rounded:"
37383784
msgstr ""
3785+
"R: Sim. O princípio é que todos os valores são considerados exatos, assim "
3786+
"como a aritmética desses valores. Somente os resultados são arredondados. A "
3787+
"vantagem das entradas é que \"o que você vê é o que você obtém\". Uma "
3788+
"desvantagem é que os resultados podem parecer estranhos se você esquecer que "
3789+
"as entradas não foram arredondadas:"
37393790

37403791
#: ../../library/decimal.rst:2247
37413792
msgid ""
@@ -3779,7 +3830,7 @@ msgstr ""
37793830

37803831
#: ../../library/decimal.rst:2270
37813832
msgid "Q: Is the CPython implementation fast for large numbers?"
3782-
msgstr ""
3833+
msgstr "P: A implementação do CPython é rápida para números grandes?"
37833834

37843835
#: ../../library/decimal.rst:2272
37853836
msgid ""
@@ -3793,6 +3844,15 @@ msgid ""
37933844
"Discrete_Fourier_transform_(general)#Number-theoretic_transform>`_ for very "
37943845
"large numbers."
37953846
msgstr ""
3847+
"A: Sim. Nas implementações CPython e PyPy3, as versões C/CFFI do módulo "
3848+
"decimal integram a biblioteca de alta velocidade `libmpdec <https://www."
3849+
"bytereef.org/mpdecimal/doc/libmpdec/index.html>`_ para precisão arbitrária "
3850+
"de aritmética de ponto flutuante decimal corretamente arredondado [#]_. "
3851+
"``libmpdec`` usa a `multiplicação de Karatsuba <https://pt.wikipedia.org/"
3852+
"wiki/Algoritmo_de_Karatsuba>`_ para números com tamanho médio e a "
3853+
"`Transformada Numérica de Fourier <https://en.wikipedia.org/wiki/"
3854+
"Discrete_Fourier_transform_(general)#Number-theoretic_transform>`_ para "
3855+
"números muito grandes."
37963856

37973857
#: ../../library/decimal.rst:2282
37983858
msgid ""

library/enum.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# python-doc bot, 2025
88
# Transifex Bot <>, 2025
99
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
10+
# Rainer Terroso, 2025
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2025-12-01 14:16+0000\n"
1718
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
18-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
19+
"Last-Translator: Rainer Terroso, 2025\n"
1920
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2021
"teams/5390/pt_BR/)\n"
2122
"MIME-Version: 1.0\n"
@@ -35,7 +36,7 @@ msgstr "**Código-fonte:** :source:`Lib/enum.py`"
3536

3637
#: ../../library/enum.rst:16
3738
msgid "Important"
38-
msgstr ""
39+
msgstr "Importante"
3940

4041
#: ../../library/enum.rst:18
4142
msgid ""

0 commit comments

Comments
 (0)