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