Skip to content

Commit 6cf6519

Browse files
Update translations
1 parent 1df768f commit 6cf6519

25 files changed

Lines changed: 18354 additions & 17439 deletions

c-api/exceptions.po

Lines changed: 202 additions & 170 deletions
Large diffs are not rendered by default.

c-api/init.po

Lines changed: 392 additions & 419 deletions
Large diffs are not rendered by default.

c-api/typeobj.po

Lines changed: 514 additions & 487 deletions
Large diffs are not rendered by default.

c-api/unicode.po

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.14\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2025-05-30 14:22+0000\n"
19+
"POT-Creation-Date: 2025-06-13 14:21+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
2121
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
2222
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2251,10 +2251,10 @@ msgid "Write the single Unicode character *ch* into *writer*."
22512251
msgstr ""
22522252

22532253
#: ../../c-api/unicode.rst:1786 ../../c-api/unicode.rst:1796
2254-
#: ../../c-api/unicode.rst:1808 ../../c-api/unicode.rst:1817
2255-
#: ../../c-api/unicode.rst:1824 ../../c-api/unicode.rst:1831
2256-
#: ../../c-api/unicode.rst:1842 ../../c-api/unicode.rst:1849
2257-
#: ../../c-api/unicode.rst:1868
2254+
#: ../../c-api/unicode.rst:1811 ../../c-api/unicode.rst:1823
2255+
#: ../../c-api/unicode.rst:1832 ../../c-api/unicode.rst:1839
2256+
#: ../../c-api/unicode.rst:1846 ../../c-api/unicode.rst:1857
2257+
#: ../../c-api/unicode.rst:1864 ../../c-api/unicode.rst:1883
22582258
msgid ""
22592259
"On success, return ``0``. On error, set an exception, leave the writer "
22602260
"unchanged, and return ``-1``."
@@ -2266,7 +2266,8 @@ msgid ""
22662266
"*writer*."
22672267
msgstr ""
22682268

2269-
#: ../../c-api/unicode.rst:1793 ../../c-api/unicode.rst:1857
2269+
#: ../../c-api/unicode.rst:1793 ../../c-api/unicode.rst:1805
2270+
#: ../../c-api/unicode.rst:1872
22702271
msgid ""
22712272
"*size* is the string length in bytes. If *size* is equal to ``-1``, call "
22722273
"``strlen(str)`` to get the string length."
@@ -2277,89 +2278,99 @@ msgid "See also :c:func:`PyUnicodeWriter_DecodeUTF8Stateful`."
22772278
msgstr ""
22782279

22792280
#: ../../c-api/unicode.rst:1803
2280-
msgid "Writer the wide string *str* into *writer*."
2281+
msgid "Write the ASCII string *str* into *writer*."
22812282
msgstr ""
22822283

2283-
#: ../../c-api/unicode.rst:1805
2284+
#: ../../c-api/unicode.rst:1808
2285+
msgid ""
2286+
"*str* must only contain ASCII characters. The behavior is undefined if *str* "
2287+
"contains non-ASCII characters."
2288+
msgstr ""
2289+
2290+
#: ../../c-api/unicode.rst:1818
2291+
msgid "Write the wide string *str* into *writer*."
2292+
msgstr ""
2293+
2294+
#: ../../c-api/unicode.rst:1820
22842295
msgid ""
22852296
"*size* is a number of wide characters. If *size* is equal to ``-1``, call "
22862297
"``wcslen(str)`` to get the string length."
22872298
msgstr ""
22882299

2289-
#: ../../c-api/unicode.rst:1813
2300+
#: ../../c-api/unicode.rst:1828
22902301
msgid "Writer the UCS4 string *str* into *writer*."
22912302
msgstr ""
22922303

2293-
#: ../../c-api/unicode.rst:1815
2304+
#: ../../c-api/unicode.rst:1830
22942305
msgid "*size* is a number of UCS4 characters."
22952306
msgstr ""
22962307

