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

Commit 5936b09

Browse files
github-actions[bot]rffontenelleadorilson
committed
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com> Co-Authored-By: Marcos Moraes Co-Authored-By: python-doc bot Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com>
1 parent abdf091 commit 5936b09

File tree

9 files changed

+131
-73
lines changed

9 files changed

+131
-73
lines changed

c-api/exceptions.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
# python-doc bot, 2025
88
# Joao Roccella <joao.a@docente.senai.br>, 2025
99
# Gustavo Reis, 2025
10+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
1011
#
1112
#, fuzzy
1213
msgid ""
1314
msgstr ""
1415
"Project-Id-Version: Python 3.11\n"
1516
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-10-31 16:29+0000\n"
17+
"POT-Creation-Date: 2025-11-07 17:12+0000\n"
1718
"PO-Revision-Date: 2025-09-22 16:49+0000\n"
18-
"Last-Translator: Gustavo Reis, 2025\n"
19+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1920
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2021
"teams/5390/pt_BR/)\n"
2122
"Language: pt_BR\n"
@@ -750,6 +751,8 @@ msgid ""
750751
"If the given signal isn't handled by Python (it was set to :py:const:`signal."
751752
"SIG_DFL` or :py:const:`signal.SIG_IGN`), it will be ignored."
752753
msgstr ""
754+
"Se o sinal fornecido não for tratado pelo Python (foi definido como :py:"
755+
"const:`signal.SIG_DFL` ou :py:const:`signal.SIG_IGN`), ele será ignorado."
753756

754757
#: ../../c-api/exceptions.rst:613
755758
msgid ""

library/asyncio-eventloop.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.11\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 20:37+0000\n"
15+
"POT-Creation-Date: 2025-11-07 17:12+0000\n"
1516
"PO-Revision-Date: 2025-09-22 16:49+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -654,6 +655,9 @@ msgid ""
654655
"`~socket.AF_INET6` depending on *host* (or the *family* argument, if "
655656
"provided)."
656657
msgstr ""
658+
"A família de sockets pode ser :py:const:`~socket.AF_INET` ou :py:const:"
659+
"`~socket.AF_INET6` dependendo do *host* (ou do argumento *family*, se "
660+
"fornecido)."
657661

658662
#: ../../library/asyncio-eventloop.rst:404
659663
msgid "The socket type will be :py:const:`~socket.SOCK_STREAM`."

library/ctypes.po

Lines changed: 52 additions & 7 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-05 16:53+0000\n"
15+
"POT-Creation-Date: 2025-11-07 17:12+0000\n"
1616
"PO-Revision-Date: 2025-09-22 16:49+0000\n"
1717
"Last-Translator: Marcos Moraes, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -574,7 +574,7 @@ msgstr ""
574574
"Em muitas plataformas chamar funções variádicas por meio do ctypes é "
575575
"exatamente o mesmo que chamar funções com um número fixo de parâmetros. Em "
576576
"algumas plataformas, em particular no ARM64 para plataformas Apple, a "
577-
"convenção chamada para funções variádicas é diferente daquela usada para "
577+
"convenção de chamada para funções variádicas é diferente daquela usada para "
578578
"funções regulares."
579579

580580
#: ../../library/ctypes.rst:384
@@ -792,6 +792,8 @@ msgid ""
792792
"Nested structures can also be initialized in the constructor in several "
793793
"ways::"
794794
msgstr ""
795+
"Estruturas aninhadas também podem ser inicializadas no construtor de várias "
796+
"maneiras::"
795797

796798
#: ../../library/ctypes.rst:618
797799
msgid ""
@@ -806,6 +808,11 @@ msgid ""
806808
"guaranteed by the library to work in the general case. Unions and "
807809
"structures with bit-fields should always be passed to functions by pointer."
808810
msgstr ""
811+
"O :mod:`ctypes` não suporta passar uniões ou estruturas com campos de bits "
812+
"(bit-fields) para funções por valor. Embora isso possa funcionar em x86 de "
813+
"32 bits, não é garantido pela biblioteca que funcione no caso geral. Uniões "
814+
"e estruturas com campos de bits devem sempre ser passadas para funções por "
815+
"ponteiro."
809816

810817
#: ../../library/ctypes.rst:638
811818
msgid "Structure/union alignment and byte order"
@@ -831,7 +838,7 @@ msgstr ""
831838

832839
#: ../../library/ctypes.rst:656
833840
msgid "Bit fields in structures and unions"
834-
msgstr ""
841+
msgstr "Campos de bit em estruturas e uniões"
835842

