commit extjs-2.2.1
[extjs.git] / source / locale / ext-lang-es.js
1 /*\r
2  * Spanish/Latin American Translation by genius551v 04-08-2007\r
3  * Revised by efege, 2007-04-15.\r
4  * Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy)\r
5  * Revised by FeDe 12-13-2007 (mm/dd/yyyy)\r
6  * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008) \r
7  *     by halkon_polako 14-aug-2009\r
8  */\r
9 \r
10 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';\r
11 \r
12 if(Ext.DataView){\r
13   Ext.DataView.prototype.emptyText = "";\r
14 }\r
15 \r
16 if(Ext.grid.GridPanel){\r
17   Ext.grid.GridPanel.prototype.ddText = "{0} fila(s) seleccionada(s)";\r
18 }\r
19 \r
20 if(Ext.LoadMask){\r
21   Ext.LoadMask.prototype.msg = "Cargando...";\r
22 }\r
23 \r
24 Date.monthNames = [\r
25   "Enero",\r
26   "Febrero",\r
27   "Marzo",\r
28   "Abril",\r
29   "Mayo",\r
30   "Junio",\r
31   "Julio",\r
32   "Agosto",\r
33   "Septiembre",\r
34   "Octubre",\r
35   "Noviembre",\r
36   "Diciembre"\r
37 ];\r
38 \r
39 Date.getShortMonthName = function(month) {\r
40   return Date.monthNames[month].substring(0, 3);\r
41 };\r
42 \r
43 Date.monthNumbers = {\r
44   Ene : 0,\r
45   Feb : 1,\r
46   Mar : 2,\r
47   Abr : 3,\r
48   May : 4,\r
49   Jun : 5,\r
50   Jul : 6,\r
51   Ago : 7,\r
52   Sep : 8,\r
53   Oct : 9,\r
54   Nov : 10,\r
55   Dic : 11\r
56 };\r
57 \r
58 Date.getMonthNumber = function(name) {\r
59   return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];\r
60 };\r
61 \r
62 Date.dayNames = [\r
63   "Domingo",\r
64   "Lunes",\r
65   "Martes",\r
66   "Mi&#233;rcoles",\r
67   "Jueves",\r
68   "Viernes",\r
69   "S&#225;bado"\r
70 ];\r
71 \r
72 Date.getShortDayName = function(day) {\r
73   if (day==3) return "Mié";\r
74   if (day==6) return "Sáb";\r
75   return Date.dayNames[day].substring(0, 3);\r
76 };\r
77 \r
78 Date.parseCodes.S.s = "(?:st|nd|rd|th)";\r
79 \r
80 if(Ext.MessageBox){\r
81   Ext.MessageBox.buttonText = {\r
82     ok     : "Aceptar",\r
83     cancel : "Cancelar",\r
84     yes    : "S&#237;",\r
85     no     : "No"\r
86   };\r
87 }\r
88 \r
89 if(Ext.util.Format){\r
90   Ext.util.Format.date = function(v, format){\r
91     if(!v) return "";\r
92     if(!(v instanceof Date)) v = new Date(Date.parse(v));\r
93     return v.dateFormat(format || "d/m/Y");\r
94   };\r
95 }\r
96 \r
97 if(Ext.DatePicker){\r
98   Ext.apply(Ext.DatePicker.prototype, {\r
99     todayText         : "Hoy",\r
100     minText           : "Esta fecha es anterior a la fecha m&#237;nima",\r
101     maxText           : "Esta fecha es posterior a la fecha m&#225;xima",\r
102     disabledDaysText  : "",\r
103     disabledDatesText : "",\r
104     monthNames        : Date.monthNames,\r
105     dayNames              : Date.dayNames,\r
106     nextText          : 'Mes Siguiente (Control+Right)',\r
107     prevText          : 'Mes Anterior (Control+Left)',\r
108     monthYearText     : 'Seleccione un mes (Control+Up/Down para desplazar el a&#241;o)',\r
109     todayTip          : "{0} (Barra espaciadora)",\r
110     format            : "d/m/Y",\r
111     okText            : "&#160;Ok&#160;",\r
112     cancelText        : "Cancelar",\r
113     startDay          : 1\r
114   });\r
115 }\r
116 \r
117 if(Ext.PagingToolbar){\r
118   Ext.apply(Ext.PagingToolbar.prototype, {\r
119     beforePageText : "P&#225;gina",\r
120     afterPageText  : "de {0}",\r
121     firstText      : "Primera p&#225;gina",\r
122     prevText       : "P&#225;gina anterior",\r
123     nextText       : "P&#225;gina siguiente",\r
124     lastText       : "Última p&#225;gina",\r
125     refreshText    : "Actualizar",\r
126     displayMsg     : "Mostrando {0} - {1} de {2}",\r
127     emptyMsg       : 'Sin datos para mostrar'\r
128   });\r
129 }\r
130 \r
131 if(Ext.form.Field){\r
132   Ext.form.Field.prototype.invalidText = "El valor en este campo es inv&#225;lido";\r
133 }\r
134 \r
135 if(Ext.form.TextField){\r
136   Ext.apply(Ext.form.TextField.prototype, {\r
137     minLengthText : "El tama&#241;o m&#237;nimo para este campo es de {0}",\r
138     maxLengthText : "El tama&#241;o m&#225;ximo para este campo es de {0}",\r
139     blankText     : "Este campo es obligatorio",\r
140     regexText     : "",\r
141     emptyText     : null\r
142   });\r
143 }\r
144 \r
145 if(Ext.form.NumberField){\r
146   Ext.apply(Ext.form.NumberField.prototype, {\r
147     decimalSeparator : ".",\r
148     decimalPrecision : 2,\r
149     minText : "El valor m&#237;nimo para este campo es de {0}",\r
150     maxText : "El valor m&#225;ximo para este campo es de {0}",\r
151     nanText : "{0} no es un n&#250;mero v&#225;lido"\r
152   });\r
153 }\r
154 \r
155 if(Ext.form.DateField){\r
156   Ext.apply(Ext.form.DateField.prototype, {\r
157     disabledDaysText  : "Deshabilitado",\r
158     disabledDatesText : "Deshabilitado",\r
159     minText           : "La fecha para este campo debe ser posterior a {0}",\r
160     maxText           : "La fecha para este campo debe ser anterior a {0}",\r
161     invalidText       : "{0} no es una fecha v&#225;lida - debe tener el formato {1}",\r
162     format            : "d/m/Y",\r
163     altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"\r
164   });\r
165 }\r
166 \r
167 if(Ext.form.ComboBox){\r
168   Ext.apply(Ext.form.ComboBox.prototype, {\r
169     loadingText       : "Cargando...",\r
170     valueNotFoundText : undefined\r
171   });\r
172 }\r
173 \r
174 if(Ext.form.VTypes){\r
175   Ext.apply(Ext.form.VTypes, {\r
176     emailText    : 'Este campo debe ser una direcci&#243;n de correo electr&#243;nico con el formato "usuario@dominio.com"',\r
177     urlText      : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',\r
178     alphaText    : 'Este campo s&#243;lo debe contener letras y _',\r
179     alphanumText : 'Este campo s&#243;lo debe contener letras, n&#250;meros y _'\r
180   });\r
181 }\r
182 \r
183 if(Ext.form.HtmlEditor){\r
184   Ext.apply(Ext.form.HtmlEditor.prototype, {\r
185     createLinkText : "Por favor proporcione la URL para el enlace:",\r
186     buttonTips : {\r
187       bold : {\r
188         title: 'Negritas (Ctrl+B)',\r
189             text: 'Transforma el texto seleccionado en Negritas.',\r
190         cls: 'x-html-editor-tip'\r
191       },\r
192       italic : {\r
193         title: 'It&#225;lica (Ctrl+I)',\r
194         text: 'Transforma el texto seleccionado en It&#225;licas.',\r
195         cls: 'x-html-editor-tip'\r
196       },\r
197       underline : {\r
198         title: 'Subrayado (Ctrl+U)',\r
199         text: 'Subraya el texto seleccionado.',\r
200         cls: 'x-html-editor-tip'\r
201       },\r
202       increasefontsize : {\r
203         title: 'Aumentar la fuente',\r
204         text: 'Aumenta el tama&#241;o de la fuente',\r
205         cls: 'x-html-editor-tip'\r
206       },\r
207       decreasefontsize : {\r
208         title: 'Reducir la fuente',\r
209         text: 'Reduce el tama&#241;o de la fuente.',\r
210         cls: 'x-html-editor-tip'\r
211       },\r
212       backcolor : {\r
213         title: 'Color de fondo',\r
214         text: 'Modifica el color de fondo del texto seleccionado.',\r
215         cls: 'x-html-editor-tip'\r
216       },\r
217       forecolor : {\r
218         title: 'Color de la fuente',\r
219         text: 'Modifica el color del texto seleccionado.',\r
220         cls: 'x-html-editor-tip'\r
221       },\r
222       justifyleft : {\r
223         title: 'Alinear a la izquierda',\r
224         text: 'Alinea el texto a la izquierda.',\r
225         cls: 'x-html-editor-tip'\r
226       },\r
227       justifycenter : {\r
228         title: 'Centrar',\r
229         text: 'Centrar el texto.',\r
230         cls: 'x-html-editor-tip'\r
231       },\r
232       justifyright : {\r
233         title: 'Alinear a la derecha',\r
234         text: 'Alinea el texto a la derecha.',\r
235         cls: 'x-html-editor-tip'\r
236       },\r
237       insertunorderedlist : {\r
238         title: 'Lista de vi&#241;etas',\r
239         text: 'Inicia una lista con vi&#241;etas.',\r
240         cls: 'x-html-editor-tip'\r
241       },\r
242       insertorderedlist : {\r
243         title: 'Lista numerada',\r
244         text: 'Inicia una lista numerada.',\r
245         cls: 'x-html-editor-tip'\r
246       },\r
247       createlink : {\r
248         title: 'Enlace',\r
249         text: 'Inserta un enlace de hipertexto.',\r
250         cls: 'x-html-editor-tip'\r
251       },\r
252       sourceedit : {\r
253         title: 'C&#243;digo Fuente',\r
254         text: 'Pasar al modo de edici&#243;n de c&#243;digo fuente.',\r
255         cls: 'x-html-editor-tip'\r
256       }\r
257     }\r
258   });\r
259 }\r
260 \r
261 if(Ext.grid.GridView){\r
262   Ext.apply(Ext.grid.GridView.prototype, {\r
263     sortAscText  : "Ordenar en forma ascendente",\r
264     sortDescText : "Ordenar en forma descendente",\r
265     columnsText  : "Columnas"\r
266   });\r
267 }\r
268 \r
269 if(Ext.grid.GroupingView){\r
270   Ext.apply(Ext.grid.GroupingView.prototype, {\r
271     emptyGroupText : '(Ninguno)',\r
272     groupByText    : 'Agrupar por este campo',\r
273     showGroupsText : 'Mostrar en grupos'\r
274   });\r
275 }\r
276 \r
277 if(Ext.grid.PropertyColumnModel){\r
278   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {\r
279     nameText   : "Nombre",\r
280     valueText  : "Valor",\r
281     dateFormat : "j/m/Y"\r
282   });\r
283 }\r
284 \r
285 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){\r
286   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {\r
287     splitTip            : "Arrastre para redimensionar.",\r
288     collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."\r
289   });\r
290 }\r
291 \r
292 if(Ext.form.TimeField){\r
293   Ext.apply(Ext.form.TimeField.prototype, {\r
294     minText : "La hora en este campo debe ser igual o posterior a {0}",\r
295     maxText : "La hora en este campo debe ser igual o anterior a {0}",\r
296     invalidText : "{0} no es una hora v&#225;lida",\r
297     format : "g:i A",\r
298     altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"\r
299   });\r
300 }\r
301 \r
302 if(Ext.form.CheckboxGroup){\r
303   Ext.apply(Ext.form.CheckboxGroup.prototype, {\r
304     blankText : "Debe seleccionar al menos un &#233;tem de este grupo"\r
305   });\r
306 }\r
307 \r
308 if(Ext.form.RadioGroup){\r
309   Ext.apply(Ext.form.RadioGroup.prototype, {\r
310     blankText : "Debe seleccionar un &#233;tem de este grupo"\r
311   });\r
312 }\r