2297-
#: ../../c-api/unicode.rst:1822
2308+
#: ../../c-api/unicode.rst:1837
22982309
msgid ""
22992310
"Call :c:func:`PyObject_Str` on *obj* and write the output into *writer*."
23002311
msgstr ""
23012312

2302-
#: ../../c-api/unicode.rst:1829
2313+
#: ../../c-api/unicode.rst:1844
23032314
msgid ""
23042315
"Call :c:func:`PyObject_Repr` on *obj* and write the output into *writer*."
23052316
msgstr ""
23062317

2307-
#: ../../c-api/unicode.rst:1836
2318+
#: ../../c-api/unicode.rst:1851
23082319
msgid "Write the substring ``str[start:end]`` into *writer*."
23092320
msgstr ""
23102321

2311-
#: ../../c-api/unicode.rst:1838
2322+
#: ../../c-api/unicode.rst:1853
23122323
msgid ""
23132324
"*str* must be Python :class:`str` object. *start* must be greater than or "
23142325
"equal to 0, and less than or equal to *end*. *end* must be less than or "
23152326
"equal to *str* length."
23162327
msgstr ""
23172328

2318-
#: ../../c-api/unicode.rst:1847
2329+
#: ../../c-api/unicode.rst:1862
23192330
msgid ""
23202331
"Similar to :c:func:`PyUnicode_FromFormat`, but write the output directly "
23212332
"into *writer*."
23222333
msgstr ""
23232334

2324-
#: ../../c-api/unicode.rst:1854
2335+
#: ../../c-api/unicode.rst:1869
23252336
msgid ""
23262337
"Decode the string *str* from UTF-8 with *errors* error handler and write the "
23272338
"output into *writer*."
23282339
msgstr ""
23292340

2330-
#: ../../c-api/unicode.rst:1860
2341+
#: ../../c-api/unicode.rst:1875
23312342
msgid ""
23322343
"*errors* is an :ref:`error handler <error-handlers>` name, such as "
23332344
"``\"replace\"``. If *errors* is ``NULL``, use the strict error handler."
23342345
msgstr ""
23352346

2336-
#: ../../c-api/unicode.rst:1863
2347+
#: ../../c-api/unicode.rst:1878
23372348
msgid ""
23382349
"If *consumed* is not ``NULL``, set *\\*consumed* to the number of decoded "
23392350
"bytes on success. If *consumed* is ``NULL``, treat trailing incomplete UTF-8 "
23402351
"byte sequences as an error."
23412352
msgstr ""
23422353

2343-
#: ../../c-api/unicode.rst:1871
2354+
#: ../../c-api/unicode.rst:1886
23442355
msgid "See also :c:func:`PyUnicodeWriter_WriteUTF8`."
23452356
msgstr ""
23462357

2347-
#: ../../c-api/unicode.rst:1874
2358+
#: ../../c-api/unicode.rst:1889
23482359
msgid "Deprecated API"
23492360
msgstr ""
23502361

2351-
#: ../../c-api/unicode.rst:1876
2362+
#: ../../c-api/unicode.rst:1891
23522363
msgid "The following API is deprecated."
23532364
msgstr ""
23542365

2355-
#: ../../c-api/unicode.rst:1880
2366+
#: ../../c-api/unicode.rst:1895
23562367
msgid ""
23572368
"This is a typedef of :c:type:`wchar_t`, which is a 16-bit type or 32-bit "
23582369
"type depending on the platform. Please use :c:type:`wchar_t` directly "
23592370
"instead."
23602371
msgstr ""
23612372

2362-
#: ../../c-api/unicode.rst:1884
2373+
#: ../../c-api/unicode.rst:1899
23632374
msgid ""
23642375
"In previous versions, this was a 16-bit type or a 32-bit type depending on "
23652376
"whether you selected a \"narrow\" or \"wide\" Unicode version of Python at "
@@ -2369,26 +2380,26 @@ msgstr ""
23692380
"se você selecionava uma versão Unicode \"estreita\" ou \"ampla\" do Python "
23702381
"no momento da construção."
23712382

