+++ /dev/null
-/*\r
- * Spanish/Latin American Translation by genius551v 04-08-2007\r
- * Revised by efege, 2007-04-15.\r
- * Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy)\r
- * Revised by FeDe 12-13-2007 (mm/dd/yyyy)\r
- * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008) \r
- * by halkon_polako 14-aug-2009\r
- */\r
-\r
-Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';\r
-\r
-if(Ext.DataView){\r
- Ext.DataView.prototype.emptyText = "";\r
-}\r
-\r
-if(Ext.grid.GridPanel){\r
- Ext.grid.GridPanel.prototype.ddText = "{0} fila(s) seleccionada(s)";\r
-}\r
-\r
-if(Ext.LoadMask){\r
- Ext.LoadMask.prototype.msg = "Cargando...";\r
-}\r
-\r
-Date.monthNames = [\r
- "Enero",\r
- "Febrero",\r
- "Marzo",\r
- "Abril",\r
- "Mayo",\r
- "Junio",\r
- "Julio",\r
- "Agosto",\r
- "Septiembre",\r
- "Octubre",\r
- "Noviembre",\r
- "Diciembre"\r
-];\r
-\r
-Date.getShortMonthName = function(month) {\r
- return Date.monthNames[month].substring(0, 3);\r
-};\r
-\r
-Date.monthNumbers = {\r
- Ene : 0,\r
- Feb : 1,\r
- Mar : 2,\r
- Abr : 3,\r
- May : 4,\r
- Jun : 5,\r
- Jul : 6,\r
- Ago : 7,\r
- Sep : 8,\r
- Oct : 9,\r
- Nov : 10,\r
- Dic : 11\r
-};\r
-\r
-Date.getMonthNumber = function(name) {\r
- return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];\r
-};\r
-\r
-Date.dayNames = [\r
- "Domingo",\r
- "Lunes",\r
- "Martes",\r
- "Miércoles",\r
- "Jueves",\r
- "Viernes",\r
- "Sábado"\r
-];\r
-\r
-Date.getShortDayName = function(day) {\r
- if (day==3) return "Mié";\r
- if (day==6) return "Sáb";\r
- return Date.dayNames[day].substring(0, 3);\r
-};\r
-\r
-Date.parseCodes.S.s = "(?:st|nd|rd|th)";\r
-\r
-if(Ext.MessageBox){\r
- Ext.MessageBox.buttonText = {\r
- ok : "Aceptar",\r
- cancel : "Cancelar",\r
- yes : "Sí",\r
- no : "No"\r
- };\r
-}\r
-\r
-if(Ext.util.Format){\r
- Ext.util.Format.date = function(v, format){\r
- if(!v) return "";\r
- if(!(v instanceof Date)) v = new Date(Date.parse(v));\r
- return v.dateFormat(format || "d/m/Y");\r
- };\r
-}\r
-\r
-if(Ext.DatePicker){\r
- Ext.apply(Ext.DatePicker.prototype, {\r
- todayText : "Hoy",\r
- minText : "Esta fecha es anterior a la fecha mínima",\r
- maxText : "Esta fecha es posterior a la fecha máxima",\r
- disabledDaysText : "",\r
- disabledDatesText : "",\r
- monthNames : Date.monthNames,\r
- dayNames : Date.dayNames,\r
- nextText : 'Mes Siguiente (Control+Right)',\r
- prevText : 'Mes Anterior (Control+Left)',\r
- monthYearText : 'Seleccione un mes (Control+Up/Down para desplazar el año)',\r
- todayTip : "{0} (Barra espaciadora)",\r
- format : "d/m/Y",\r
- okText : " Ok ",\r
- cancelText : "Cancelar",\r
- startDay : 1\r
- });\r
-}\r
-\r
-if(Ext.PagingToolbar){\r
- Ext.apply(Ext.PagingToolbar.prototype, {\r
- beforePageText : "Página",\r
- afterPageText : "de {0}",\r
- firstText : "Primera página",\r
- prevText : "Página anterior",\r
- nextText : "Página siguiente",\r
- lastText : "Última página",\r
- refreshText : "Actualizar",\r
- displayMsg : "Mostrando {0} - {1} de {2}",\r
- emptyMsg : 'Sin datos para mostrar'\r
- });\r
-}\r
-\r
-if(Ext.form.Field){\r
- Ext.form.Field.prototype.invalidText = "El valor en este campo es inválido";\r
-}\r
-\r
-if(Ext.form.TextField){\r
- Ext.apply(Ext.form.TextField.prototype, {\r
- minLengthText : "El tamaño mínimo para este campo es de {0}",\r
- maxLengthText : "El tamaño máximo para este campo es de {0}",\r
- blankText : "Este campo es obligatorio",\r
- regexText : "",\r
- emptyText : null\r
- });\r
-}\r
-\r
-if(Ext.form.NumberField){\r
- Ext.apply(Ext.form.NumberField.prototype, {\r
- decimalSeparator : ".",\r
- decimalPrecision : 2,\r
- minText : "El valor mínimo para este campo es de {0}",\r
- maxText : "El valor máximo para este campo es de {0}",\r
- nanText : "{0} no es un número válido"\r
- });\r
-}\r
-\r
-if(Ext.form.DateField){\r
- Ext.apply(Ext.form.DateField.prototype, {\r
- disabledDaysText : "Deshabilitado",\r
- disabledDatesText : "Deshabilitado",\r
- minText : "La fecha para este campo debe ser posterior a {0}",\r
- maxText : "La fecha para este campo debe ser anterior a {0}",\r
- invalidText : "{0} no es una fecha válida - debe tener el formato {1}",\r
- format : "d/m/Y",\r
- altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"\r
- });\r
-}\r
-\r
-if(Ext.form.ComboBox){\r
- Ext.apply(Ext.form.ComboBox.prototype, {\r
- loadingText : "Cargando...",\r
- valueNotFoundText : undefined\r
- });\r
-}\r
-\r
-if(Ext.form.VTypes){\r
- Ext.apply(Ext.form.VTypes, {\r
- emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"',\r
- urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',\r
- alphaText : 'Este campo sólo debe contener letras y _',\r
- alphanumText : 'Este campo sólo debe contener letras, números y _'\r
- });\r
-}\r
-\r
-if(Ext.form.HtmlEditor){\r
- Ext.apply(Ext.form.HtmlEditor.prototype, {\r
- createLinkText : "Por favor proporcione la URL para el enlace:",\r
- buttonTips : {\r
- bold : {\r
- title: 'Negritas (Ctrl+B)',\r
- text: 'Transforma el texto seleccionado en Negritas.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- italic : {\r
- title: 'Itálica (Ctrl+I)',\r
- text: 'Transforma el texto seleccionado en Itálicas.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- underline : {\r
- title: 'Subrayado (Ctrl+U)',\r
- text: 'Subraya el texto seleccionado.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- increasefontsize : {\r
- title: 'Aumentar la fuente',\r
- text: 'Aumenta el tamaño de la fuente',\r
- cls: 'x-html-editor-tip'\r
- },\r
- decreasefontsize : {\r
- title: 'Reducir la fuente',\r
- text: 'Reduce el tamaño de la fuente.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- backcolor : {\r
- title: 'Color de fondo',\r
- text: 'Modifica el color de fondo del texto seleccionado.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- forecolor : {\r
- title: 'Color de la fuente',\r
- text: 'Modifica el color del texto seleccionado.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- justifyleft : {\r
- title: 'Alinear a la izquierda',\r
- text: 'Alinea el texto a la izquierda.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- justifycenter : {\r
- title: 'Centrar',\r
- text: 'Centrar el texto.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- justifyright : {\r
- title: 'Alinear a la derecha',\r
- text: 'Alinea el texto a la derecha.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- insertunorderedlist : {\r
- title: 'Lista de viñetas',\r
- text: 'Inicia una lista con viñetas.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- insertorderedlist : {\r
- title: 'Lista numerada',\r
- text: 'Inicia una lista numerada.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- createlink : {\r
- title: 'Enlace',\r
- text: 'Inserta un enlace de hipertexto.',\r
- cls: 'x-html-editor-tip'\r
- },\r
- sourceedit : {\r
- title: 'Código Fuente',\r
- text: 'Pasar al modo de edición de código fuente.',\r
- cls: 'x-html-editor-tip'\r
- }\r
- }\r
- });\r
-}\r
-\r
-if(Ext.grid.GridView){\r
- Ext.apply(Ext.grid.GridView.prototype, {\r
- sortAscText : "Ordenar en forma ascendente",\r
- sortDescText : "Ordenar en forma descendente",\r
- columnsText : "Columnas"\r
- });\r
-}\r
-\r
-if(Ext.grid.GroupingView){\r
- Ext.apply(Ext.grid.GroupingView.prototype, {\r
- emptyGroupText : '(Ninguno)',\r
- groupByText : 'Agrupar por este campo',\r
- showGroupsText : 'Mostrar en grupos'\r
- });\r
-}\r
-\r
-if(Ext.grid.PropertyColumnModel){\r
- Ext.apply(Ext.grid.PropertyColumnModel.prototype, {\r
- nameText : "Nombre",\r
- valueText : "Valor",\r
- dateFormat : "j/m/Y"\r
- });\r
-}\r
-\r
-if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){\r
- Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {\r
- splitTip : "Arrastre para redimensionar.",\r
- collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."\r
- });\r
-}\r
-\r
-if(Ext.form.TimeField){\r
- Ext.apply(Ext.form.TimeField.prototype, {\r
- minText : "La hora en este campo debe ser igual o posterior a {0}",\r
- maxText : "La hora en este campo debe ser igual o anterior a {0}",\r
- invalidText : "{0} no es una hora válida",\r
- format : "g:i A",\r
- 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
- });\r
-}\r
-\r
-if(Ext.form.CheckboxGroup){\r
- Ext.apply(Ext.form.CheckboxGroup.prototype, {\r
- blankText : "Debe seleccionar al menos un étem de este grupo"\r
- });\r
-}\r
-\r
-if(Ext.form.RadioGroup){\r
- Ext.apply(Ext.form.RadioGroup.prototype, {\r
- blankText : "Debe seleccionar un étem de este grupo"\r
- });\r
-}\r