Skip to content

Commit cd10c46

Browse files
Update translations
1 parent c91e5c2 commit cd10c46

6 files changed

Lines changed: 141 additions & 23 deletions

File tree

faq/programming.po

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2018
99
# Marco Rougeth <marco@rougeth.com>, 2019
1010
# Leonardo Mendes, 2021
11-
# Adorilson Bezerra <adorilson@gmail.com>, 2025
1211
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
12+
# Adorilson Bezerra <adorilson@gmail.com>, 2025
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2025-01-17 15:27+0000\n"
2020
"PO-Revision-Date: 2017-02-16 17:43+0000\n"
21-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
21+
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
2222
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2323
"teams/5390/pt_BR/)\n"
2424
"Language: pt_BR\n"
@@ -2700,6 +2700,14 @@ msgid ""
27002700
"file, and ends with ``.pyc``, with a middle component that depends on the "
27012701
"particular ``python`` binary that created it. (See :pep:`3147` for details.)"
27022702
msgstr ""
2703+
"Quando um módulo é importado pela primeira vez (ou quando o arquivo de "
2704+
"origem foi alterado desde que o arquivo compilado atual foi criado), um "
2705+
"arquivo ``.pyc`` contendo o código compilado deve ser criado em um "
2706+
"subdiretório ``__pycache__`` do diretório que contém o arquivo ``.py``. O "
2707+
"arquivo ``.pyc`` terá um nome de arquivo que começa com o mesmo nome do "
2708+
"arquivo ``.py`` e termina com ``.pyc``, com um componente intermediário que "
2709+
"depende do binário ``python`` específico que o criou. (Consulte :pep:`3147` "
2710+
"para obter detalhes.)"
27032711

27042712
#: ../../faq/programming.rst:1914
27052713
msgid ""
@@ -2709,6 +2717,11 @@ msgid ""
27092717
"example, if you develop as one user but run as another, such as if you are "
27102718
"testing with a web server."
27112719
msgstr ""
2720+
"Um dos motivos pelos quais um arquivo ``.pyc`` pode não ser criado é um "
2721+
"problema de permissões no diretório que contém o arquivo de origem, o que "
2722+
"significa que o subdiretório ``__pycache__`` não pode ser criado. Isso pode "
2723+
"acontecer, por exemplo, se você desenvolver como um usuário, mas executar "
2724+
"como outro, como se estivesse testando em um servidor web."
27122725

27132726
#: ../../faq/programming.rst:1919
27142727
msgid ""
@@ -2718,6 +2731,11 @@ msgid ""
27182731
"``__pycache__`` subdirectory and write the compiled module to that "
27192732
"subdirectory."
27202733
msgstr ""
2734+
"A menos que a variável de ambiente :envvar:`PYTHONDONTWRITEBYTECODE` esteja "
2735+
"definida, a criação de um arquivo .pyc será automática se você estiver "
2736+
"importando um módulo e o Python tiver a capacidade (permissões, espaço livre "
2737+
"etc.) de criar um subdiretório ``__pycache__`` e gravar o módulo compilado "
2738+
"nesse subdiretório."
27212739

27222740
#: ../../faq/programming.rst:1924
27232741
msgid ""
@@ -2728,26 +2746,41 @@ msgid ""
27282746
"``xyz`` because ``xyz`` is imported, but no ``.pyc`` file will be created "
27292747
"for ``foo`` since ``foo.py`` isn't being imported."
27302748
msgstr ""
2749+
"A execução do Python em um script de nível superior não é considerada uma "
2750+
"importação e nenhum ``.pyc`` será criado. Por exemplo, se você tiver um "
2751+
"módulo de nível superior ``foo.py`` que importa outro módulo ``xyz.py`` , ao "
2752+
"executar ``foo`` (digitando ``python foo.py`` no console do sistema "
2753+
"operacional (SO)), um ``.pyc`` será criado para ``xyz`` porque ``xyz`` é "
2754+
"importado, mas nenhum arquivo ``.pyc`` será criado para ``foo``, pois ``foo."
2755+
"py`` não está sendo importado."
27312756

27322757
#: ../../faq/programming.rst:1931
27332758
msgid ""
27342759
"If you need to create a ``.pyc`` file for ``foo`` -- that is, to create a ``."
27352760
"pyc`` file for a module that is not imported -- you can, using the :mod:"
27362761
"`py_compile` and :mod:`compileall` modules."
27372762
msgstr ""
2763+
"Se você precisar criar um arquivo ``.pyc`` para ``foo``, ou seja, criar um "
2764+
"arquivo ``.pyc`` para um módulo que não é importado, você pode usar os "
2765+
"módulos :mod:`py_compile` e :mod:`compileall`."
27382766

