Skip to content

faq_design translation #1564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dictionaries/faq_design.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
closing
generator
irrestricto
17 changes: 13 additions & 4 deletions faq/design.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
"PO-Revision-Date: 2021-08-02 11:17+0200\n"
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
"PO-Revision-Date: 2021-10-22 14:43+0100\n"
"Last-Translator: Claudia Millan <clmilneb@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 3.0\n"

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

#: ../Doc/faq/design.rst:265
msgid ""
Expand Down Expand Up @@ -1344,7 +1348,7 @@ msgstr ""

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

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

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