Skip to content

Commit 9f6c256

Browse files
Update translation
Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com>
1 parent eaaba77 commit 9f6c256

4 files changed

Lines changed: 34 additions & 12 deletions

File tree

glossary.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2235,7 +2235,7 @@ msgstr ""
22352235
"pode ser construída a partir de uma expressão :keyword:`lambda`, como "
22362236
"``lambda r: (r[0], r[2])``. Além disso, :func:`operator.attrgetter`, :func:"
22372237
"`operator.itemgetter` e :func:`operator.methodcaller` são três construtores "
2238-
"de funções-chave. Consulte :ref:`<sortinghowto>` para obter exemplos de como "
2238+
"de funções-chave. Consulte :ref:`sortinghowto` para obter exemplos de como "
22392239
"criar e usar funções-chave."
22402240

22412241
#: ../../glossary.rst:902

library/curses.po

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
# python-doc bot, 2025
88
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
99
# Nicolas Noda Uesu, 2025
10+
# Adorilson Bezerra <adorilson@gmail.com>, 2026
1011
#
1112
#, fuzzy
1213
msgid ""
1314
msgstr ""
1415
"Project-Id-Version: Python 3.14\n"
1516
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-02-19 14:43+0000\n"
17+
"POT-Creation-Date: 2026-03-01 14:19+0000\n"
1718
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
18-
"Last-Translator: Nicolas Noda Uesu, 2025\n"
19+
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1920
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2021
"teams/5390/pt_BR/)\n"
2122
"MIME-Version: 1.0\n"
@@ -135,28 +136,35 @@ msgstr "Funções"
135136

136137
#: ../../library/curses.rst:58
137138
msgid "The module :mod:`!curses` defines the following exception:"
138-
msgstr ""
139+
msgstr "O módulo :mod:`!curses` define a seguinte exceção:"
139140

140141
#: ../../library/curses.rst:63
141142
msgid "Exception raised when a curses library function returns an error."
142143
msgstr ""
144+
"Exceção lançada quando uma função da biblioteca curses retorna um erro."
143145

144146
#: ../../library/curses.rst:67
145147
msgid ""
146148
"Whenever *x* or *y* arguments to a function or a method are optional, they "
147149
"default to the current cursor location. Whenever *attr* is optional, it "
148150
"defaults to :const:`A_NORMAL`."
149151
msgstr ""
152+
"Sempre que os argumentos *x* ou *y* de uma função ou método forem opcionais, "
153+
"o valor predefinido é a posição atual do cursor. Sempre que *attr* for "
154+
"opcional, o valor predefinido é :const:`A_NORMAL`."
150155

151156
#: ../../library/curses.rst:71
152157
msgid "The module :mod:`!curses` defines the following functions:"
153-
msgstr ""
158+
msgstr "O módulo :mod:`!curses` define as seguintes funções:"
154159

155160
#: ../../library/curses.rst:76
156161
msgid ""
157162
"Allow use of default values for colors on terminals supporting this feature. "
158163
"Use this to support transparency in your application."
159164
msgstr ""
165+
"Permite o uso de valores predefinidos de cores em terminais que oferecem "
166+
"suporte a esta funcionalidade. Use isto para prover suporte à transparência "
167+
"na sua aplicação."
160168

161169
#: ../../library/curses.rst:79
162170
msgid ""
@@ -165,10 +173,14 @@ msgid ""
165173
"default background and ``init_pair(x, -1, COLOR_BLUE)`` will initialize pair "
166174
"*x* as default foreground on blue."
167175
msgstr ""
176+
"Atribui as cores predefinidas do terminal (primeiro plano/fundo) ao número "
177+
"de cor ``-1``. Assim, ``init_pair(x, COLOR_RED, -1)`` inicializará o par *x* "
178+
"com fundo predefinido em vermelho e ``init_pair(x, -1, COLOR_BLUE)`` "
179+
"inicializará o par *x* como primeiro plano predefinido em azul."
168180

169181
#: ../../library/curses.rst:84
170182
msgid "Change the definition of the color-pair ``0`` to ``(fg, bg)``."
171-
msgstr ""
183+
msgstr "Altera a definição do par de cores ``0`` para ``(fg, bg)``."
172184

173185
#: ../../library/curses.rst:91
174186
msgid ""
@@ -803,7 +815,7 @@ msgstr ""
803815

804816
#: ../../library/curses.rst:701
805817
msgid "Equivalent to ``assume_default_colors(-1, -1)``."
806-
msgstr ""
818+
msgstr "Equivalente a ``assume_default_colors(-1, -1)``."
807819

808820
#: ../../library/curses.rst:706
809821
msgid ""
@@ -818,6 +830,16 @@ msgid ""
818830
"On exit (whether normally or by exception) it restores cooked mode, turns on "
819831
"echo, and disables the terminal keypad."
820832
msgstr ""
833+
"Inicializa curses e chama outro objeto chamável, *func*, que deve ser o "
834+
"resto da sua aplicação que usa curses. Se a aplicação levantar uma exceção, "
835+
"esta função restaurará o terminal para um estado coerente antes de levantá-"
836+
"la novamente e gerar um traceback. O objeto chamável *func* recebe então a "
837+
"janela principal 'stdscr' como seu primeiro argumento, seguido de quaisquer "
838+
"outros argumentos passados para :func:`!wrapper`. Antes de chamar *func*, :"
839+
"func:`!wrapper` ativa o modo cbreak, desativa o eco, ativa o teclado do "
840+
"terminal e inicializa as cores, se o terminal tiver suporte a cores. Na "
841+
"saída (seja normal ou por exceção), restaura o modo cozinhado, ativa o eco e "
842+
"desativa o teclado do terminal."
821843

822844
#: ../../library/curses.rst:720
823845
msgid "Window Objects"

potodo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 60.99% done
2-
└── 3.14/ 60.99% done
1+
1 directory 61.00% done
2+
└── 3.14/ 61.00% done
33
├── bugs.po 96.0% translated 30/31
44
├── c-api/ 53.75% done
55
│ ├── call.po 97.0% translated 97/99
@@ -53,7 +53,7 @@
5353
│ ├── sorting.po 54.0% translated 50/92
5454
│ └── unicode.po 20.0% translated 30/145
5555
├── installing/ 100.00% done
56-
├── library/ 60.21% done
56+
├── library/ 60.24% done
5757
│ ├── __future__.po 91.0% translated 45/49
5858
│ ├── argparse.po 99.0% translated 397/400
5959
│ ├── array.po 97.0% translated 85/87
@@ -93,7 +93,7 @@
9393
│ ├── ctypes.po 55.0% translated 348/628
9494
│ ├── curses.ascii.po 98.0% translated 68/69
9595
│ ├── curses.panel.po 95.0% translated 22/23
96-
│ ├── curses.po 13.0% translated 68/491
96+
│ ├── curses.po 15.0% translated 77/491
9797
│ ├── dataclasses.po 44.0% translated 71/158
9898
│ ├── datetime.po 94.0% translated 623/657
9999
│ ├── dbm.po 84.0% translated 91/108

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "60.99%", "translated": 53573, "entries": 82477, "updated_at": "2026-03-01T23:09:59+00:00Z"}
1+
{"completion": "61.0%", "translated": 53582, "entries": 82477, "updated_at": "2026-03-02T23:10:24+00:00Z"}

0 commit comments

Comments
 (0)