3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.com/license
8 * Spanish/Latin American Translation by genius551v 04-08-2007
9 * Revised by efege, 2007-04-15.
10 * Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy)
11 * Revised by FeDe 12-13-2007 (mm/dd/yyyy)
12 * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
13 * by halkon_polako 14-aug-2008
16 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';
19 Ext.DataView.prototype.emptyText = "";
22 if(Ext.grid.GridPanel){
23 Ext.grid.GridPanel.prototype.ddText = "{0} fila(s) seleccionada(s)";
27 Ext.LoadMask.prototype.msg = "Cargando...";
45 Date.getShortMonthName = function(month) {
46 return Date.monthNames[month].substring(0, 3);
64 Date.getMonthNumber = function(name) {
65 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
78 Date.getShortDayName = function(day) {
79 if (day==3) return "Mié";
80 if (day==6) return "Sáb";
81 return Date.dayNames[day].substring(0, 3);
84 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
87 Ext.MessageBox.buttonText = {
96 Ext.util.Format.date = function(v, format){
98 if(!(v instanceof Date)) v = new Date(Date.parse(v));
99 return v.dateFormat(format || "d/m/Y");
104 Ext.apply(Ext.DatePicker.prototype, {
106 minText : "Esta fecha es anterior a la fecha m\u00EDnima",
107 maxText : "Esta fecha es posterior a la fecha m\u00E1xima",
108 disabledDaysText : "",
109 disabledDatesText : "",
110 monthNames : Date.monthNames,
111 dayNames : Date.dayNames,
112 nextText : 'Mes Siguiente (Control+Right)',
113 prevText : 'Mes Anterior (Control+Left)',
114 monthYearText : 'Seleccione un mes (Control+Up/Down para desplazar el a\u00F1o)',
115 todayTip : "{0} (Barra espaciadora)",
117 okText : " Ok ",
118 cancelText : "Cancelar",
123 if(Ext.PagingToolbar){
124 Ext.apply(Ext.PagingToolbar.prototype, {
125 beforePageText : "P\u00E1gina",
126 afterPageText : "de {0}",
127 firstText : "Primera p\u00E1gina",
128 prevText : "P\u00E1gina anterior",
129 nextText : "P\u00E1gina siguiente",
130 lastText : "Última p\u00E1gina",
131 refreshText : "Actualizar",
132 displayMsg : "Mostrando {0} - {1} de {2}",
133 emptyMsg : 'Sin datos para mostrar'
138 Ext.form.Field.prototype.invalidText = "El valor en este campo es inv\u00E1lido";
141 if(Ext.form.TextField){
142 Ext.apply(Ext.form.TextField.prototype, {
143 minLengthText : "El tama\u00F1o m\u00EDnimo para este campo es de {0}",
144 maxLengthText : "El tama\u00F1o m\u00E1ximo para este campo es de {0}",
145 blankText : "Este campo es obligatorio",
151 if(Ext.form.NumberField){
152 Ext.apply(Ext.form.NumberField.prototype, {
153 decimalSeparator : ".",
154 decimalPrecision : 2,
155 minText : "El valor m\u00EDnimo para este campo es de {0}",
156 maxText : "El valor m\u00E1ximo para este campo es de {0}",
157 nanText : "{0} no es un n\u00FAmero v\u00E1lido"
161 if(Ext.form.DateField){
162 Ext.apply(Ext.form.DateField.prototype, {
163 disabledDaysText : "Deshabilitado",
164 disabledDatesText : "Deshabilitado",
165 minText : "La fecha para este campo debe ser posterior a {0}",
166 maxText : "La fecha para este campo debe ser anterior a {0}",
167 invalidText : "{0} no es una fecha v\u00E1lida - debe tener el formato {1}",
169 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d",
174 if(Ext.form.ComboBox){
175 Ext.apply(Ext.form.ComboBox.prototype, {
176 loadingText : "Cargando...",
177 valueNotFoundText : undefined
182 Ext.apply(Ext.form.VTypes, {
183 emailText : 'Este campo debe ser una direcci\u00F3n de correo electr\u00F3nico 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\u00F3lo debe contener letras y _',
186 alphanumText : 'Este campo s\u00F3lo debe contener letras, n\u00FAmeros y _'
190 if(Ext.form.HtmlEditor){
191 Ext.apply(Ext.form.HtmlEditor.prototype, {
192 createLinkText : "Por favor proporcione la URL para el enlace:",
195 title: 'Negritas (Ctrl+B)',
196 text: 'Transforma el texto seleccionado en Negritas.',
197 cls: 'x-html-editor-tip'
200 title: 'It\u00E1lica (Ctrl+I)',
201 text: 'Transforma el texto seleccionado en It\u00E1licas.',
202 cls: 'x-html-editor-tip'
205 title: 'Subrayado (Ctrl+U)',
206 text: 'Subraya el texto seleccionado.',
207 cls: 'x-html-editor-tip'
210 title: 'Aumentar la fuente',
211 text: 'Aumenta el tama\u00F1o de la fuente',
212 cls: 'x-html-editor-tip'
215 title: 'Reducir la fuente',
216 text: 'Reduce el tama\u00F1o de la fuente.',
217 cls: 'x-html-editor-tip'
220 title: 'Color de fondo',
221 text: 'Modifica el color de fondo del texto seleccionado.',
222 cls: 'x-html-editor-tip'
225 title: 'Color de la fuente',
226 text: 'Modifica el color del texto seleccionado.',
227 cls: 'x-html-editor-tip'
230 title: 'Alinear a la izquierda',
231 text: 'Alinea el texto a la izquierda.',
232 cls: 'x-html-editor-tip'
236 text: 'Centrar el texto.',
237 cls: 'x-html-editor-tip'
240 title: 'Alinear a la derecha',
241 text: 'Alinea el texto a la derecha.',
242 cls: 'x-html-editor-tip'
244 insertunorderedlist : {
245 title: 'Lista de vi\u00F1etas',
246 text: 'Inicia una lista con vi\u00F1etas.',
247 cls: 'x-html-editor-tip'
249 insertorderedlist : {
250 title: 'Lista numerada',
251 text: 'Inicia una lista numerada.',
252 cls: 'x-html-editor-tip'
256 text: 'Inserta un enlace de hipertexto.',
257 cls: 'x-html-editor-tip'
260 title: 'C\u00F3digo Fuente',
261 text: 'Pasar al modo de edici\u00F3n de c\u00F3digo fuente.',
262 cls: 'x-html-editor-tip'
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"
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'
284 if(Ext.grid.PropertyColumnModel){
285 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
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."
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\u00E1lida",
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"
309 if(Ext.form.CheckboxGroup){
310 Ext.apply(Ext.form.CheckboxGroup.prototype, {
311 blankText : "Debe seleccionar al menos un \u00E9tem de este grupo"
315 if(Ext.form.RadioGroup){
316 Ext.apply(Ext.form.RadioGroup.prototype, {
317 blankText : "Debe seleccionar un \u00E9tem de este grupo"