Skip to content

Commit 1f5fbd6

Browse files
clacriClaudiacmaureir
authored
faq_design translation (#1564)
* faq_design translation first * solving build error * Update faq/design.po Co-authored-by: Claudia <claudia@carvel.local> Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
1 parent 7c2c955 commit 1f5fbd6

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

dictionaries/faq_design.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
closing
2+
generator
13
irrestricto

faq/design.po

+13-4
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
14-
"PO-Revision-Date: 2021-08-02 11:17+0200\n"
15-
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
14+
"PO-Revision-Date: 2021-10-22 14:43+0100\n"
15+
"Last-Translator: Claudia Millan <clmilneb@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.9.1\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/faq/design.rst:3
2526
msgid "Design and History FAQ"
@@ -501,6 +502,9 @@ msgid ""
501502
"else``. For literal values, or constants within a namespace, you can also "
502503
"use a ``match ... case`` statement."
503504
msgstr ""
505+
"Puede hacer esto con bastante facilidad con una secuencia de ``if... "
506+
"elif... elif... else``. Para valores literales, o constantes dentro de un "
507+
"espacio de nombres, también puede usar una declaración ``match ... case``."
504508

505509
#: ../Doc/faq/design.rst:265
506510
msgid ""
@@ -1344,7 +1348,7 @@ msgstr ""
13441348

13451349
#: ../Doc/faq/design.rst:712
13461350
msgid "Why don't generators support the with statement?"
1347-
msgstr ""
1351+
msgstr "¿Por qué los generadores no admiten la declaración with?"
13481352

13491353
#: ../Doc/faq/design.rst:714
13501354
msgid ""
@@ -1353,6 +1357,11 @@ msgid ""
13531357
"iterator run to completion, no closing is needed. When it is, wrap it as "
13541358
"\"contextlib.closing(generator)\" in the 'with' statement."
13551359
msgstr ""
1360+
"Por razones técnicas, un generador utilizado directamente como gestor de "
1361+
"contexto no funcionaría correctamente. Cuando, como es más común, un "
1362+
"generador se utiliza como iterador ejecutado hasta su finalización, no es "
1363+
"necesario cerrar. Cuando lo esté, envuélvalo como un\"contextlib."
1364+
"closing(generator)\" en la instrucción 'with'."
13561365

13571366
#: ../Doc/faq/design.rst:721
13581367
msgid "Why are colons required for the if/while/def/class statements?"

0 commit comments

Comments
 (0)