🌐 AI搜索 & 代理 主页
Skip to content

Commit bfa1253

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com> Co-Authored-By: Gustavo Reis Co-Authored-By: python-doc bot
1 parent 67f7982 commit bfa1253

File tree

10 files changed

+89
-22
lines changed

10 files changed

+89
-22
lines changed

c-api/init.po

Lines changed: 71 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.11\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-27 16:29+0000\n"
15+
"POT-Creation-Date: 2025-11-29 16:28+0000\n"
1616
"PO-Revision-Date: 2025-09-22 16:49+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -854,10 +854,15 @@ msgid ""
854854
"not modify its value. The value is available to Python code as :data:`sys."
855855
"version`."
856856
msgstr ""
857+
"A primeira palavra (até o primeiro espaço em branco) representa a versão "
858+
"atual do Python; os primeiros caracteres indicam a versão principal e a "
859+
"versão secundária, separados por um ponto. A string retornada aponta para um "
860+
"armazenamento estático; o chamador não deve modificar seu valor. O valor "
861+
"fica disponível para o código Python como :data:`sys.version`."
857862

858863
#: ../../c-api/init.rst:556
859864
msgid "See also the :c:var:`Py_Version` constant."
860-
msgstr ""
865+
msgstr "Veja também a constante :c:var:`Py_Version`."
861866

862867
#: ../../c-api/init.rst:563
863868
msgid ""
@@ -869,6 +874,13 @@ msgid ""
869874
"into static storage; the caller should not modify its value. The value is "
870875
"available to Python code as ``sys.platform``."
871876
msgstr ""
877+
"Retorna o identificador da plataforma atual. No Unix, este identificador é "
878+
"formado pelo nome \"oficial\" do sistema operacional, convertido para "
879+
"minúsculas, seguido pelo número da revisão principal; por exemplo, para "
880+
"Solaris 2.x, também conhecido como SunOS 5.x, o valor é ``'sunos5'``. No "
881+
"macOS, é ``'darwin'``. No Windows, é ``'win'``. A string retornada aponta "
882+
"para um armazenamento estático; o chamador não deve modificar seu valor. O "
883+
"valor está disponível para o código Python como ``sys.platform``."
872884

873885
#: ../../c-api/init.rst:574
874886
msgid ""
@@ -887,6 +899,9 @@ msgid ""
887899
"The returned string points into static storage; the caller should not modify "
888900
"its value. The value is available to Python code as ``sys.copyright``."
889901
msgstr ""
902+
"A string retornada aponta para o armazenamento estático; o chamador não deve "
903+
"modificar o seu valor. O valor está disponível para o código Python como "
904+
"``sys.copyright``."
890905

891906
#: ../../c-api/init.rst:586
892907
msgid ""
@@ -902,6 +917,9 @@ msgid ""
902917
"its value. The value is available to Python code as part of the variable "
903918
"``sys.version``."
904919
msgstr ""
920+
"A string retornada aponta para o armazenamento estático; o chamador não deve "
921+
"modificar o seu valor. O valor está disponível para o código Python como "
922+
"``sys.version``."
905923

906924
#: ../../c-api/init.rst:600
907925
msgid ""
@@ -918,6 +936,10 @@ msgid ""
918936
"should be used instead, see :ref:`Python Initialization Configuration <init-"
919937
"config>`."
920938
msgstr ""
939+
"Esta API é mantida para compatibilidade com versões anteriores: em vez "
940+
"disso, deve-se usar a configuração :c:member:`PyConfig.argv`, :c:member:"
941+
"`PyConfig.parse_argv` e :c:member:`PyConfig.safe_path`, consulte :ref:"
942+
"`Configuração de inicialização do Python <init-config>`."
921943

