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-05-10 02:44+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\n "
22
24
23
25
#: ../Doc/c-api/mapping.rst:6
24
26
msgid "Mapping Protocol"
25
- msgstr ""
27
+ msgstr "Protocolo de mapeo "
26
28
27
29
#: ../Doc/c-api/mapping.rst:8
28
30
msgid ""
29
31
"See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and :c:func:"
30
32
"`PyObject_DelItem`."
31
33
msgstr ""
34
+ "Consulte también :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` y :c:"
35
+ "func:`PyObject_DelItem`."
32
36
33
37
#: ../Doc/c-api/mapping.rst:14
34
38
msgid ""
@@ -37,19 +41,29 @@ msgid ""
37
41
"meth:`__getitem__` method since in general case it is impossible to "
38
42
"determine what type of keys it supports. This function always succeeds."
39
43
msgstr ""
44
+ "Retorna ``1`` si el objeto proporciona el protocolo de mapeo o admite "
45
+ "rebanado (*slicing*), y ``0`` de lo contrario. Tenga en cuenta que devuelve "
46
+ "``1`` para las clases de Python con un método :meth:`__getitem__` ya que, en "
47
+ "general, es imposible determinar qué tipo de claves admite. Esta función "
48
+ "siempre tiene éxito."
40
49
41
50
#: ../Doc/c-api/mapping.rst:25
42
51
msgid ""
43
52
"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
44
53
"This is equivalent to the Python expression ``len(o)``."
45
54
msgstr ""
55
+ "Retorna el número de claves en el objeto *o* en caso de éxito, y ``-1`` en "
56
+ "caso de error. Esto es equivalente a la expresión de Python ``len(o)``."
46
57
47
58
#: ../Doc/c-api/mapping.rst:31
48
59
msgid ""
49
60
"Return element of *o* corresponding to the string *key* or ``NULL`` on "
50
61
"failure. This is the equivalent of the Python expression ``o[key]``. See "
51
62
"also :c:func:`PyObject_GetItem`."
52
63
msgstr ""
64
+ "Retorna el elemento de *o* correspondiente a la cadena de caracteres *key* o "
65
+ "``NULL`` en caso de error. Este es el equivalente de la expresión de Python "
66
+ "``o[key]``. Ver también :c:func:`PyObject_GetItem`."
53
67
54
68
#: ../Doc/c-api/mapping.rst:38
55
69
msgid ""
@@ -58,60 +72,87 @@ msgid ""
58
72
"also :c:func:`PyObject_SetItem`. This function *does not* steal a reference "
59
73
"to *v*."
60
74
msgstr ""
75
+ "Asigna la cadena de caracteres *key* al valor *v* en el objeto *o*. Retorna "
76
+ "``-1`` en caso de falla. Este es el equivalente de la declaración de Python "
77
+ "``o[key] = v``. Ver también :c:func:`PyObject_SetItem`. Esta función *no* "
78
+ "roba una referencia a *v*."
61
79
62
80
#: ../Doc/c-api/mapping.rst:46
63
81
msgid ""
64
82
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
65
83
"on failure. This is equivalent to the Python statement ``del o[key]``. This "
66
84
"is an alias of :c:func:`PyObject_DelItem`."
67
85
msgstr ""
86
+ "Elimina la asignación para el objeto *key* del objeto *o*. Retorna ``-1`` en "
87
+ "caso de falla. Esto es equivalente a la declaración de Python ``del "
88
+ "o[key]``. Este es un alias de :c:func:`PyObject_DelItem`."
68
89
69
90
#: ../Doc/c-api/mapping.rst:53
70
91
msgid ""
71
92
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
72
93
"on failure. This is equivalent to the Python statement ``del o[key]``."
73
94
msgstr ""
95
+ "Elimina la asignación de la cadena de caracteres *key* del objeto *o*. "
96
+ "Retorna ``-1`` en caso de falla. Esto es equivalente a la declaración de "
97
+ "Python ``del o[key]``."
74
98
75
99
#: ../Doc/c-api/mapping.rst:59 ../Doc/c-api/mapping.rst:70
76
100
msgid ""
77
101
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
78
102
"This is equivalent to the Python expression ``key in o``. This function "
79
103
"always succeeds."
80
104
msgstr ""
105
+ "Retorna ``1`` si el objeto de mapeo tiene la clave *key* y ``0`` de lo "
106
+ "contrario. Esto es equivalente a la expresión de Python ``key in o``. Esta "
107
+ "función siempre tiene éxito."
81
108
82
109
#: ../Doc/c-api/mapping.rst:63
83
110
msgid ""
84
111
"Note that exceptions which occur while calling the :meth:`__getitem__` "
85
112
"method will get suppressed. To get error reporting use :c:func:"
86
113
"`PyObject_GetItem()` instead."
87
114
msgstr ""
115
+ "Tenga en cuenta que las excepciones que se producen al llamar al método :"
116
+ "meth:`__getitem__` se suprimirán. Para obtener informes de errores, utilice :"
117
+ "c:func:`PyObject_GetItem()` en su lugar."
88
118
89
119
#: ../Doc/c-api/mapping.rst:74
90
120
msgid ""
91
121
"Note that exceptions which occur while calling the :meth:`__getitem__` "
92
122
"method and creating a temporary string object will get suppressed. To get "
93
123
"error reporting use :c:func:`PyMapping_GetItemString()` instead."
94
124
msgstr ""
125
+ "Tenga en cuenta que las excepciones que se producen al llamar al método :"
126
+ "meth:`__getitem__` y al crear un objeto de cadena de caracteres temporal se "
127
+ "suprimirán. Para obtener informes de errores, utilice :c:func:"
128
+ "`PyMapping_GetItemString()` en su lugar."
95
129
96
130
#: ../Doc/c-api/mapping.rst:81
97
131
msgid ""
98
132
"On success, return a list of the keys in object *o*. On failure, return "
99
133
"``NULL``."
100
134
msgstr ""
135
+ "En caso de éxito, retorna una lista de las claves en el objeto *o*. En caso "
136
+ "de fallo, retorna ``NULL``."
101
137
102
138
#: ../Doc/c-api/mapping.rst:84 ../Doc/c-api/mapping.rst:93
103
139
#: ../Doc/c-api/mapping.rst:102
104
140
msgid "Previously, the function returned a list or a tuple."
105
- msgstr ""
141
+ msgstr "Anteriormente, la función devolvía una lista o una tupla. "
106
142
107
143
#: ../Doc/c-api/mapping.rst:90
108
144
msgid ""
109
145
"On success, return a list of the values in object *o*. On failure, return "
110
146
"``NULL``."
111
147
msgstr ""
148
+ "En caso de éxito, retorna una lista de los valores en el objeto *o*. En caso "
149
+ "de fallo, retorna ``NULL``."
112
150
113
151
#: ../Doc/c-api/mapping.rst:99
114
152
msgid ""
115
153
"On success, return a list of the items in object *o*, where each item is a "
116
154
"tuple containing a key-value pair. On failure, return ``NULL``."
117
155
msgstr ""
156
+ "En caso de éxito, retorna una lista de los elementos en el objeto *o*, donde "
157
+ "cada elemento es una tupla que contiene un par clave-valor (*key-value*). En "
158
+ "caso de fallo, retorna ``NULL``."
0 commit comments