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

Skip to content

Commit 338bb60

Browse files
Update translations
1 parent 4e6ea77 commit 338bb60

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

faq/programming.po

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4543,6 +4543,11 @@ msgid ""
45434543
"importing them also provide a command-line interface or a self-test, and "
45444544
"only execute this code after checking ``__name__``::"
45454545
msgstr ""
4546+
"Um módulo pode descobrir seu próprio nome consultando a variável global "
4547+
"predefinida ``__name__`` . Se ela tiver o valor ``'__main__'`` , o programa "
4548+
"estará sendo executado como um script. Muitos módulos que são normalmente "
4549+
"usados ao serem importados também fornecem uma interface de linha de comando "
4550+
"ou um autoteste, e só executam esse código depois de verificar ``__name__``::"
45464551

45474552
#: ../../faq/programming.rst:2136
45484553
msgid ""
@@ -4553,6 +4558,12 @@ msgid ""
45534558
"if __name__ == '__main__':\n"
45544559
" main()"
45554560
msgstr ""
4561+
"def main():\n"
4562+
" print('Executando teste...')\n"
4563+
" ...\n"
4564+
"\n"
4565+
"if __name__ == '__main__':\n"
4566+
" main()"
45564567

45574568
#: ../../faq/programming.rst:2145
45584569
msgid "How can I have modules that mutually import each other?"

potodo.md

Lines changed: 2 additions & 2 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.35% done)
48+
# faq (96.54% done)
4949

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

5353

5454
# howto (58.21% done)

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "65.9%", "translated": 40741, "entries": 61825, "updated_at": "2025-02-03T23:27:07+00:00Z"}
1+
{"completion": "65.9%", "translated": 40743, "entries": 61825, "updated_at": "2025-02-04T23:27:24+00:00Z"}

0 commit comments

Comments
 (0)