922944
#: ../../c-api/init.rst:624
923945
msgid ""
@@ -929,6 +951,13 @@ msgid ""
929951
"empty string. If this function fails to initialize :data:`sys.argv`, a "
930952
"fatal condition is signalled using :c:func:`Py_FatalError`."
931953
msgstr ""
954+
"Define :data:`sys.argv` com base em *argc* e *argv*. Esses parâmetros são "
955+
"semelhantes aos passados ​​para a função :c:func:`main` do programa, com a "
956+
"diferença de que a primeira entrada deve se referir ao arquivo de script a "
957+
"ser executado, em vez do executável que hospeda o interpretador Python. Se "
958+
"não houver um script a ser executado, a primeira entrada em *argv* pode ser "
959+
"uma string vazia. Se esta função falhar ao inicializar :data:`sys.argv`, uma "
960+
"condição fatal será sinalizada usando :c:func:`Py_FatalError`."
932961

933962
#: ../../c-api/init.rst:632
934963
msgid ""
@@ -946,19 +975,28 @@ msgid ""
946975
"path of the directory where the script is located is prepended to :data:`sys."
947976
"path`."
948977
msgstr ""
978+
"Se o nome de um script existente for passado em ``argv[0]``, o caminho "
979+
"absoluto do diretório onde o script está localizado será adicionado a :data:"
980+
"`sys.path`."
949981

950982
#: ../../c-api/init.rst:639
951983
msgid ""
952984
"Otherwise (that is, if *argc* is ``0`` or ``argv[0]`` doesn't point to an "
953985
"existing file name), an empty string is prepended to :data:`sys.path`, which "
954986
"is the same as prepending the current working directory (``\".\"``)."
955987
msgstr ""
988+
"Caso contrário (isto é, se *argc* for ``0`` ou ``argv[0]`` não apontar para "
989+
"um nome de arquivo existente), uma string vazia é adicionada ao início de :"
990+
"data:`sys.path`, o que é o mesmo que adicionar o diretório de trabalho atual "
991+
"(``\".\"``)."
956992

957993
#: ../../c-api/init.rst:647 ../../c-api/init.rst:683
958994
msgid ""
959995
"See also :c:member:`PyConfig.orig_argv` and :c:member:`PyConfig.argv` "
960996
"members of the :ref:`Python Initialization Configuration <init-config>`."
961997
msgstr ""
998+
"Veja também os membros :c:member:`PyConfig.orig_argv` e :c:member:`PyConfig."
999+
"argv` da :ref:`Configuração de inicialização do Python <init-config>`."
9621000

9631001
#: ../../c-api/init.rst:651
9641002
msgid ""
@@ -974,38 +1012,54 @@ msgid ""
9741012
"popping the first :data:`sys.path` element after having called :c:func:"
9751013
"`PySys_SetArgv`, for example using::"
9761014
msgstr ""
1015+
"Em versões anteriores à 3.1.3, você pode obter o mesmo efeito removendo "
1016+
"manualmente o primeiro elemento de :data:`sys.path` após ter chamado :c:func:"
1017+
"`PySys_SetArgv`, por exemplo, usando::"
9771018

9781019
#: ../../c-api/init.rst:672
9791020
msgid ""
9801021
"This API is kept for backward compatibility: setting :c:member:`PyConfig."
9811022
"argv` and :c:member:`PyConfig.parse_argv` should be used instead, see :ref:"
9821023
"`Python Initialization Configuration <init-config>`."
9831024
msgstr ""
1025+
"Esta API é mantida para retrocompatibilidade: em vez disso, devem ser usadas "
1026+
"as configurações :c:member:`PyConfig.argv` e :c:member:`PyConfig."
1027+
"parse_argv`, consulte a :ref:`Configuração de inicialização do Python <init-"
1028+
"config>`."
9841029

9851030
#: ../../c-api/init.rst:676
9861031
msgid ""
9871032
"This function works like :c:func:`PySys_SetArgvEx` with *updatepath* set to "
9881033
"``1`` unless the :program:`python` interpreter was started with the :option:"
9891034
"`-I`."
9901035
msgstr ""
1036+
"Esta função funciona como :c:func:`PySys_SetArgvEx` com *updatepath* "
1037+
"definido como ``1`` a menos que o interpretador :program:`python` tenha sido "
1038+
"iniciado com a :option:`-I`."
9911039

9921040
#: ../../c-api/init.rst:686
9931041
msgid "The *updatepath* value depends on :option:`-I`."
994-
msgstr ""
1042+
msgstr "O valor *updatepath* depende de :option:`-I`."
9951043

