3 * Copyright(c) 2006-2010 Ext JS, Inc.
5 * http://www.extjs.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ínima",
107 maxText : "Esta fecha es posterior a la fecha máxima",
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ño)',
115 todayTip : "{0} (Barra espaciadora)",
117 okText : " Ok ",
118 cancelText : "Cancelar",
123 if(Ext.PagingToolbar){
124 Ext.apply(Ext.PagingToolbar.prototype, {
125 beforePageText : "Página",
126 afterPageText : "de {0}",
127 firstText : "Primera página",
128 prevText : "Página anterior",
129 nextText : "Página siguiente",
130 lastText : "Última página",
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álido";
141 if(Ext.form.TextField){
142 Ext.apply(Ext.form.TextField.prototype, {
143 minLengthText : "El tamaño mínimo para este campo es de {0}",
144 maxLengthText : "El tamaño máximo 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ínimo para este campo es de {0}",
156 maxText : "El valor máximo para este campo es de {0}",
157 nanText : "{0} no es un número válido"
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álida - 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"
173 if(Ext.form.ComboBox){
174 Ext.apply(Ext.form.ComboBox.prototype, {
175 loadingText : "Cargando...",
176 valueNotFoundText : undefined
181 Ext.apply(Ext.form.VTypes, {
182 emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"',
183 urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',
184 alphaText : 'Este campo sólo debe contener letras y _',
185 alphanumText : 'Este campo sólo debe contener letras, números y _'
189 if(Ext.form.HtmlEditor){
190 Ext.apply(Ext.form.HtmlEditor.prototype, {
191 createLinkText : "Por favor proporcione la URL para el enlace:",
194 title: 'Negritas (Ctrl+B)',
195 text: 'Transforma el texto seleccionado en Negritas.',
196 cls: 'x-html-editor-tip'
199 title: 'Itálica (Ctrl+I)',
200 text: 'Transforma el texto seleccionado en Itálicas.',
201 cls: 'x-html-editor-tip'
204 title: 'Subrayado (Ctrl+U)',
205 text: 'Subraya el texto seleccionado.',
206 cls: 'x-html-editor-tip'
209 title: 'Aumentar la fuente',
210 text: 'Aumenta el tamaño de la fuente',
211 cls: 'x-html-editor-tip'
214 title: 'Reducir la fuente',
215 text: 'Reduce el tamaño de la fuente.',
216 cls: 'x-html-editor-tip'
219 title: 'Color de fondo',
220 text: 'Modifica el color de fondo del texto seleccionado.',
221 cls: 'x-html-editor-tip'
224 title: 'Color de la fuente',
225 text: 'Modifica el color del texto seleccionado.',
226 cls: 'x-html-editor-tip'
229 title: 'Alinear a la izquierda',
230 text: 'Alinea el texto a la izquierda.',
231 cls: 'x-html-editor-tip'
235 text: 'Centrar el texto.',
236 cls: 'x-html-editor-tip'
239 title: 'Alinear a la derecha',
240 text: 'Alinea el texto a la derecha.',
241 cls: 'x-html-editor-tip'
243 insertunorderedlist : {
244 title: 'Lista de viñetas',
245 text: 'Inicia una lista con viñetas.',
246 cls: 'x-html-editor-tip'
248 insertorderedlist : {
249 title: 'Lista numerada',
250 text: 'Inicia una lista numerada.',
251 cls: 'x-html-editor-tip'
255 text: 'Inserta un enlace de hipertexto.',
256 cls: 'x-html-editor-tip'
259 title: 'Código Fuente',
260 text: 'Pasar al modo de edición de código fuente.',
261 cls: 'x-html-editor-tip'
267 if(Ext.grid.GridView){
268 Ext.apply(Ext.grid.GridView.prototype, {
269 sortAscText : "Ordenar en forma ascendente",
270 sortDescText : "Ordenar en forma descendente",
271 columnsText : "Columnas"
275 if(Ext.grid.GroupingView){
276 Ext.apply(Ext.grid.GroupingView.prototype, {
277 emptyGroupText : '(Ninguno)',
278 groupByText : 'Agrupar por este campo',
279 showGroupsText : 'Mostrar en grupos'
283 if(Ext.grid.PropertyColumnModel){
284 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
291 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
292 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
293 splitTip : "Arrastre para redimensionar.",
294 collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
298 if(Ext.form.TimeField){
299 Ext.apply(Ext.form.TimeField.prototype, {
300 minText : "La hora en este campo debe ser igual o posterior a {0}",
301 maxText : "La hora en este campo debe ser igual o anterior a {0}",
302 invalidText : "{0} no es una hora válida",
304 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"
308 if(Ext.form.CheckboxGroup){
309 Ext.apply(Ext.form.CheckboxGroup.prototype, {
310 blankText : "Debe seleccionar al menos un étem de este grupo"
314 if(Ext.form.RadioGroup){
315 Ext.apply(Ext.form.RadioGroup.prototype, {
316 blankText : "Debe seleccionar un étem de este grupo"