2372-
#: ../../c-api/unicode.rst:1894
2383+
#: ../../c-api/unicode.rst:1909
23732384
msgid ""
23742385
"Do nothing and return ``0``. This API is kept only for backward "
23752386
"compatibility, but there are no plans to remove it."
23762387
msgstr ""
23772388

2378-
#: ../../c-api/unicode.rst:1900
2389+
#: ../../c-api/unicode.rst:1915
23792390
msgid ""
23802391
"This API does nothing since Python 3.12. Previously, this needed to be "
23812392
"called for each string created using the old API (:c:func:`!"
23822393
"PyUnicode_FromUnicode` or similar)."
23832394
msgstr ""
23842395

2385-
#: ../../c-api/unicode.rst:1908
2396+
#: ../../c-api/unicode.rst:1923
23862397
msgid ""
23872398
"Do nothing and return ``1``. This API is kept only for backward "
23882399
"compatibility, but there are no plans to remove it."
23892400
msgstr ""
23902401

2391-
#: ../../c-api/unicode.rst:1914
2402+
#: ../../c-api/unicode.rst:1929
23922403
msgid ""
23932404
"This API does nothing since Python 3.12. Previously, this could be called to "
23942405
"check if :c:func:`PyUnicode_READY` is necessary."

howto/urllib2.po

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.14\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2025-06-06 14:20+0000\n"
20+
"POT-Creation-Date: 2025-06-13 14:21+0000\n"
2121
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
2222
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
2323
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1088,22 +1088,29 @@ msgid ""
10881088
"locations through a proxy. However, this can be enabled by extending urllib."
10891089
"request as shown in the recipe [#]_."
10901090
msgstr ""
1091+
"Atualmente, ``urllib.request`` *não* oferece suporte à busca de locais "
1092+
"``https`` por meio de um proxy. No entanto, isso pode ser habilitado "
1093+
"estendendo urllib.request, conforme mostrado na receita [#]_."
10911094

10921095
#: ../../howto/urllib2.rst:498
10931096
msgid ""
10941097
"``HTTP_PROXY`` will be ignored if a variable ``REQUEST_METHOD`` is set; see "
10951098
"the documentation on :func:`~urllib.request.getproxies`."
10961099
msgstr ""
1100+
"``HTTP_PROXY`` será ignorado se uma variável ``REQUEST_METHOD`` estiver "
1101+
"definida; veja a documentação em :func:`~urllib.request.getproxies`."
10971102

10981103
#: ../../howto/urllib2.rst:503
10991104
msgid "Sockets and Layers"
1100-
msgstr ""
1105+
msgstr "Socekts e camadas"
11011106

11021107
#: ../../howto/urllib2.rst:505
11031108
msgid ""
11041109
"The Python support for fetching resources from the web is layered. urllib "
11051110
"uses the :mod:`http.client` library, which in turn uses the socket library."
11061111
msgstr ""
1112+
"O suporte do Python para buscar recursos web é em camadas. urllib usa a "
1113+
"biblioteca :mod:`http.client`, que por sua vez usa a biblioteca de sockets."
11071114

11081115
#: ../../howto/urllib2.rst:508
11091116
msgid ""
@@ -1114,6 +1121,13 @@ msgid ""
11141121
"request levels. However, you can set the default timeout globally for all "
11151122
"sockets using ::"
11161123
msgstr ""
1124+
"A partir do Python 2.3, você pode especificar quanto tempo um soquete deve "
1125+
"aguardar por uma resposta antes de atingir o tempo limite. Isso pode ser "
1126+
"útil em aplicações que precisam buscar páginas web. Por padrão, o módulo "
1127+
"socket *não tem tempo limite* e pode travar. Atualmente, o tempo limite do "
1128+
"soquete não é exposto nos níveis http.client ou urllib.request. No entanto, "
1129+
"você pode definir o tempo limite padrão globalmente para todos os soquetes "
1130+
"usando ::"
11171131

