3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Spanish/Latin American Translation by genius551v 04-08-2007
17 * Revised by efege, 2007-04-15.
18 * Revised by Rafaga2k 10-01-2007 (mm/dd/yyyy)
19 * Revised by FeDe 12-13-2007 (mm/dd/yyyy)
20 * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
21 * by halkon_polako 14-aug-2008
23 Ext.onReady(function() {
25 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';
29 Ext.view.View.prototype.emptyText = "";
33 Ext.grid.Panel.prototype.ddText = "{0} fila(s) seleccionada(s)";
37 Ext.LoadMask.prototype.msg = "Cargando...";
41 Ext.Date.monthNames = [
56 Ext.Date.getShortMonthName = function(month) {
57 return Ext.Date.monthNames[month].substring(0, 3);
60 Ext.Date.monthNumbers = {
75 Ext.Date.getMonthNumber = function(name) {
76 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
89 Ext.Date.getShortDayName = function(day) {
90 if (day==3) return "Mié";
91 if (day==6) return "Sáb";
92 return Ext.Date.dayNames[day].substring(0, 3);
95 Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
99 Ext.MessageBox.buttonText = {
108 Ext.apply(Ext.util.Format, {
109 thousandSeparator: '.',
110 decimalSeparator: ',',
111 currencySign: '\u20ac', // Spanish Euro
117 Ext.apply(Ext.picker.Date.prototype, {
119 minText : "Esta fecha es anterior a la fecha mínima",
120 maxText : "Esta fecha es posterior a la fecha máxima",
121 disabledDaysText : "",
122 disabledDatesText : "",
123 monthNames : Ext.Date.monthNames,
124 dayNames : Ext.Date.dayNames,
125 nextText : 'Mes Siguiente (Control+Right)',
126 prevText : 'Mes Anterior (Control+Left)',
127 monthYearText : 'Seleccione un mes (Control+Up/Down para desplazar el año)',
128 todayTip : "{0} (Barra espaciadora)",
134 if(Ext.picker.Month) {
135 Ext.apply(Ext.picker.Month.prototype, {
136 okText : " Ok ",
137 cancelText : "Cancelar"
141 if(Ext.toolbar.Paging){
142 Ext.apply(Ext.PagingToolbar.prototype, {
143 beforePageText : "Página",
144 afterPageText : "de {0}",
145 firstText : "Primera página",
146 prevText : "Página anterior",
147 nextText : "Página siguiente",
148 lastText : "Última página",
149 refreshText : "Actualizar",
150 displayMsg : "Mostrando {0} - {1} de {2}",
151 emptyMsg : 'Sin datos para mostrar'
155 if(Ext.form.field.Base){
156 Ext.form.field.Base.prototype.invalidText = "El valor en este campo es inválido";
159 if(Ext.form.field.Text){
160 Ext.apply(Ext.form.field.Text.prototype, {
161 minLengthText : "El tamaño mínimo para este campo es de {0}",
162 maxLengthText : "El tamaño máximo para este campo es de {0}",
163 blankText : "Este campo es obligatorio",
169 if(Ext.form.field.Number){
170 Ext.apply(Ext.form.field.Number.prototype, {
171 decimalSeparator : ".",
172 decimalPrecision : 2,
173 minText : "El valor mínimo para este campo es de {0}",
174 maxText : "El valor máximo para este campo es de {0}",
175 nanText : "{0} no es un número válido"
179 if(Ext.form.field.Date){
180 Ext.apply(Ext.form.field.Date.prototype, {
181 disabledDaysText : "Deshabilitado",
182 disabledDatesText : "Deshabilitado",
183 minText : "La fecha para este campo debe ser posterior a {0}",
184 maxText : "La fecha para este campo debe ser anterior a {0}",
185 invalidText : "{0} no es una fecha válida - debe tener el formato {1}",
187 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
191 if(Ext.form.field.ComboBox){
192 Ext.apply(Ext.form.field.ComboBox.prototype, {
193 loadingText : "Cargando...",
194 valueNotFoundText : undefined
198 if(Ext.form.field.VTypes){
199 Ext.apply(Ext.form.field.VTypes, {
200 emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"',
201 urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',
202 alphaText : 'Este campo sólo debe contener letras y _',
203 alphanumText : 'Este campo sólo debe contener letras, números y _'
207 if(Ext.form.field.HtmlEditor){
208 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
209 createLinkText : "Por favor proporcione la URL para el enlace:",
212 title: 'Negritas (Ctrl+B)',
213 text: 'Transforma el texto seleccionado en Negritas.',
214 cls: Ext.baseCSSPrefix + 'html-editor-tip'
217 title: 'Itálica (Ctrl+I)',
218 text: 'Transforma el texto seleccionado en Itálicas.',
219 cls: Ext.baseCSSPrefix + 'html-editor-tip'
222 title: 'Subrayado (Ctrl+U)',
223 text: 'Subraya el texto seleccionado.',
224 cls: Ext.baseCSSPrefix + 'html-editor-tip'
227 title: 'Aumentar la fuente',
228 text: 'Aumenta el tamaño de la fuente',
229 cls: Ext.baseCSSPrefix + 'html-editor-tip'
232 title: 'Reducir la fuente',
233 text: 'Reduce el tamaño de la fuente.',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
237 title: 'Color de fondo',
238 text: 'Modifica el color de fondo del texto seleccionado.',
239 cls: Ext.baseCSSPrefix + 'html-editor-tip'
242 title: 'Color de la fuente',
243 text: 'Modifica el color del texto seleccionado.',
244 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 title: 'Alinear a la izquierda',
248 text: 'Alinea el texto a la izquierda.',
249 cls: Ext.baseCSSPrefix + 'html-editor-tip'
253 text: 'Centrar el texto.',
254 cls: Ext.baseCSSPrefix + 'html-editor-tip'
257 title: 'Alinear a la derecha',
258 text: 'Alinea el texto a la derecha.',
259 cls: Ext.baseCSSPrefix + 'html-editor-tip'
261 insertunorderedlist : {
262 title: 'Lista de viñetas',
263 text: 'Inicia una lista con viñetas.',
264 cls: Ext.baseCSSPrefix + 'html-editor-tip'
266 insertorderedlist : {
267 title: 'Lista numerada',
268 text: 'Inicia una lista numerada.',
269 cls: Ext.baseCSSPrefix + 'html-editor-tip'
273 text: 'Inserta un enlace de hipertexto.',
274 cls: Ext.baseCSSPrefix + 'html-editor-tip'
277 title: 'Código Fuente',
278 text: 'Pasar al modo de edición de código fuente.',
279 cls: Ext.baseCSSPrefix + 'html-editor-tip'
285 if(Ext.grid.header.Container){
286 Ext.apply(Ext.grid.header.Container.prototype, {
287 sortAscText : "Ordenar en forma ascendente",
288 sortDescText : "Ordenar en forma descendente",
289 columnsText : "Columnas"
293 if(Ext.grid.GroupingFeature){
294 Ext.apply(Ext.grid.GroupingFeature.prototype, {
295 emptyGroupText : '(Ninguno)',
296 groupByText : 'Agrupar por este campo',
297 showGroupsText : 'Mostrar en grupos'
301 if(Ext.grid.PropertyColumnModel){
302 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
309 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
310 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
311 splitTip : "Arrastre para redimensionar.",
312 collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
316 if(Ext.form.field.Time){
317 Ext.apply(Ext.form.field.Time.prototype, {
318 minText : "La hora en este campo debe ser igual o posterior a {0}",
319 maxText : "La hora en este campo debe ser igual o anterior a {0}",
320 invalidText : "{0} no es una hora válida",
322 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"
326 if(Ext.form.CheckboxGroup){
327 Ext.apply(Ext.form.CheckboxGroup.prototype, {
328 blankText : "Debe seleccionar al menos un étem de este grupo"
332 if(Ext.form.RadioGroup){
333 Ext.apply(Ext.form.RadioGroup.prototype, {
334 blankText : "Debe seleccionar un étem de este grupo"