836843
#: ../../library/ctypes.rst:658
837844
msgid ""
@@ -849,32 +856,39 @@ msgid ""
849856
"Arrays are sequences, containing a fixed number of instances of the same "
850857
"type."
851858
msgstr ""
859+
"Vetores são sequências, contendo um número fixo de instâncias do mesmo tipo."
852860

853861
#: ../../library/ctypes.rst:680
854862
msgid ""
855863
"The recommended way to create array types is by multiplying a data type with "
856864
"a positive integer::"
857865
msgstr ""
866+
"A maneira recomendada de criar tipos vetor é multiplicando um tipo de dado "
867+
"por um inteiro positivo::"
858868

859869
#: ../../library/ctypes.rst:685
860870
msgid ""
861871
"Here is an example of a somewhat artificial data type, a structure "
862872
"containing 4 POINTs among other stuff::"
863873
msgstr ""
874+
"Aqui está um exemplo de um tipo de dado um tanto artificial, uma estrutura "
875+
"contendo 4 POINTs entre outras coisas::"
864876

865877
#: ../../library/ctypes.rst:701
866878
msgid "Instances are created in the usual way, by calling the class::"
867-
msgstr ""
879+
msgstr "Instâncias são criadas da maneira usual, chamando a classe::"
868880

869881
#: ../../library/ctypes.rst:707
870882
msgid ""
871883
"The above code print a series of ``0 0`` lines, because the array contents "
872884
"is initialized to zeros."
873885
msgstr ""
886+
"O código acima exibe uma série de linhas ``0 0``, pois o conteúdo do vetor é "
887+
"inicializado com zeros."
874888

875889
#: ../../library/ctypes.rst:710
876890
msgid "Initializers of the correct type can also be specified::"
877-
msgstr ""
891+
msgstr "Inicializadores do tipo correto também podem ser especificados::"
878892

879893
#: ../../library/ctypes.rst:726
880894
msgid "Pointers"
@@ -885,33 +899,43 @@ msgid ""
885899
"Pointer instances are created by calling the :func:`pointer` function on a :"
886900
"mod:`ctypes` type::"
887901
msgstr ""
902+
"Instâncias de ponteiro são criadas chamando a função :func:`pointer` em um "
903+
"tipo :mod:`ctypes`::"
888904

889905
#: ../../library/ctypes.rst:736
890906
msgid ""
891907
"Pointer instances have a :attr:`~_Pointer.contents` attribute which returns "
892908
"the object to which the pointer points, the ``i`` object above::"
893909
msgstr ""
910+
"Instâncias de ponteiros têm um atributo :attr:`~_Pointer.contents` que "
911+
"retorna o objeto para qual o ponteiro aponta, o objeto ``i`` acima::"
894912

895913
#: ../../library/ctypes.rst:743
896914
msgid ""
897915
"Note that :mod:`ctypes` does not have OOR (original object return), it "
898916
"constructs a new, equivalent object each time you retrieve an attribute::"
899917
msgstr ""
918+
"Note que o :mod:`ctypes` não possui OOR (retorno de objeto original), ele "
919+
"constrói um objeto novo e equivalente cada vez que você recupera um "
920+
"atributo::"
900921

901922
#: ../../library/ctypes.rst:752
902923
msgid ""
903924
"Assigning another :class:`c_int` instance to the pointer's contents "
904925
"attribute would cause the pointer to point to the memory location where this "
905926
"is stored::"
906927
msgstr ""
928+
"Atribuir outra instância :class:`c_int` ao atributo do conteúdo do ponteiro "
929+
"faria com que o ponteiro apontasse para o local de memória onde ela está "
930+
"armazenada::"
907931

908932
#: ../../library/ctypes.rst:764
909933
msgid "Pointer instances can also be indexed with integers::"
910-
msgstr ""
934+
msgstr "Instâncias de ponteiro também podem ser indexadas com inteiros::"
911935

912936
#: ../../library/ctypes.rst:770
913937
msgid "Assigning to an integer index changes the pointed to value::"
914-
msgstr ""
938+
msgstr "Atribuir a um índice inteiro altera o valor apontado::"
915939

