2 * Spanish/Latin American Translation by genius551v 04-08-2007
3 * Revised by efege, 2007-04-15.
4 * Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy)
5 * Revised by FeDe 12-13-2007 (mm/dd/yyyy)
6 * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
7 * by halkon_polako 14-aug-2008
10 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';
13 Ext.DataView.prototype.emptyText = "";
16 if(Ext.grid.GridPanel){
17 Ext.grid.GridPanel.prototype.ddText = "{0} fila(s) seleccionada(s)";
21 Ext.LoadMask.prototype.msg = "Cargando...";
39 Date.getShortMonthName = function(month) {
40 return Date.monthNames[month].substring(0, 3);
58 Date.getMonthNumber = function(name) {
59 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
72 Date.getShortDayName = function(day) {
73 if (day==3) return "Mié";
74 if (day==6) return "Sáb";
75 return Date.dayNames[day].substring(0, 3);
78 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
81 Ext.MessageBox.buttonText = {
90 Ext.util.Format.date = function(v, format){
92 if(!(v instanceof Date)) v = new Date(Date.parse(v));
93 return v.dateFormat(format || "d/m/Y");
98 Ext.apply(Ext.DatePicker.prototype, {
100 minText : "Esta fecha es anterior a la fecha mínima",
101 maxText : "Esta fecha es posterior a la fecha máxima",
102 disabledDaysText : "",
103 disabledDatesText : "",
104 monthNames : Date.monthNames,
105 dayNames : Date.dayNames,
106 nextText : 'Mes Siguiente (Control+Right)',
107 prevText : 'Mes Anterior (Control+Left)',
108 monthYearText : 'Seleccione un mes (Control+Up/Down para desplazar el año)',
109 todayTip : "{0} (Barra espaciadora)",
111 okText : " Ok ",
112 cancelText : "Cancelar",
117 if(Ext.PagingToolbar){
118 Ext.apply(Ext.PagingToolbar.prototype, {
119 beforePageText : "Página",
120 afterPageText : "de {0}",
121 firstText : "Primera página",
122 prevText : "Página anterior",
123 nextText : "Página siguiente",
124 lastText : "Última página",
125 refreshText : "Actualizar",
126 displayMsg : "Mostrando {0} - {1} de {2}",
127 emptyMsg : 'Sin datos para mostrar'
132 Ext.form.Field.prototype.invalidText = "El valor en este campo es inválido";
135 if(Ext.form.TextField){
136 Ext.apply(Ext.form.TextField.prototype, {
137 minLengthText : "El tamaño mínimo para este campo es de {0}",
138 maxLengthText : "El tamaño máximo para este campo es de {0}",
139 blankText : "Este campo es obligatorio",
145 if(Ext.form.NumberField){
146 Ext.apply(Ext.form.NumberField.prototype, {
147 decimalSeparator : ".",
148 decimalPrecision : 2,
149 minText : "El valor mínimo para este campo es de {0}",
150 maxText : "El valor máximo para este campo es de {0}",
151 nanText : "{0} no es un número válido"
155 if(Ext.form.DateField){
156 Ext.apply(Ext.form.DateField.prototype, {
157 disabledDaysText : "Deshabilitado",
158 disabledDatesText : "Deshabilitado",
159 minText : "La fecha para este campo debe ser posterior a {0}",
160 maxText : "La fecha para este campo debe ser anterior a {0}",
161 invalidText : "{0} no es una fecha válida - debe tener el formato {1}",
163 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
167 if(Ext.form.ComboBox){
168 Ext.apply(Ext.form.ComboBox.prototype, {
169 loadingText : "Cargando...",
170 valueNotFoundText : undefined
175 Ext.apply(Ext.form.VTypes, {
176 emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"',
177 urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',
178 alphaText : 'Este campo sólo debe contener letras y _',
179 alphanumText : 'Este campo sólo debe contener letras, números y _'
183 if(Ext.form.HtmlEditor){
184 Ext.apply(Ext.form.HtmlEditor.prototype, {
185 createLinkText : "Por favor proporcione la URL para el enlace:",
188 title: 'Negritas (Ctrl+B)',
189 text: 'Transforma el texto seleccionado en Negritas.',
190 cls: 'x-html-editor-tip'
193 title: 'Itálica (Ctrl+I)',
194 text: 'Transforma el texto seleccionado en Itálicas.',
195 cls: 'x-html-editor-tip'
198 title: 'Subrayado (Ctrl+U)',
199 text: 'Subraya el texto seleccionado.',
200 cls: 'x-html-editor-tip'
203 title: 'Aumentar la fuente',
204 text: 'Aumenta el tamaño de la fuente',
205 cls: 'x-html-editor-tip'
208 title: 'Reducir la fuente',
209 text: 'Reduce el tamaño de la fuente.',
210 cls: 'x-html-editor-tip'
213 title: 'Color de fondo',
214 text: 'Modifica el color de fondo del texto seleccionado.',
215 cls: 'x-html-editor-tip'
218 title: 'Color de la fuente',
219 text: 'Modifica el color del texto seleccionado.',
220 cls: 'x-html-editor-tip'
223 title: 'Alinear a la izquierda',
224 text: 'Alinea el texto a la izquierda.',
225 cls: 'x-html-editor-tip'
229 text: 'Centrar el texto.',
230 cls: 'x-html-editor-tip'
233 title: 'Alinear a la derecha',
234 text: 'Alinea el texto a la derecha.',
235 cls: 'x-html-editor-tip'
237 insertunorderedlist : {
238 title: 'Lista de viñetas',
239 text: 'Inicia una lista con viñetas.',
240 cls: 'x-html-editor-tip'
242 insertorderedlist : {
243 title: 'Lista numerada',
244 text: 'Inicia una lista numerada.',
245 cls: 'x-html-editor-tip'
249 text: 'Inserta un enlace de hipertexto.',
250 cls: 'x-html-editor-tip'
253 title: 'Código Fuente',
254 text: 'Pasar al modo de edición de código fuente.',
255 cls: 'x-html-editor-tip'
261 if(Ext.grid.GridView){
262 Ext.apply(Ext.grid.GridView.prototype, {
263 sortAscText : "Ordenar en forma ascendente",
264 sortDescText : "Ordenar en forma descendente",
265 columnsText : "Columnas"
269 if(Ext.grid.GroupingView){
270 Ext.apply(Ext.grid.GroupingView.prototype, {
271 emptyGroupText : '(Ninguno)',
272 groupByText : 'Agrupar por este campo',
273 showGroupsText : 'Mostrar en grupos'
277 if(Ext.grid.PropertyColumnModel){
278 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
285 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
286 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
287 splitTip : "Arrastre para redimensionar.",
288 collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
292 if(Ext.form.TimeField){
293 Ext.apply(Ext.form.TimeField.prototype, {
294 minText : "La hora en este campo debe ser igual o posterior a {0}",
295 maxText : "La hora en este campo debe ser igual o anterior a {0}",
296 invalidText : "{0} no es una hora válida",
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"
302 if(Ext.form.CheckboxGroup){
303 Ext.apply(Ext.form.CheckboxGroup.prototype, {
304 blankText : "Debe seleccionar al menos un étem de este grupo"
308 if(Ext.form.RadioGroup){
309 Ext.apply(Ext.form.RadioGroup.prototype, {
310 blankText : "Debe seleccionar un étem de este grupo"