9961044
#: ../../c-api/init.rst:693
9971045
msgid ""
9981046
"This API is kept for backward compatibility: setting :c:member:`PyConfig."
9991047
"home` should be used instead, see :ref:`Python Initialization Configuration "
10001048
"<init-config>`."
10011049
msgstr ""
1050+
"Esta API é mantida para retrocompatibilidade: em vez disso, deve-se usar a "
1051+
"configuração :c:member:`PyConfig.home`, consulte a :ref:`Configuração de "
1052+
"inicialização do Python <init-config>`."
10021053

10031054
#: ../../c-api/init.rst:697
10041055
msgid ""
10051056
"Set the default \"home\" directory, that is, the location of the standard "
10061057
"Python libraries. See :envvar:`PYTHONHOME` for the meaning of the argument "
10071058
"string."
10081059
msgstr ""
1060+
"Define o diretório pessoal (\"home\") padrão, ou seja, o local das "
1061+
"bibliotecas padrão do Python. Consulte :envvar:`PYTHONHOME` para obter o "
1062+
"significado da string do argumento."
10091063

10101064
#: ../../c-api/init.rst:701
10111065
msgid ""
@@ -1014,6 +1068,10 @@ msgid ""
10141068
"execution. No code in the Python interpreter will change the contents of "
10151069
"this storage."
10161070
msgstr ""
1071+
"O argumento deve apontar para uma string terminada em zero em um "
1072+
"armazenamento estático, cujo conteúdo não será alterado durante a execução "
1073+
"do programa. Nenhum código no interpretador Python alterará o conteúdo desse "
1074+
"armazenamento."
10171075

10181076
#: ../../c-api/init.rst:714
10191077
msgid ""
@@ -1115,7 +1173,7 @@ msgstr ""
11151173

11161174
#: ../../c-api/init.rst:818
11171175
msgid "Non-Python created threads"
1118-
msgstr ""
1176+
msgstr "Threads não-Python criadas"
11191177

11201178
#: ../../c-api/init.rst:820
11211179
msgid ""
@@ -1144,6 +1202,9 @@ msgid ""
11441202
"do all of the above automatically. The typical idiom for calling into "
11451203
"Python from a C thread is::"
11461204
msgstr ""
1205+
"As funções :c:func:`PyGILState_Ensure` e :c:func:`PyGILState_Release` fazem "
1206+
"tudo isso automaticamente. O padrão típico para chamar o Python a partir de "
1207+
"uma thread C é:"
11471208

11481209
#: ../../c-api/init.rst:849
11491210
msgid ""
@@ -1166,6 +1227,12 @@ msgid ""
11661227
"concrete impact both on how locks must be handled and on all stored state in "
11671228
"CPython's runtime."
11681229
msgstr ""
1230+
"Outro aspecto importante a observar sobre threads é o seu comportamento "
1231+
"diante da chamada de :c:func:`fork` da linguagem C. Na maioria dos sistemas "
1232+
"com :c:func:`fork`, após um processo ser criado (\"fork\"), apenas a thread "
1233+
"que emitiu o fork continuará existindo. Isso tem um impacto concreto tanto "
1234+
"na forma como as travas devem ser gerenciados quanto em todo o estado "
1235+
"armazenado no ambiente de execução do CPython."
11691236

11701237
#: ../../c-api/init.rst:867
11711238
msgid ""

c-api/init_config.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.11\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-03 16:37+0000\n"
15+
"POT-Creation-Date: 2025-11-23 16:30+0000\n"
1616
"PO-Revision-Date: 2025-09-22 16:49+0000\n"
1717
"Last-Translator: Gustavo Reis, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -26,7 +26,7 @@ msgstr ""
2626

2727
#: ../../c-api/init_config.rst:7
2828
msgid "Python Initialization Configuration"
29-
msgstr "Configuração de Inicialização do Python"
29+
msgstr "Configuração de inicialização do Python"
3030

3131
#: ../../c-api/init_config.rst:11
3232
msgid ""

