167 lines
No EOL
6.1 KiB
HTML
167 lines
No EOL
6.1 KiB
HTML
<html><head><title>ext-lang-sp.js</title><link rel="stylesheet" type="text/css" href="../resources/style.css" media="screen"/></head><body><h1>ext-lang-sp.js</h1><pre class="highlighted"><code><i>/*
|
||
* Español/Latinoamerica Translation by genius551v 04-08-2007
|
||
* Revised by efege, 2007-04-15.
|
||
*/</i>
|
||
|
||
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';
|
||
|
||
<b>if</b>(Ext.View){
|
||
Ext.View.prototype.emptyText = "";
|
||
}
|
||
|
||
<b>if</b>(Ext.grid.Grid){
|
||
Ext.grid.Grid.prototype.ddText = "{0} fila(s) seleccionada(s)";
|
||
}
|
||
|
||
<b>if</b>(Ext.TabPanelItem){
|
||
Ext.TabPanelItem.prototype.closeText = "Cerrar esta pestaña";
|
||
}
|
||
|
||
<b>if</b>(Ext.form.Field){
|
||
Ext.form.Field.prototype.invalidText = "El valor en este campo es inválido";
|
||
}
|
||
|
||
Date.monthNames = [
|
||
"Enero",
|
||
"Febrero",
|
||
"Marzo",
|
||
"Abril",
|
||
"Mayo",
|
||
"Junio",
|
||
"Julio",
|
||
"Agosto",
|
||
"Septiembre",
|
||
"Octubre",
|
||
"Noviembre",
|
||
"Diciembre"
|
||
];
|
||
|
||
Date.dayNames = [
|
||
"Domingo",
|
||
"Lunes",
|
||
"Martes",
|
||
"Miércoles",
|
||
"Jueves",
|
||
"Viernes",
|
||
"Sábado"
|
||
];
|
||
|
||
<b>if</b>(Ext.MessageBox){
|
||
Ext.MessageBox.buttonText = {
|
||
ok : "Aceptar",
|
||
cancel : "Cancelar",
|
||
yes : "Sí",
|
||
no : "No"
|
||
};
|
||
}
|
||
|
||
<b>if</b>(Ext.util.Format){
|
||
Ext.util.Format.date = <b>function</b>(v, format){
|
||
<b>if</b>(!v) <b>return</b> "";
|
||
<b>if</b>(!(v instanceof Date)) v = <b>new</b> Date(Date.parse(v));
|
||
<b>return</b> v.dateFormat(format || "d/m/Y");
|
||
};
|
||
}
|
||
|
||
<b>if</b>(Ext.DatePicker){
|
||
Ext.apply(Ext.DatePicker.prototype, {
|
||
todayText : "Hoy",
|
||
minText : "Esta fecha es anterior a la fecha mínima",
|
||
maxText : "Esta fecha es posterior a la fecha máxima",
|
||
disabledDaysText : "",
|
||
disabledDatesText : "",
|
||
monthNames : Date.monthNames,
|
||
dayNames : Date.dayNames,
|
||
nextText : 'Mes Siguiente (Control+Right)',
|
||
prevText : 'Mes Anterior (Control+Left)',
|
||
monthYearText : 'Seleccione un mes (Control+Up/Down para desplazar el año)',
|
||
todayTip : "{0} (Barra espaciadora)",
|
||
format : "d/m/Y"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.PagingToolbar){
|
||
Ext.apply(Ext.PagingToolbar.prototype, {
|
||
beforePageText : "Página",
|
||
afterPageText : "de {0}",
|
||
firstText : "Primera página",
|
||
prevText : "Página anterior",
|
||
nextText : "Página siguiente",
|
||
lastText : "Ã<EFBFBD>ltima página",
|
||
refreshText : "Actualizar",
|
||
displayMsg : "Mostrando {0} - {1} de {2}",
|
||
emptyMsg : 'Sin datos para mostrar'
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.TextField){
|
||
Ext.apply(Ext.form.TextField.prototype, {
|
||
minLengthText : "El tamaño mínimo para este campo es de {0}",
|
||
maxLengthText : "El tamaño máximo para este campo es de {0}",
|
||
blankText : "Este campo es obligatorio",
|
||
regexText : "",
|
||
emptyText : null
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.NumberField){
|
||
Ext.apply(Ext.form.NumberField.prototype, {
|
||
minText : "El valor mínimo para este campo es de {0}",
|
||
maxText : "El valor máximo para este campo es de {0}",
|
||
nanText : "{0} no es un número válido"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.DateField){
|
||
Ext.apply(Ext.form.DateField.prototype, {
|
||
disabledDaysText : "Deshabilitado",
|
||
disabledDatesText : "Deshabilitado",
|
||
minText : "La fecha para este campo debe ser posterior a {0}",
|
||
maxText : "La fecha para este campo debe ser anterior a {0}",
|
||
invalidText : "{0} no es una fecha válida - debe tener el formato {1}",
|
||
format : "d/m/Y"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.ComboBox){
|
||
Ext.apply(Ext.form.ComboBox.prototype, {
|
||
loadingText : "Cargando...",
|
||
valueNotFoundText : undefined
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.form.VTypes){
|
||
Ext.apply(Ext.form.VTypes, {
|
||
emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"',
|
||
urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',
|
||
alphaText : 'Este campo solo debe contener letras y _',
|
||
alphanumText : 'Este campo solo debe contener letras, números y _'
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.grid.GridView){
|
||
Ext.apply(Ext.grid.GridView.prototype, {
|
||
sortAscText : "Ordenar en forma ascendente",
|
||
sortDescText : "Ordenar en forma descendente",
|
||
lockText : "Bloquear Columna",
|
||
unlockText : "Desbloquear Columna",
|
||
columnsText : "Columnas"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.grid.PropertyColumnModel){
|
||
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
|
||
nameText : "Nombre",
|
||
valueText : "Valor",
|
||
dateFormat : "j/m/Y"
|
||
});
|
||
}
|
||
|
||
<b>if</b>(Ext.SplitLayoutRegion){
|
||
Ext.apply(Ext.SplitLayoutRegion.prototype, {
|
||
splitTip : "Arrastre para redimensionar.",
|
||
collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
|
||
});
|
||
}
|
||
</code></pre><hr><div style="font-size:10px;text-align:center;color:gray;">Ext - Copyright © 2006-2007 Ext JS, LLC<br />All rights reserved.</div>
|
||
</body></html> |