Skip to content

Commit 6c88546

Browse files
Update translation
Co-Authored-By: Rainer Terroso Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent ad3d878 commit 6c88546

File tree

4 files changed

+62
-9
lines changed

4 files changed

+62
-9
lines changed

c-api/init.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ msgid ""
927927
"independent may be installed in :file:`/usr/local`."
928928
msgstr ""
929929
"Contexto: O exec-prefix difere do prefixo padrão quando arquivos dependentes "
930-
"da plataforma (como executáveis ​​e bibliotecas compartilhadas) são instalados "
930+
"da plataforma (como executáveis e bibliotecas compartilhadas) são instalados "
931931
"em uma árvore de diretórios diferente. Em uma instalação típica, arquivos "
932932
"dependentes da plataforma podem ser instalados na subárvore :file:`/usr/"
933933
"local/plat`, enquanto arquivos independentes da plataforma podem ser "

library/asyncio-dev.po

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ msgstr ""
183183

184184
#: ../../library/asyncio-dev.rst:87
185185
msgid "loop.call_soon_threadsafe(fut.cancel)"
186-
msgstr ""
186+
msgstr "loop.call_soon_threadsafe(fut.cancel)"
187187

188188
#: ../../library/asyncio-dev.rst:89
189189
msgid ""
@@ -203,6 +203,14 @@ msgid ""
203203
"# Wait for the result:\n"
204204
"result = future.result()"
205205
msgstr ""
206+
"async def coro_func():\n"
207+
" return await asyncio.sleep(1, 42)\n"
208+
"\n"
209+
"# Later in another OS thread:\n"
210+
"\n"
211+
"future = asyncio.run_coroutine_threadsafe(coro_func(), loop)\n"
212+
"# Wait for the result:\n"
213+
"result = future.result()"
206214

207215
#: ../../library/asyncio-dev.rst:102
208216
msgid "To handle signals the event loop must be run in the main thread."
@@ -267,7 +275,7 @@ msgstr ""
267275

268276
#: ../../library/asyncio-dev.rst:148
269277
msgid "logging.getLogger(\"asyncio\").setLevel(logging.WARNING)"
270-
msgstr ""
278+
msgstr "logging.getLogger(\"asyncio\").setLevel(logging.WARNING)"
271279

272280
#: ../../library/asyncio-dev.rst:151
273281
msgid ""
@@ -309,6 +317,8 @@ msgid ""
309317
"test.py:7: RuntimeWarning: coroutine 'test' was never awaited\n"
310318
" test()"
311319
msgstr ""
320+
"test.py:7: RuntimeWarning: coroutine 'test' was never awaited\n"
321+
" test()"
312322

313323
#: ../../library/asyncio-dev.rst:181 ../../library/asyncio-dev.rst:237
314324
msgid "Output in debug mode::"
@@ -327,6 +337,16 @@ msgid ""
327337
" test()\n"
328338
" test()"
329339
msgstr ""
340+
"test.py:7: RuntimeWarning: coroutine 'test' was never awaited\n"
341+
"Coroutine created at (most recent call last)\n"
342+
" File \"../t.py\", line 9, in <module>\n"
343+
" asyncio.run(main(), debug=True)\n"
344+
"\n"
345+
" < .. >\n"
346+
"\n"
347+
" File \"../t.py\", line 7, in main\n"
348+
" test()\n"
349+
" test()"
330350

331351
#: ../../library/asyncio-dev.rst:194
332352
msgid ""
@@ -339,6 +359,8 @@ msgid ""
339359
"async def main():\n"
340360
" await test()"
341361
msgstr ""
362+
"async def main():\n"
363+
" await test()"
342364

343365
#: ../../library/asyncio-dev.rst:202
344366
msgid "Detect never-retrieved exceptions"
@@ -368,6 +390,15 @@ msgid ""
368390
"\n"
369391
"asyncio.run(main())"
370392
msgstr ""
393+
"import asyncio\n"
394+
"\n"
395+
"async def bug():\n"
396+
" raise Exception(\"not consumed\")\n"
397+
"\n"
398+
"async def main():\n"
399+
" asyncio.create_task(bug())\n"
400+
"\n"
401+
"asyncio.run(main())"
371402

372403
#: ../../library/asyncio-dev.rst:223
373404
msgid ""
@@ -380,6 +411,14 @@ msgid ""
380411
" raise Exception(\"not consumed\")\n"
381412
"Exception: not consumed"
382413
msgstr ""
414+
"Task exception was never retrieved\n"
415+
"future: <Task finished coro=<bug() done, defined at test.py:3>\n"
416+
" exception=Exception('not consumed')>\n"
417+
"\n"
418+
"Traceback (most recent call last):\n"
419+
" File \"test.py\", line 4, in bug\n"
420+
" raise Exception(\"not consumed\")\n"
421+
"Exception: not consumed"
383422

384423
#: ../../library/asyncio-dev.rst:232
385424
msgid ""
@@ -389,7 +428,7 @@ msgstr ""
389428

390429
#: ../../library/asyncio-dev.rst:235
391430
msgid "asyncio.run(main(), debug=True)"
392-
msgstr ""
431+
msgstr "asyncio.run(main(), debug=True)"
393432

394433
#: ../../library/asyncio-dev.rst:239
395434
msgid ""
@@ -408,3 +447,17 @@ msgid ""
408447
" raise Exception(\"not consumed\")\n"
409448
"Exception: not consumed"
410449
msgstr ""
450+
"Task exception was never retrieved\n"
451+
"future: <Task finished coro=<bug() done, defined at test.py:3>\n"
452+
" exception=Exception('not consumed') created at asyncio/tasks.py:321>\n"
453+
"\n"
454+
"source_traceback: Object created at (most recent call last):\n"
455+
" File \"../t.py\", line 9, in <module>\n"
456+
" asyncio.run(main(), debug=True)\n"
457+
"\n"
458+
"< .. >\n"
459+
"\n"
460+
"Traceback (most recent call last):\n"
461+
" File \"../t.py\", line 4, in bug\n"
462+
" raise Exception(\"not consumed\")\n"
463+
"Exception: not consumed"

potodo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 66.00% done
2-
└── 3.12/ 66.00% done
1+
1 directory 66.02% done
2+
└── 3.12/ 66.02% done
33
├── c-api/ 51.99% done
44
│ ├── exceptions.po 63.0% translated 232/366
55
│ ├── frame.po 80.0% translated 29/36
@@ -38,11 +38,11 @@
3838
│ ├── sorting.po 66.0% translated 50/75
3939
│ └── unicode.po 20.0% translated 30/145
4040
├── installing/ 100.00% done
41-
├── library/ 59.35% done
41+
├── library/ 59.38% done
4242
│ ├── 2to3.po 91.0% translated 121/132
4343
│ ├── array.po 95.0% translated 80/84
4444
│ ├── ast.po 83.0% translated 255/306
45-
│ ├── asyncio-dev.po 49.0% translated 27/55
45+
│ ├── asyncio-dev.po 67.0% translated 37/55
4646
│ ├── asyncio-eventloop.po 80.0% translated 312/390
4747
│ ├── asyncio-future.po 14.0% translated 9/64
4848
│ ├── asyncio-platforms.po 23.0% translated 6/26

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "66.0%", "translated": 44286, "entries": 62010, "updated_at": "2025-11-27T23:39:30+00:00Z"}
1+
{"completion": "66.02%", "translated": 44296, "entries": 62010, "updated_at": "2025-11-28T23:39:13+00:00Z"}

0 commit comments

Comments
 (0)