916940
#: ../../library/ctypes.rst:779
917941
msgid ""
@@ -921,6 +945,11 @@ msgid ""
921945
"a C function, and you *know* that the pointer actually points to an array "
922946
"instead of a single item."
923947
msgstr ""
948+
"Também é possível usar índices diferentes de 0, mas você deve saber o que "
949+
"está fazendo, assim como em C: Você pode acessar ou alterar locais "
950+
"arbitrários da memória. Geralmente, você só usa este recurso se receber um "
951+
"ponteiro de uma função C, e você *sabe* que o ponteiro na verdade aponta "
952+
"para um vetor em vez de um único item."
924953

925954
#: ../../library/ctypes.rst:785
926955
msgid ""
@@ -929,18 +958,27 @@ msgid ""
929958
"the :func:`POINTER` function, which accepts any :mod:`ctypes` type, and "
930959
"returns a new type::"
931960
msgstr ""
961+
"Nos bastidores, a função :func:`pointer` faz mais do que simplesmente criar "
962+
"instâncias de ponteiro, ela precisa criar *tipos* de ponteiro primeiro. Isso "
963+
"é feito com a função :func:`POINTER`, que aceita qualquer tipo :mod:"
964+
"`ctypes`, e retorna um novo tipo::"
932965

933966
#: ../../library/ctypes.rst:801
934967
msgid ""
935968
"Calling the pointer type without an argument creates a ``NULL`` pointer. "
936969
"``NULL`` pointers have a ``False`` boolean value::"
937970
msgstr ""
971+
"Chamar o tipo ponteiro sem um argumento cria um ponteiro ``NULL``. Ponteiros "
972+
"``NULL`` possuem o valor booleano ``False``::"
938973

939974
#: ../../library/ctypes.rst:809
940975
msgid ""
941976
":mod:`ctypes` checks for ``NULL`` when dereferencing pointers (but "
942977
"dereferencing invalid non-\\ ``NULL`` pointers would crash Python)::"
943978
msgstr ""
979+
"O :mod:`ctypes` verifica por ``NULL`` ao desreferenciar ponteiros (mas "
980+
"desreferenciar ponteiros inválidos que não sejam ``NULL`` travaria o "
981+
"Python)::"
944982

945983
#: ../../library/ctypes.rst:828
946984
msgid "Type conversions"
@@ -968,6 +1006,8 @@ msgstr ""
9681006
#: ../../library/ctypes.rst:856
9691007
msgid "To set a POINTER type field to ``NULL``, you can assign ``None``::"
9701008
msgstr ""
1009+
"Para definir um campo do tipo PONTEIRO como ``NULL``, você pode atribuir "
1010+
"``None``::"
9711011

9721012
#: ../../library/ctypes.rst:863
9731013
msgid ""
@@ -977,6 +1017,11 @@ msgid ""
9771017
"accepts ``POINTER(c_int)`` pointers or :class:`c_int` arrays for its "
9781018
"``values`` field, but not instances of other types::"
9791019
msgstr ""
1020+
"Às vezes, você tem instâncias de tipos incompatíveis. Em C, você pode "
1021+
"converter um tipo em outro tipo. O :mod:`ctypes` fornece uma função :func:"
1022+
"`cast` que pode ser usada da mesma maneira. A estrutura ``Bar`` definida "
1023+
"acima aceita ponteiros ``POINTER(c_int)`` ou vetores :class:`c_int` para seu "
1024+
"campo ``values``, mas não instâncias de outros tipos::"
9801025

9811026
#: ../../library/ctypes.rst:875
9821027
msgid "For these cases, the :func:`cast` function is handy."

library/mimetypes.po

Lines changed: 10 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-10-27 16:33+0000\n"
15+
"POT-Creation-Date: 2025-11-07 17:12+0000\n"
1616
"PO-Revision-Date: 2025-09-22 16:50+0000\n"
1717
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -299,9 +299,9 @@ msgid ""
299299
"more than one MIME-type database; it provides an interface similar to the "
300300
"one of the :mod:`mimetypes` module."
301301
msgstr ""
302-
"A classe :class:`MimeTypes` pode ser útil para aplicações que podem querer "
303-
"mais de um banco de dados do tipo MIME; ela fornece uma interface semelhante "
304-
"à do módulo :mod:`mimetypes`."
302+
"A classe :class:`MimeTypes` pode ser útil para aplicações que possam querer "
303+
"mais de um banco de dados de tipos MIME; ela fornece uma interface "
304+
"semelhante à do módulo :mod:`mimetypes`."
305305

