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

Skip to content

Commit 9b77b62

Browse files
Update translations
1 parent 5931e8d commit 9b77b62

File tree

3 files changed

+39
-14
lines changed

3 files changed

+39
-14
lines changed

faq/programming.po

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-24 14:52+0000\n"
14+
"POT-Creation-Date: 2025-02-07 14:52+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -4567,7 +4567,7 @@ msgstr ""
45674567

45684568
#: ../../faq/programming.rst:2145
45694569
msgid "How can I have modules that mutually import each other?"
4570-
msgstr ""
4570+
msgstr "Como posso ter módulos que se importam mutuamente?"
45714571

45724572
#: ../../faq/programming.rst:2147
45734573
msgid "Suppose you have the following modules:"
@@ -4582,6 +4582,8 @@ msgid ""
45824582
"from bar import bar_var\n"
45834583
"foo_var = 1"
45844584
msgstr ""
4585+
"from bar importar bar_var\n"
4586+
"foo_var = 1"
45854587

45864588
#: ../../faq/programming.rst:2154
45874589
msgid ":file:`bar.py`::"
@@ -4592,62 +4594,73 @@ msgid ""
45924594
"from foo import foo_var\n"
45934595
"bar_var = 2"
45944596
msgstr ""
4597+
"from foo import foo_var\n"
4598+
"bar_var = 2"
45954599

45964600
#: ../../faq/programming.rst:2159
45974601
msgid "The problem is that the interpreter will perform the following steps:"
45984602
msgstr "O problema é que o interpretador vai realizar os seguintes passos:"
45994603

46004604
#: ../../faq/programming.rst:2161
46014605
msgid "main imports ``foo``"
4602-
msgstr ""
4606+
msgstr "programa principal importa ``foo``"
46034607

46044608
#: ../../faq/programming.rst:2162
46054609
msgid "Empty globals for ``foo`` are created"
4606-
msgstr ""
4610+
msgstr "São criados globais vazios para ``foo``"
46074611

46084612
#: ../../faq/programming.rst:2163
46094613
msgid "``foo`` is compiled and starts executing"
4610-
msgstr ""
4614+
msgstr "``foo`` é compilado e começa a ser executado"
46114615

46124616
#: ../../faq/programming.rst:2164
46134617
msgid "``foo`` imports ``bar``"
4614-
msgstr ""
4618+
msgstr "``foo`` importa ``bar``"
46154619

46164620
#: ../../faq/programming.rst:2165
46174621
msgid "Empty globals for ``bar`` are created"
4618-
msgstr ""
4622+
msgstr "São criados globais vazios para ``bar``"
46194623

46204624
#: ../../faq/programming.rst:2166
46214625
msgid "``bar`` is compiled and starts executing"
4622-
msgstr ""
4626+
msgstr "``bar`` é compilado e começa a ser executado"
46234627

46244628
#: ../../faq/programming.rst:2167
46254629
msgid ""
46264630
"``bar`` imports ``foo`` (which is a no-op since there already is a module "
46274631
"named ``foo``)"
46284632
msgstr ""
4633+
"``bar`` importa ``foo`` (o que não é executado de fato, pois já existe um "
4634+
"módulo chamado ``foo``)"
46294635

46304636
#: ../../faq/programming.rst:2168
46314637
msgid ""
46324638
"The import mechanism tries to read ``foo_var`` from ``foo`` globals, to set "
46334639
"``bar.foo_var = foo.foo_var``"
46344640
msgstr ""
4641+
"O mecanismo de importação tenta ler ``foo_var`` do ``foo`` em globais, para "
4642+
"definir ``bar.foo_var = foo.foo_var``"
46354643

46364644
#: ../../faq/programming.rst:2170
46374645
msgid ""
46384646
"The last step fails, because Python isn't done with interpreting ``foo`` yet "
46394647
"and the global symbol dictionary for ``foo`` is still empty."
46404648
msgstr ""
4649+
"A última etapa falha, pois Python ainda não terminou de interpretar ``foo`` "
4650+
"e o dicionário de símbolos global para ``foo`` ainda está vazio."
46414651