11181132
#: ../../howto/urllib2.rst:514
11191133
msgid ""
@@ -1129,6 +1143,17 @@ msgid ""
11291143
"req = urllib.request.Request('http://www.voidspace.org.uk')\n"
11301144
"response = urllib.request.urlopen(req)"
11311145
msgstr ""
1146+
"import socket\n"
1147+
"import urllib.request\n"
1148+
"\n"
1149+
"# tempo limite em secungos\n"
1150+
"timeout = 10\n"
1151+
"socket.setdefaulttimeout(timeout)\n"
1152+
"\n"
1153+
"# isso chamada a urllib.request.urlopen agora usa o tempo limite padrão\n"
1154+
"# que nós definidos no módulo socket\n"
1155+
"req = urllib.request.Request('http://www.voidspace.org.uk')\n"
1156+
"response = urllib.request.urlopen(req)"
11321157

11331158
#: ../../howto/urllib2.rst:531
11341159
msgid "Footnotes"
@@ -1148,18 +1173,25 @@ msgid ""
11481173
"using web standards is much more sensible. Unfortunately a lot of sites "
11491174
"still send different versions to different browsers."
11501175
msgstr ""
1176+
"A detecção de navegadores é uma prática muito ruim para o design de sites; "
1177+
"construir sites usando padrões web é muito mais sensato. Infelizmente, "
1178+
"muitos sites ainda enviam versões diferentes para navegadores diferentes."
11511179

11521180
#: ../../howto/urllib2.rst:539
11531181
msgid ""
11541182
"The user agent for MSIE 6 is *'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT "
11551183
"5.1; SV1; .NET CLR 1.1.4322)'*"
11561184
msgstr ""
1185+
"O user agent para MSIE 6 é *'Mozilla/4.0 (compatível; MSIE 6.0; Windows NT "
1186+
"5.1; SV1; .NET CLR 1.1.4322)'*"
11571187

11581188
#: ../../howto/urllib2.rst:541
11591189
msgid ""
11601190
"For details of more HTTP request headers, see `Quick Reference to HTTP "
11611191
"Headers`_."
11621192
msgstr ""
1193+
"Para obter detalhes sobre mais cabeçalhos de solicitação HTTP, consulte "
1194+
"`Referência rápida para cabeçalhos HTTP`_."
11631195

11641196
#: ../../howto/urllib2.rst:543
11651197
msgid ""
@@ -1168,10 +1200,17 @@ msgid ""
11681200
"set to use the proxy, which urllib picks up on. In order to test scripts "
11691201
"with a localhost server, I have to prevent urllib from using the proxy."
11701202
msgstr ""
1203+
"No meu caso, preciso usar um proxy para acessar a internet no trabalho. Se "
1204+
"você tentar buscar URLs *localhost* por meio desse proxy, ele as bloqueia. O "
1205+
"IE está configurado para usar o proxy, que o urllib detecta. Para testar "
1206+
"scripts com um servidor localhost, preciso impedir que o urllib use o proxy."
11711207

11721208
#: ../../howto/urllib2.rst:548
11731209
msgid ""
11741210
"urllib opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe <https://"
11751211
"code.activestate.com/recipes/456195-urrlib2-opener-for-ssl-proxy-connect-"
11761212
"method/>`_."
11771213
msgstr ""
1214+
"Abridor urllib para proxy SSL (método CONNECT): `Receita do livro de "
1215+
"receitas ASPN <https://code.activestate.com/recipes/456195-urrlib2-opener-"
1216+
"for-ssl-proxy-connect-method/>`_."

0 commit comments

Comments
 (0)