library/py_compile.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 20:37+0000\n"
14+
"POT-Creation-Date: 2025-11-21 17:09+0000\n"
1515
"PO-Revision-Date: 2025-09-22 16:50+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -251,7 +251,7 @@ msgstr ""
251251

252252
#: ../../library/py_compile.rst:131
253253
msgid "Command-Line Interface"
254-
msgstr "Interface de Linha de Comando"
254+
msgstr "Interface de linha de comando"
255255

256256
#: ../../library/py_compile.rst:133
257257
msgid ""

library/tarfile.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ msgstr ""
17171717

17181718
#: ../../library/tarfile.rst:1211
17191719
msgid "Command-Line Interface"
1720-
msgstr "Interface de Linha de Comando"
1720+
msgstr "Interface de linha de comando"
17211721

17221722
#: ../../library/tarfile.rst:1215
17231723
msgid ""

library/timeit.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 20:37+0000\n"
14+
"POT-Creation-Date: 2025-11-21 17:09+0000\n"
1515
"PO-Revision-Date: 2025-09-22 16:50+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -304,7 +304,7 @@ msgstr ""
304304

305305
#: ../../library/timeit.rst:207
306306
msgid "Command-Line Interface"
307-
msgstr "Interface de Linha de Comando"
307+
msgstr "Interface de linha de comando"
308308

309309
#: ../../library/timeit.rst:209
310310
msgid ""

library/unittest.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-23 16:19+0000\n"
14+
"POT-Creation-Date: 2025-11-23 16:30+0000\n"
1515
"PO-Revision-Date: 2025-09-22 16:50+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -299,7 +299,7 @@ msgstr ""
299299

300300
#: ../../library/unittest.rst:163
301301
msgid "Command-Line Interface"
302-
msgstr "Interface de Linha de Comando"
302+
msgstr "Interface de linha de comando"
303303

304304
#: ../../library/unittest.rst:165
305305
msgid ""

library/zipapp.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 20:37+0000\n"
14+
"POT-Creation-Date: 2025-11-21 17:09+0000\n"
1515
"PO-Revision-Date: 2025-09-22 16:51+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -61,7 +61,7 @@ msgstr ""
6161

6262
#: ../../library/zipapp.rst:40
6363
msgid "Command-Line Interface"
64-
msgstr "Interface de Linha de Comando"
64+
msgstr "Interface de linha de comando"
6565

6666
#: ../../library/zipapp.rst:42
6767
msgid ""

library/zipfile.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-23 16:19+0000\n"
14+
"POT-Creation-Date: 2025-11-23 16:30+0000\n"
1515
"PO-Revision-Date: 2025-09-22 16:51+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1332,7 +1332,7 @@ msgstr "Tamanho do arquivo não comprimido."
13321332

13331333
#: ../../library/zipfile.rst:872
13341334
msgid "Command-Line Interface"
1335-
msgstr "Interface de Linha de Comando"
1335+
msgstr "Interface de linha de comando"
13361336

13371337
#: ../../library/zipfile.rst:874
13381338
msgid ""

potodo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
1 directory 64.17% done
2-
└── 3.11/ 64.17% done
3-
├── c-api/ 52.72% done
1+
1 directory 64.22% done
2+
└── 3.11/ 64.22% done
3+
├── c-api/ 53.46% done
44
│ ├── exceptions.po 63.0% translated 219/347
55
│ ├── float.po 97.0% translated 34/35
66
│ ├── frame.po 95.0% translated 23/24
77
│ ├── gcsupport.po 21.0% translated 9/42
88
│ ├── import.po 77.0% translated 41/53
9-
│ ├── init.po 36.0% translated 135/372
9+
│ ├── init.po 41.0% translated 155/372
1010
│ ├── init_config.po 34.0% translated 138/396
1111
│ ├── long.po 57.0% translated 34/59
1212
│ ├── memory.po 31.0% translated 59/189

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "64.17%", "translated": 39132, "entries": 55824, "updated_at": "2025-11-28T23:50:55+00:00Z"}
1+
{"completion": "64.22%", "translated": 39152, "entries": 55824, "updated_at": "2025-11-29T23:50:27+00:00Z"}

0 commit comments

Comments
 (0)