306306
#: ../../library/mimetypes.rst:187
307307
msgid ""
@@ -336,6 +336,12 @@ msgid ""
336336
"`.tar.gz` to allow the encoding and type to be recognized separately. This "
337337
"is initially a copy of the global :data:`suffix_map` defined in the module."
338338
msgstr ""
339+
"Dicionário mapeando sufixo para sufixo. Isso é usado para permitir o "
340+
"reconhecimento de arquivos codificados para os quais a codificação e o tipo "
341+
"são indicados pela mesma extensão. Por exemplo, a extensão :file:`.tgz` é "
342+
"mapeada para :file:`.tar.gz` para permitir que a codificação e o tipo sejam "
343+
"reconhecidos separadamente. Inicialmente, isso é uma cópia do :data:"
344+
"`suffix_map` global definido no módulo."
339345

340346
#: ../../library/mimetypes.rst:209
341347
msgid ""

potodo.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 63.42% done
2-
└── 3.11/ 63.42% done
1+
1 directory 63.47% done
2+
└── 3.11/ 63.47% done
33
├── distutils/ 25.81% done
44
│ ├── apiref.po 88 / 414 ( 21.0% translated)
55
│ ├── builtdist.po 51 / 128 ( 39.0% translated)
@@ -22,15 +22,15 @@
2222
│ ├── executionmodel.po 73 / 75 ( 97.0% translated)
2323
│ ├── import.po 192 / 207 ( 92.0% translated)
2424
│ └── lexical_analysis.po 288 / 299 ( 96.0% translated)
25-
├── library/ 56.57% done
25+
├── library/ 56.65% done
2626
│ ├── _thread.po 49 / 51 ( 96.0% translated)
2727
│ ├── abc.po 48 / 49 ( 97.0% translated)
2828
│ ├── argparse.po 305 / 335 ( 91.0% translated)
2929
│ ├── array.po 80 / 83 ( 96.0% translated)
3030
│ ├── ast.po 224 / 228 ( 98.0% translated)
3131
│ ├── asynchat.po 6 / 35 ( 17.0% translated)
3232
│ ├── asyncio-dev.po 16 / 42 ( 38.0% translated)
33-
│ ├── asyncio-eventloop.po 319 / 371 ( 85.0% translated)
33+
│ ├── asyncio-eventloop.po 320 / 371 ( 86.0% translated)
3434
│ ├── asyncio-future.po 9 / 61 ( 14.0% translated)
3535
│ ├── asyncio-platforms.po 6 / 25 ( 24.0% translated)
3636
│ ├── asyncio-policy.po 10 / 67 ( 14.0% translated)
@@ -56,7 +56,7 @@
5656
│ ├── configparser.po 178 / 186 ( 95.0% translated)
5757
│ ├── contextlib.po 42 / 130 ( 32.0% translated)
5858
│ ├── crypt.po 7 / 35 ( 20.0% translated)
59-
│ ├── ctypes.po 127 / 436 ( 29.0% translated)
59+
│ ├── ctypes.po 148 / 436 ( 33.0% translated)
6060
│ ├── curses.ascii.po 68 / 69 ( 98.0% translated)
6161
│ ├── curses.panel.po 22 / 23 ( 95.0% translated)
6262
│ ├── curses.po 64 / 485 ( 13.0% translated)
@@ -114,7 +114,7 @@
114114
│ ├── logging.po 100 / 351 ( 28.0% translated)
115115
│ ├── mailbox.po 20 / 285 ( 7.0% translated)
116116
│ ├── mailcap.po 2 / 15 ( 13.0% translated)
117-
│ ├── mimetypes.po 39 / 50 ( 78.0% translated)
117+
│ ├── mimetypes.po 40 / 50 ( 80.0% translated)
118118
│ ├── mmap.po 22 / 55 ( 40.0% translated)
119119
│ ├── msilib.po 7 / 97 ( 7.0% translated)
120120
│ ├── multiprocessing.po 293 / 529 ( 55.0% translated)
@@ -235,8 +235,8 @@
235235
│ ├── 3.5.po 128 / 541 ( 23.0% translated)
236236
│ ├── 3.6.po 238 / 524 ( 45.0% translated)
237237
│ └── 3.7.po 247 / 563 ( 43.0% translated)
238-
└── c-api/ 50.57% done
239-
├── exceptions.po 209 / 347 ( 60.0% translated)
238+
└── c-api/ 50.60% done
239+
├── exceptions.po 210 / 347 ( 60.0% translated)
240240
├── float.po 34 / 35 ( 97.0% translated)
241241
├── frame.po 20 / 24 ( 83.0% translated)
242242
├── gcsupport.po 9 / 42 ( 21.0% translated)

0 commit comments

Comments
 (0)