46424652
#: ../../faq/programming.rst:2173
46434653
msgid ""
46444654
"The same thing happens when you use ``import foo``, and then try to access "
46454655
"``foo.foo_var`` in global code."
46464656
msgstr ""
4657+
"O mesmo acontece quando você usa ``import foo`` e, em seguida, tenta acessar "
4658+
"``foo.foo_var`` no código global."
46474659

46484660
#: ../../faq/programming.rst:2176
46494661
msgid "There are (at least) three possible workarounds for this problem."
46504662
msgstr ""
4663+
"Há (pelo menos) três possíveis soluções alternativas para esse problema."
46514664

46524665
#: ../../faq/programming.rst:2178
46534666
msgid ""
@@ -4657,21 +4670,29 @@ msgid ""
46574670
"only. This means everything from an imported module is referenced as "
46584671
"``<module>.<name>``."
46594672
msgstr ""
4673+
"Guido van Rossum recomenda evitar todos os usos de ``from <module> import ..."
4674+
"`` e colocar todo o código dentro de funções. As inicializações de "
4675+
"variáveis globais e variáveis de classe devem usar apenas constantes ou "
4676+
"funções embutidas. Isso significa que tudo de um módulo importado é "
4677+
"referenciado como ``<module>.<name>``."
46604678

46614679
#: ../../faq/programming.rst:2183
46624680
msgid ""
46634681
"Jim Roskind suggests performing steps in the following order in each module:"
46644682
msgstr ""
4683+
"Jim Roskind sugere a execução das etapas na seguinte ordem em cada módulo:"
46654684

46664685
#: ../../faq/programming.rst:2185
46674686
msgid ""
46684687
"exports (globals, functions, and classes that don't need imported base "
46694688
"classes)"
46704689
msgstr ""
4690+
"exportações (globais, função e classes que não precisam de classes base "
4691+
"importadas)"
46714692

46724693
#: ../../faq/programming.rst:2187
46734694
msgid "``import`` statements"
4674-
msgstr "Declaração ``import``"
4695+
msgstr "instruções ``import``"
46754696

46764697
#: ../../faq/programming.rst:2188
46774698
msgid ""
@@ -4684,16 +4705,20 @@ msgid ""
46844705
"Van Rossum doesn't like this approach much because the imports appear in a "
46854706
"strange place, but it does work."
46864707
msgstr ""
4708+
"Van Rossum não gosta muito dessa abordagem porque a importação aparece em um "
4709+
"lugar estranho, mas ela funciona."
46874710

46884711
#: ../../faq/programming.rst:2193
46894712
msgid ""
46904713
"Matthias Urlichs recommends restructuring your code so that the recursive "
46914714
"import is not necessary in the first place."
46924715
msgstr ""
4716+
"Matthias Urlichs recomenda reestruturar seu código para que importação "
4717+
"recursiva não seja necessária em primeiro lugar."
46934718

46944719
#: ../../faq/programming.rst:2196
46954720
msgid "These solutions are not mutually exclusive."
4696-
msgstr "Essas soluções não são mutualmente exclusivas."
4721+
msgstr "Essas soluções não são mutuamente exclusivas."
46974722

46984723
#: ../../faq/programming.rst:2200
46994724
msgid "__import__('x.y.z') returns <module 'x'>; how do I get z?"

potodo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
- newtypes_tutorial.po 25 / 177 ( 14.0% translated).
4646

4747

48-
# faq (96.54% done)
48+
# faq (98.27% done)
4949

5050
- library.po 157 / 162 ( 96.0% translated).
51-
- programming.po 475 / 508 ( 93.0% translated).
51+
- programming.po 494 / 508 ( 97.0% translated).
5252

5353

5454
# howto (58.21% done)
@@ -279,5 +279,5 @@
279279
- 3.7.po 252 / 568 ( 44.0% translated).
280280

281281

282-
# TOTAL (66.21% done)
282+
# TOTAL (66.25% done)
283283

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "66.21%", "translated": 40937, "entries": 61825, "updated_at": "2025-02-10T23:27:47+00:00Z"}
1+
{"completion": "66.25%", "translated": 40956, "entries": 61825, "updated_at": "2025-02-11T23:28:33+00:00Z"}

0 commit comments

Comments
 (0)