6
6
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
7
7
# get the list of volunteers
8
8
#
9
- #, fuzzy
10
9
msgid ""
11
10
msgstr ""
12
11
"Project-Id-Version : Python 3.8\n "
13
12
"Report-Msgid-Bugs-To : \n "
14
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
15
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
16
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
+ "PO-Revision-Date : 2020-08-10 17:32+0200\n "
17
15
"Language-Team : python-doc-es\n "
18
16
"MIME-Version : 1.0\n "
19
- "Content-Type : text/plain; charset=utf -8\n "
17
+ "Content-Type : text/plain; charset=UTF -8\n "
20
18
"Content-Transfer-Encoding : 8bit\n "
21
19
"Generated-By : Babel 2.8.0\n "
20
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
21
+ "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
22
+ "Language : es\n "
23
+ "X-Generator : Poedit 2.3.1\n "
22
24
23
25
#: ../Doc/library/asyncio-eventloop.rst:6
24
26
msgid "Event Loop"
25
- msgstr ""
27
+ msgstr "Bucle de evento "
26
28
27
29
#: ../Doc/library/asyncio-eventloop.rst:8
28
30
msgid ""
29
31
"**Source code:** :source:`Lib/asyncio/events.py`, :source:`Lib/asyncio/"
30
32
"base_events.py`"
31
33
msgstr ""
34
+ "**Código fuente:** :fuente:`Lib/asyncio/events.py`, :fuente:`Lib/asyncio/"
35
+ "base_events.py`"
32
36
33
37
#: ../Doc/library/asyncio-eventloop.rst:14
34
38
msgid "Preface"
35
- msgstr ""
39
+ msgstr "Prólogo "
36
40
37
41
#: ../Doc/library/asyncio-eventloop.rst:15
38
42
msgid ""
39
43
"The event loop is the core of every asyncio application. Event loops run "
40
44
"asynchronous tasks and callbacks, perform network IO operations, and run "
41
45
"subprocesses."
42
46
msgstr ""
47
+ "El bucle de evento es el núcleo de cada aplicación asyncio. Los bucles de "
48
+ "eventos ejecutan tareas asíncronas y llamadas de retorno, realizan "
49
+ "operaciones de E/S de red y ejecutan subprocesos."
43
50
44
51
#: ../Doc/library/asyncio-eventloop.rst:19
45
52
msgid ""
@@ -49,107 +56,147 @@ msgid ""
49
56
"authors of lower-level code, libraries, and frameworks, who need finer "
50
57
"control over the event loop behavior."
51
58
msgstr ""
59
+ "Los desarrolladores de aplicaciones normalmente deben usar las funciones "
60
+ "asyncio de alto nivel, como: :func:`asyncio.run`, y rara vez deben necesitar "
61
+ "hacer referencia al objeto de bucle o llamar a sus métodos. Esta sección "
62
+ "esta dirigida principalmente para autores de código de nivel inferior, "
63
+ "bibliotecas y frameworks, quienes necesitan un control mas preciso sobre el "
64
+ "comportamiento del bucle de eventos."
52
65
53
66
#: ../Doc/library/asyncio-eventloop.rst:26
54
67
msgid "Obtaining the Event Loop"
55
- msgstr ""
68
+ msgstr "Obtención del bucle de evento "
56
69
57
70
#: ../Doc/library/asyncio-eventloop.rst:27
58
71
msgid ""
59
72
"The following low-level functions can be used to get, set, or create an "
60
73
"event loop:"
61
74
msgstr ""
75
+ "Las siguientes funciones de bajo nivel se pueden utilizar para obtener, "
76
+ "establecer o crear un bucle de eventos:"
62
77
63
78
#: ../Doc/library/asyncio-eventloop.rst:32
64
79
msgid "Return the running event loop in the current OS thread."
65
80
msgstr ""
81
+ "Retorna el bucle de eventos en ejecución en el hilo del sistema operativo "
82
+ "actual."
66
83
67
84
#: ../Doc/library/asyncio-eventloop.rst:34
68
85
msgid ""
69
86
"If there is no running event loop a :exc:`RuntimeError` is raised. This "
70
87
"function can only be called from a coroutine or a callback."
71
88
msgstr ""
89
+ "Si no hay un bucle de eventos en ejecución, se levanta un :exc:"
90
+ "`RuntimeError`. Esta función únicamente puede ser llamada desde una "
91
+ "corrutina o una llamada de retorno."
72
92
73
93
#: ../Doc/library/asyncio-eventloop.rst:41
74
94
msgid "Get the current event loop."
75
- msgstr ""
95
+ msgstr "Obtenga el actual bucle de eventos. "
76
96
77
97
#: ../Doc/library/asyncio-eventloop.rst:43
78
98
msgid ""
79
99
"If there is no current event loop set in the current OS thread, the OS "
80
100
"thread is main, and :func:`set_event_loop` has not yet been called, asyncio "
81
101
"will create a new event loop and set it as the current one."
82
102
msgstr ""
103
+ "Si no hay un bucle de eventos actual establecido en el hilo actual del "
104
+ "sistema operativo, es fundamental el hilo del sistema operativo, y :func:"
105
+ "`set_event_loop` aún no ha sido llamado, asyncio creará un nuevo bucle de "
106
+ "eventos y lo establecerá como el actual."
83
107
84
108
#: ../Doc/library/asyncio-eventloop.rst:48
85
109
msgid ""
86
110
"Because this function has rather complex behavior (especially when custom "
87
111
"event loop policies are in use), using the :func:`get_running_loop` function "
88
112
"is preferred to :func:`get_event_loop` in coroutines and callbacks."
89
113
msgstr ""
114
+ "Dado que esta función tiene un comportamiento bastante complejo "
115
+ "(especialmente cuando están en uso las políticas de bucle de eventos "
116
+ "personalizadas), usando la función :func:`get_running_loop` es preferible "
117
+ "por :func:`get_event_loop` en corrutinas y llamadas de retorno."
90
118
91
119
#: ../Doc/library/asyncio-eventloop.rst:53
92
120
msgid ""
93
121
"Consider also using the :func:`asyncio.run` function instead of using lower "
94
122
"level functions to manually create and close an event loop."
95
123
msgstr ""
124
+ "Considere también usar la función :func:`asyncio.run` en lugar de usar "
125
+ "funciones de bajo nivel para crear y cerrar manualmente un bucle de eventos."
96
126
97
127
#: ../Doc/library/asyncio-eventloop.rst:58
98
128
msgid "Set *loop* as a current event loop for the current OS thread."
99
129
msgstr ""
130
+ "Establece *loop* como el actual bucle de eventos para el actual hilo del "
131
+ "sistema operativo."
100
132
101
133
#: ../Doc/library/asyncio-eventloop.rst:62
102
134
msgid "Create a new event loop object."
103
- msgstr ""
135
+ msgstr "Crea un nuevo objeto de bucle de eventos. "
104
136
105
137
#: ../Doc/library/asyncio-eventloop.rst:64
106
138
msgid ""
107
139
"Note that the behaviour of :func:`get_event_loop`, :func:`set_event_loop`, "
108
140
"and :func:`new_event_loop` functions can be altered by :ref:`setting a "
109
141
"custom event loop policy <asyncio-policies>`."
110
142
msgstr ""
143
+ "Tenga en cuenta que el comportamiento de las funciones :func:"
144
+ "`get_event_loop`, :func:`set_event_loop`, y :func:`new_event_loop` pueden "
145
+ "ser modificadas mediante :ref:`estableciendo una política de bucle de "
146
+ "eventos personalizada <asyncio-policies>`."
111
147
112
148
#: ../Doc/library/asyncio-eventloop.rst:70
113
149
msgid "Contents"
114
- msgstr ""
150
+ msgstr "Contenidos "
115
151
116
152
#: ../Doc/library/asyncio-eventloop.rst:71
117
153
msgid "This documentation page contains the following sections:"
118
- msgstr ""
154
+ msgstr "Esta página de documentación contiene las siguientes secciones: "
119
155
120
156
#: ../Doc/library/asyncio-eventloop.rst:73
121
157
msgid ""
122
158
"The `Event Loop Methods`_ section is the reference documentation of the "
123
159
"event loop APIs;"
124
160
msgstr ""
161
+ "La sección `Event Loop Methods`_ es la documentación de referencia de las "
162
+ "APIs del bucle de eventos;"
125
163
126
164
#: ../Doc/library/asyncio-eventloop.rst:76
127
165
msgid ""
128
166
"The `Callback Handles`_ section documents the :class:`Handle` and :class:"
129
167
"`TimerHandle` instances which are returned from scheduling methods such as :"
130
168
"meth:`loop.call_soon` and :meth:`loop.call_later`;"
131
169
msgstr ""
170
+ "La sección `Callback Handles`_ documenta las instancias :class:`Handle` y :"
171
+ "class:`TimerHandle` las cuales son retornadas de métodos de programación "
172
+ "como :meth:`loop.call_soon` y :meth:`loop.call_later`;"
132
173
133
174
#: ../Doc/library/asyncio-eventloop.rst:80
134
175
msgid ""
135
176
"The `Server Objects`_ section documents types returned from event loop "
136
177
"methods like :meth:`loop.create_server`;"
137
178
msgstr ""
179
+ "La sección `Server Objects`_ documenta tipos retornados de métodos de bucles "
180
+ "de eventos como :meth:`loop.create_server`;"
138
181
139
182
#: ../Doc/library/asyncio-eventloop.rst:83
140
183
msgid ""
141
184
"The `Event Loop Implementations`_ section documents the :class:"
142
185
"`SelectorEventLoop` and :class:`ProactorEventLoop` classes;"
143
186
msgstr ""
187
+ "La sección `Event Loop Implementations`_ documenta las clases :class:"
188
+ "`SelectorEventLoop`y :class:`ProactorEventLoop`;"
144
189
145
190
#: ../Doc/library/asyncio-eventloop.rst:86
146
191
msgid ""
147
192
"The `Examples`_ section showcases how to work with some event loop APIs."
148
193
msgstr ""
194
+ "La sección `Examples`_ muestra como trabajar con algunas APIs de bucle de "
195
+ "eventos."
149
196
150
197
#: ../Doc/library/asyncio-eventloop.rst:93
151
198
msgid "Event Loop Methods"
152
- msgstr ""
199
+ msgstr "Métodos de bucle de evento "
153
200
154
201
#: ../Doc/library/asyncio-eventloop.rst:95
155
202
msgid "Event loops have **low-level** APIs for the following:"
@@ -200,21 +247,23 @@ msgstr ""
200
247
201
248
#: ../Doc/library/asyncio-eventloop.rst:136
202
249
msgid "Return ``True`` if the event loop is currently running."
203
- msgstr ""
250
+ msgstr "Retorna ``True`` si el bucle de eventos esta en ejecución actualmente. "
204
251
205
252
#: ../Doc/library/asyncio-eventloop.rst:140
206
253
msgid "Return ``True`` if the event loop was closed."
207
- msgstr ""
254
+ msgstr "Retorna ``True`` si el bucle de eventos se cerró. "
208
255
209
256
#: ../Doc/library/asyncio-eventloop.rst:144
210
257
msgid "Close the event loop."
211
- msgstr ""
258
+ msgstr "Cierra el bucle de evento. "
212
259
213
260
#: ../Doc/library/asyncio-eventloop.rst:146
214
261
msgid ""
215
262
"The loop must not be running when this function is called. Any pending "
216
263
"callbacks will be discarded."
217
264
msgstr ""
265
+ "El bucle no debe estar en ejecución cuando se llama a esta función. "
266
+ "Cualquier llamada de retorno pendiente será descartada."
218
267
219
268
#: ../Doc/library/asyncio-eventloop.rst:149
220
269
msgid ""
@@ -246,11 +295,11 @@ msgstr ""
246
295
#: ../Doc/library/asyncio-eventloop.rst:1062
247
296
#: ../Doc/library/asyncio-eventloop.rst:1444
248
297
msgid "Example::"
249
- msgstr ""
298
+ msgstr "Ejemplo:: "
250
299
251
300
#: ../Doc/library/asyncio-eventloop.rst:178
252
301
msgid "Scheduling callbacks"
253
- msgstr ""
302
+ msgstr "Programación de llamadas de retorno "
254
303
255
304
#: ../Doc/library/asyncio-eventloop.rst:182
256
305
msgid ""
@@ -1541,7 +1590,7 @@ msgstr ""
1541
1590
1542
1591
#: ../Doc/library/asyncio-eventloop.rst:1234
1543
1592
msgid ":class:`str`;"
1544
- msgstr ""
1593
+ msgstr ":class:`str`; "
1545
1594
1546
1595
#: ../Doc/library/asyncio-eventloop.rst:1235
1547
1596
msgid ""
@@ -1895,10 +1944,13 @@ msgid ""
1895
1944
"that an alternative implementation of ``AbstractEventLoop`` should have "
1896
1945
"defined."
1897
1946
msgstr ""
1947
+ "La sección :ref:`Métodos del bucle de eventos <asyncio-event-loop>` lista "
1948
+ "todos los métodos que como implementación alternativa de "
1949
+ "``AbstractEventLoop`` debería haber estado definido."
1898
1950
1899
1951
#: ../Doc/library/asyncio-eventloop.rst:1533
1900
1952
msgid "Examples"
1901
- msgstr ""
1953
+ msgstr "Examples "
1902
1954
1903
1955
#: ../Doc/library/asyncio-eventloop.rst:1535
1904
1956
msgid ""
0 commit comments