Skip to content

Commit 9071c7e

Browse files
cmaureircacrespo
andauthored
Finalizando faq (#1235)
* Finalizando faq - Corrigiendo entradas fuzzy, - Traduciendo nuevas entradas - Agregando palabaras nuevas * Apply suggestions from code review * powrap faq/design.po Co-authored-by: Carlos A. Crespo <lvccrespo@gmail.com>
1 parent de993de commit 9071c7e

File tree

8 files changed

+147
-153
lines changed

8 files changed

+147
-153
lines changed

dictionaries/faq_design.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
irrestricto

faq/design.po

+15-9
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-03-19 11:16+0100\n"
14-
"PO-Revision-Date: 2020-06-28 19:40+0200\n"
14+
"PO-Revision-Date: 2021-08-02 11:17+0200\n"
1515
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@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.8.0\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/faq/design.rst:3
2526
msgid "Design and History FAQ"
@@ -55,7 +56,6 @@ msgstr ""
5556
"los programadores de C encontrarán un fragmento de código como este::"
5657

5758
#: ../Doc/faq/design.rst:26
58-
#, fuzzy
5959
msgid ""
6060
"Only the ``x++`` statement is executed if the condition is true, but the "
6161
"indentation leads many to believe otherwise. Even experienced C programmers "
@@ -75,6 +75,11 @@ msgid ""
7575
"is normal to feel somewhat uneasy when reading (or being required to write) "
7676
"in a different one."
7777
msgstr ""
78+
"Debido a que no hay corchetes de inicio/fin, Python es mucho menos propenso "
79+
"a conflictos de estilo de codificación. En C hay muchas formas diferentes de "
80+
"colocar llaves. Después de acostumbrarse a leer y escribir código usando un "
81+
"estilo en particular, es normal sentirse algo incómodo al leer (o tener que "
82+
"escribir) en uno diferente."
7883

7984
#: ../Doc/faq/design.rst:38
8085
msgid ""
@@ -1101,15 +1106,13 @@ msgstr ""
11011106
"class:`~collections.abc.MutableMapping`."
11021107

11031108
#: ../Doc/faq/design.rst:575
1104-
#, fuzzy
11051109
msgid ""
11061110
"For Python, many of the advantages of interface specifications can be "
11071111
"obtained by an appropriate test discipline for components."
11081112
msgstr ""
11091113
"Para Python, muchas de las ventajas de las especificaciones de interfaz se "
11101114
"pueden obtener mediante una disciplina de prueba adecuada para los "
1111-
"componentes. También hay una herramienta, PyChecker, que se puede usar para "
1112-
"encontrar problemas debido a la subclasificación."
1115+
"componentes."
11131116

11141117
#: ../Doc/faq/design.rst:578
11151118
msgid ""
@@ -1152,7 +1155,6 @@ msgstr ""
11521155
"trivial verificar esta propiedad en un conjunto de pruebas."
11531156

11541157
#: ../Doc/faq/design.rst:594
1155-
#, fuzzy
11561158
msgid ""
11571159
"Writing test suites is very helpful, and you might want to design your code "
11581160
"to make it easily tested. One increasingly popular technique, test-driven "
@@ -1179,9 +1181,14 @@ msgid ""
11791181
"expressions) and loop (with ``while`` and ``for`` statements, possibly "
11801182
"containing ``continue`` and ``break``)."
11811183
msgstr ""
1184+
"En la década de 1970, la gente se dio cuenta de que el goto irrestricto "
1185+
"podía generar un código \"espagueti\" desordenado que era difícil de "
1186+
"entender y revisar. En un lenguaje de alto nivel, también es innecesario "
1187+
"siempre que haya formas de bifurcar (en Python, con declaraciones ``if`` y "
1188+
"expresiones ``or``, ``and`` e ``if-else``) y repetir (con declaraciones "
1189+
"``while`` y ``for``, que posiblemente contengan ``continue`` y ``break``)."
11821190

11831191
#: ../Doc/faq/design.rst:611
1184-
#, fuzzy
11851192
msgid ""
11861193
"One can also use exceptions to provide a \"structured goto\" that works even "
11871194
"across function calls. Many feel that exceptions can conveniently emulate "
@@ -1258,7 +1265,6 @@ msgstr ""
12581265
"atributos?"
12591266

12601267
#: ../Doc/faq/design.rst:660
1261-
#, fuzzy
12621268
msgid ""
12631269
"Python has a 'with' statement that wraps the execution of a block, calling "
12641270
"code on the entrance and exit from the block. Some languages have a "

faq/extending.po

+9-14
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
14-
"PO-Revision-Date: 2020-08-10 07:54-0300\n"
14+
"PO-Revision-Date: 2021-08-02 11:16+0200\n"
1515
"Language-Team: python-doc-es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919
"Generated-By: Babel 2.8.0\n"
2020
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21-
"Last-Translator: \n"
21+
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
2222
"Language: es_AR\n"
23-
"X-Generator: Poedit 2.4\n"
23+
"X-Generator: Poedit 3.0\n"
2424

2525
#: ../Doc/faq/extending.rst:3
2626
msgid "Extending/Embedding FAQ"
@@ -136,15 +136,14 @@ msgid "How can I evaluate an arbitrary Python expression from C?"
136136
msgstr "¿Cómo puedo evaluar una expresión arbitraria de Python desde C?"
137137

138138
#: ../Doc/faq/extending.rst:74
139-
#, fuzzy
140139
msgid ""
141140
"Call the function :c:func:`PyRun_String` from the previous question with the "
142141
"start symbol :c:data:`Py_eval_input`; it parses an expression, evaluates it "
143142
"and returns its value."
144143
msgstr ""
145144
"Llama a la función :c:func:`PyRun_String` de la pregunta anterior con el "
146-
"símbolo de comienzo (*start*) :c:data:`Py_eval_input`; analiza una "
147-
"expresión, evalúa y retorna su valor."
145+
"símbolo de comienzo :c:data:`Py_eval_input`; analiza una expresión, evalúa y "
146+
"retorna su valor."
148147

149148
#: ../Doc/faq/extending.rst:80
150149
msgid "How do I extract C values from a Python object?"
@@ -233,7 +232,7 @@ msgid ""
233232
msgstr ""
234233
"Esto funciona para cualquier objeto que tenga métodos -- sean estos "
235234
"incorporados o definidos por el usuario. Eres responsable si eventualmente "
236-
"usas :c:func:`Py_DECREF` en el valor de retorno.\""
235+
"usas :c:func:`Py_DECREF` en el valor de retorno."
237236

238237
#: ../Doc/faq/extending.rst:124
239238
msgid ""
@@ -278,7 +277,7 @@ msgstr ""
278277
#: ../Doc/faq/extending.rst:149
279278
msgid "The easiest way to do this is to use the :class:`io.StringIO` class:"
280279
msgstr ""
281-
"La manera mas fácil de hacer esto es usar la clase :class:`io.StringIO`."
280+
"La manera mas fácil de hacer esto es usar la clase :class:`io.StringIO`:"
282281

283282
#: ../Doc/faq/extending.rst:161
284283
msgid "A custom object to do the same would look like this:"
@@ -368,7 +367,6 @@ msgid "How do I debug an extension?"
368367
msgstr "¿Cómo puedo depurar una extención?"
369368

370369
#: ../Doc/faq/extending.rst:226
371-
#, fuzzy
372370
msgid ""
373371
"When using GDB with dynamically loaded extensions, you can't set a "
374372
"breakpoint in your extension until your extension is loaded."
@@ -414,9 +412,8 @@ msgid "For Debian, run ``apt-get install python-dev``."
414412
msgstr "Para Debian, corre ``apt-get install python-dev``."
415413

416414
#: ../Doc/faq/extending.rst:259
417-
#, fuzzy
418415
msgid "How do I tell \"incomplete input\" from \"invalid input\"?"
419-
msgstr "¿Cómo digo \"incomplete input\" desde \"invalid input\"?"
416+
msgstr "¿Cómo digo \"entrada incompleta\" desde \"entrada inválida\"?"
420417

421418
#: ../Doc/faq/extending.rst:261
422419
msgid ""
@@ -433,7 +430,6 @@ msgstr ""
433430
"inmediatamente cuando la entrada es invalida."
434431

435432
#: ../Doc/faq/extending.rst:267
436-
#, fuzzy
437433
msgid ""
438434
"In Python you can use the :mod:`codeop` module, which approximates the "
439435
"parser's behavior sufficiently. IDLE uses this, for example."
@@ -495,9 +491,8 @@ msgstr ""
495491
"llamas a readline())::"
496492

497493
#: ../Doc/faq/extending.rst:432
498-
#, fuzzy
499494
msgid "How do I find undefined g++ symbols __builtin_new or __pure_virtual?"
500-
msgstr "¿Cómo encuentro símbolos g++ __builtin_new or __pure_virtual?"
495+
msgstr "¿Cómo encuentro símbolos g++ __builtin_new o __pure_virtual?"
501496

502497
#: ../Doc/faq/extending.rst:434
503498
msgid ""

0 commit comments

Comments
 (0)