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

Appearance settings

Commit ca54454

Browse filesBrowse files
Update translations
1 parent b037aec commit ca54454
Copy full SHA for ca54454

File tree

3 files changed

+34
-13
lines changed
Filter options

3 files changed

+34
-13
lines changed

‎faq/programming.po

Copy file name to clipboardExpand all lines: faq/programming.po
+30-9Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3025,7 +3025,7 @@ msgstr ""
30253025

30263026
#: ../../faq/programming.rst:2102
30273027
msgid "How can I have modules that mutually import each other?"
3028-
msgstr ""
3028+
msgstr "Como posso ter módulos que se importam mutuamente?"
30293029

30303030
#: ../../faq/programming.rst:2104
30313031
msgid "Suppose you have the following modules:"
@@ -3045,55 +3045,64 @@ msgstr "O problema é que o interpretador vai realizar os seguintes passos:"
30453045

30463046
#: ../../faq/programming.rst:2118
30473047
msgid "main imports ``foo``"
3048-
msgstr ""
3048+
msgstr "programa principal importa ``foo``"
30493049

30503050
#: ../../faq/programming.rst:2119
30513051
msgid "Empty globals for ``foo`` are created"
3052-
msgstr ""
3052+
msgstr "São criados globais vazios para ``foo``"
30533053

30543054
#: ../../faq/programming.rst:2120
30553055
msgid "``foo`` is compiled and starts executing"
3056-
msgstr ""
3056+
msgstr "``foo`` é compilado e começa a ser executado"
30573057

30583058
#: ../../faq/programming.rst:2121
30593059
msgid "``foo`` imports ``bar``"
3060-
msgstr ""
3060+
msgstr "``foo`` importa ``bar``"
30613061

30623062
#: ../../faq/programming.rst:2122
30633063
msgid "Empty globals for ``bar`` are created"
3064-
msgstr ""
3064+
msgstr "São criados globais vazios para ``bar``"
30653065

30663066
#: ../../faq/programming.rst:2123
30673067
msgid "``bar`` is compiled and starts executing"
3068-
msgstr ""
3068+
msgstr "``bar`` é compilado e começa a ser executado"
30693069

30703070
#: ../../faq/programming.rst:2124
30713071
msgid ""
30723072
"``bar`` imports ``foo`` (which is a no-op since there already is a module "
30733073
"named ``foo``)"
30743074
msgstr ""
3075+
"``bar`` importa ``foo`` (o que não é executado de fato, pois já existe um "
3076+
"módulo chamado ``foo``)"
30753077

30763078
#: ../../faq/programming.rst:2125
30773079
msgid ""
30783080
"The import mechanism tries to read ``foo_var`` from ``foo`` globals, to set "
30793081
"``bar.foo_var = foo.foo_var``"
30803082
msgstr ""
3083+
"O mecanismo de importação tenta ler ``foo_var`` do ``foo`` em globais, para "
3084+
"definir ``bar.foo_var = foo.foo_var``"
30813085

30823086
#: ../../faq/programming.rst:2127
30833087
msgid ""
30843088
"The last step fails, because Python isn't done with interpreting ``foo`` yet "
30853089
"and the global symbol dictionary for ``foo`` is still empty."
30863090
msgstr ""
3091+
"A última etapa falha, pois Python ainda não terminou de interpretar ``foo`` "
3092+
"e o dicionário de símbolos global para ``foo`` ainda está vazio."
30873093

30883094
#: ../../faq/programming.rst:2130
30893095
msgid ""
30903096
"The same thing happens when you use ``import foo``, and then try to access "
30913097
"``foo.foo_var`` in global code."
30923098
msgstr ""
3099+
"O mesmo acontece quando você usa ``import foo`` e, em seguida, tenta acessar "
3100+
"``foo.foo_var`` no código global."
30933101

30943102
#: ../../faq/programming.rst:2133
30953103
msgid "There are (at least) three possible workarounds for this problem."
30963104
msgstr ""
3105+
"Há (pelo menos) três possíveis soluções alternativas para esse problema."
30973106

30983107
#: ../../faq/programming.rst:2135
30993108
msgid ""
@@ -3103,21 +3112,29 @@ msgid ""
31033112
"only. This means everything from an imported module is referenced as "
31043113
"``<module>.<name>``."
31053114
msgstr ""
3115+
"Guido van Rossum recomenda evitar todos os usos de ``from <module> import ..."
3116+
"`` e colocar todo o código dentro de funções. As inicializações de "
3117+
"variáveis globais e variáveis de classe devem usar apenas constantes ou "
3118+
"funções embutidas. Isso significa que tudo de um módulo importado é "
3119+
"referenciado como ``<module>.<name>``."
31063120

31073121
#: ../../faq/programming.rst:2140
31083122
msgid ""
31093123
"Jim Roskind suggests performing steps in the following order in each module:"
31103124
msgstr ""
3125+
"Jim Roskind sugere a execução das etapas na seguinte ordem em cada módulo:"
31113126

31123127
#: ../../faq/programming.rst:2142
31133128
msgid ""
31143129
"exports (globals, functions, and classes that don't need imported base "
31153130
"classes)"
31163131
msgstr ""
3132+
"exportações (globais, função e classes que não precisam de classes base "
3133+
"importadas)"
31173134

31183135
#: ../../faq/programming.rst:2144
31193136
msgid "``import`` statements"
3120-
msgstr "Declaração ``import``"
3137+
msgstr "instruções ``import``"
31213138

31223139
#: ../../faq/programming.rst:2145
31233140
msgid ""
@@ -3130,16 +3147,20 @@ msgid ""
31303147
"Van Rossum doesn't like this approach much because the imports appear in a "
31313148
"strange place, but it does work."
31323149
msgstr ""
3150+
"Van Rossum não gosta muito dessa abordagem porque a importação aparece em um "
3151+
"lugar estranho, mas ela funciona."
31333152

31343153
#: ../../faq/programming.rst:2150
31353154
msgid ""
31363155
"Matthias Urlichs recommends restructuring your code so that the recursive "
31373156
"import is not necessary in the first place."
31383157
msgstr ""
3158+
"Matthias Urlichs recomenda reestruturar seu código para que importação "
3159+
"recursiva não seja necessária em primeiro lugar."
31393160

31403161
#: ../../faq/programming.rst:2153
31413162
msgid "These solutions are not mutually exclusive."
3142-
msgstr "Essas soluções não são mutualmente exclusivas."
3163+
msgstr "Essas soluções não são mutuamente exclusivas."
31433164

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

‎potodo.md

Copy file name to clipboardExpand all lines: potodo.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@
5252
- newtypes_tutorial.po 27 / 123 ( 21.0% translated).
5353

5454

55-
# faq (93.83% done)
55+
# faq (95.70% done)
5656

5757
- design.po 125 / 141 ( 88.0% translated).
5858
- extending.po 51 / 58 ( 87.0% translated).
5959
- library.po 132 / 140 ( 94.0% translated).
60-
- programming.po 363 / 388 ( 93.0% translated).
60+
- programming.po 380 / 388 ( 97.0% translated).
6161

6262

6363
# howto (53.33% done)
@@ -323,5 +323,5 @@
323323
- 3.7.po 243 / 555 ( 43.0% translated).
324324

325325

326-
# TOTAL (63.47% done)
326+
# TOTAL (63.50% done)
327327

‎stats.json

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "63.47%", "translated": 32786, "entries": 51659, "updated_at": "2025-02-10T23:53:40+00:00Z"}
1+
{"completion": "63.5%", "translated": 32803, "entries": 51659, "updated_at": "2025-02-11T23:53:48+00:00Z"}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.