27392767
#: ../../faq/programming.rst:1935
27402768
msgid ""
27412769
"The :mod:`py_compile` module can manually compile any module. One way is to "
27422770
"use the ``compile()`` function in that module interactively::"
27432771
msgstr ""
2772+
"O módulo :mod:`py_compile` pode compilar manualmente qualquer módulo. Uma "
2773+
"maneira é usar interativamente a função ``compile()`` nesse módulo::"
27442774

27452775
#: ../../faq/programming.rst:1941
27462776
msgid ""
27472777
"This will write the ``.pyc`` to a ``__pycache__`` subdirectory in the same "
27482778
"location as ``foo.py`` (or you can override that with the optional parameter "
27492779
"``cfile``)."
27502780
msgstr ""
2781+
"Isso gravará o ``.pyc`` em um subdiretório ``__pycache__`` no mesmo local "
2782+
"que ``foo.py`` (ou você pode substituir isso com o parâmetro opcional "
2783+
"``cfile`` )."
27512784

27522785
#: ../../faq/programming.rst:1945
27532786
msgid ""
@@ -2756,6 +2789,10 @@ msgid ""
27562789
"running ``compileall.py`` and providing the path of a directory containing "
27572790
"Python files to compile::"
27582791
msgstr ""
2792+
"Você também pode compilar automaticamente todos os arquivos em um diretório "
2793+
"ou diretórios usando o módulo :mod:`compileall`. Você pode fazer isso no "
2794+
"console do SO executando ``compileall.py`` e fornecendo o caminho de um "
2795+
"diretório que contenha os arquivos Python a serem compilados::"
27592796

27602797
#: ../../faq/programming.rst:1954
27612798
msgid "How do I find the current module name?"

library/queue.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2024, Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -12,15 +12,15 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.9\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-11-22 16:40+0000\n"
15+
"POT-Creation-Date: 2025-01-17 15:27+0000\n"
1616
"PO-Revision-Date: 2017-02-16 23:24+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1919
"teams/5390/pt_BR/)\n"
20+
"Language: pt_BR\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
2223
"Content-Transfer-Encoding: 8bit\n"
23-
"Language: pt_BR\n"
2424
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % "
2525
"1000000 == 0 ? 1 : 2;\n"
2626

library/re.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.9\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2025-01-03 16:35+0000\n"
21+
"POT-Creation-Date: 2025-01-10 16:41+0000\n"
2222
"PO-Revision-Date: 2017-02-16 23:24+0000\n"
2323
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
2424
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1243,7 +1243,7 @@ msgstr "A sequência ::"
12431243

12441244
#: ../../library/re.rst:625
12451245
msgid "is equivalent to ::"
1246-
msgstr "é equivalente a ::"
1246+
msgstr "equivale a ::"
12471247

12481248
#: ../../library/re.rst:629
12491249
msgid ""

potodo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
- newtypes_tutorial.po 28 / 123 ( 22.0% translated).
4545

4646

47-
# faq (90.92% done)
47+
# faq (91.83% done)
4848

4949
- design.po 123 / 141 ( 87.0% translated).
5050
- extending.po 50 / 58 ( 86.0% translated).
5151
- library.po 130 / 140 ( 92.0% translated).
52-
- programming.po 328 / 372 ( 88.0% translated).
52+
- programming.po 336 / 372 ( 90.0% translated).
5353

5454

5555
# howto (53.76% done)
@@ -265,9 +265,9 @@
265265
- zoneinfo.po 5 / 72 ( 6.0% translated).
266266

267267

268-
# reference (90.46% done)
268+
# reference (92.47% done)
269269

270-
- compound_stmts.po 50 / 118 ( 42.0% translated).
270+
- compound_stmts.po 81 / 118 ( 68.0% translated).
271271
- datamodel.po 477 / 484 ( 98.0% translated).
272272
- expressions.po 295 / 329 ( 89.0% translated).
273273
- import.po 163 / 186 ( 87.0% translated).
@@ -303,5 +303,5 @@
303303
- 3.9.po 382 / 386 ( 98.0% translated).
304304

305305

306-
# TOTAL (61.95% done)
306+
# TOTAL (62.03% done)
307307

0 commit comments

Comments
 (0)