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 valueNotFoundText : undefined
195 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
196 loadingText : "Cargando..."
200 if(Ext.form.field.VTypes){
201 Ext.apply(Ext.form.field.VTypes, {
202 emailText : 'Este campo debe ser una dirección de correo electrónico con el formato "usuario@dominio.com"',
203 urlText : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',
204 alphaText : 'Este campo sólo debe contener letras y _',
205 alphanumText : 'Este campo sólo debe contener letras, números y _'
209 if(Ext.form.field.HtmlEditor){
210 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
211 createLinkText : "Por favor proporcione la URL para el enlace:",
214 title: 'Negritas (Ctrl+B)',
215 text: 'Transforma el texto seleccionado en Negritas.',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: 'Itálica (Ctrl+I)',
220 text: 'Transforma el texto seleccionado en Itálicas.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 title: 'Subrayado (Ctrl+U)',
225 text: 'Subraya el texto seleccionado.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'Aumentar la fuente',
230 text: 'Aumenta el tamaño de la fuente',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 title: 'Reducir la fuente',
235 text: 'Reduce el tamaño de la fuente.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'Color de fondo',
240 text: 'Modifica el color de fondo del texto seleccionado.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
244 title: 'Color de la fuente',
245 text: 'Modifica el color del texto seleccionado.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
249 title: 'Alinear a la izquierda',
250 text: 'Alinea el texto a la izquierda.',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
255 text: 'Centrar el texto.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 title: 'Alinear a la derecha',
260 text: 'Alinea el texto a la derecha.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
263 insertunorderedlist : {
264 title: 'Lista de viñetas',
265 text: 'Inicia una lista con viñetas.',
266 cls: Ext.baseCSSPrefix + 'html-editor-tip'
268 insertorderedlist : {
269 title: 'Lista numerada',
270 text: 'Inicia una lista numerada.',
271 cls: Ext.baseCSSPrefix + 'html-editor-tip'
275 text: 'Inserta un enlace de hipertexto.',
276 cls: Ext.baseCSSPrefix + 'html-editor-tip'
279 title: 'Código Fuente',
280 text: 'Pasar al modo de edición de código fuente.',
281 cls: Ext.baseCSSPrefix + 'html-editor-tip'
287 if(Ext.grid.header.Container){
288 Ext.apply(Ext.grid.header.Container.prototype, {
289 sortAscText : "Ordenar en forma ascendente",
290 sortDescText : "Ordenar en forma descendente",
291 columnsText : "Columnas"
295 if(Ext.grid.GroupingFeature){
296 Ext.apply(Ext.grid.GroupingFeature.prototype, {
297 emptyGroupText : '(Ninguno)',
298 groupByText : 'Agrupar por este campo',
299 showGroupsText : 'Mostrar en grupos'
303 if(Ext.grid.PropertyColumnModel){
304 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
311 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
312 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
313 splitTip : "Arrastre para redimensionar.",
314 collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
318 if(Ext.form.field.Time){
319 Ext.apply(Ext.form.field.Time.prototype, {
320 minText : "La hora en este campo debe ser igual o posterior a {0}",
321 maxText : "La hora en este campo debe ser igual o anterior a {0}",
322 invalidText : "{0} no es una hora válida",
324 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"
328 if(Ext.form.CheckboxGroup){
329 Ext.apply(Ext.form.CheckboxGroup.prototype, {
330 blankText : "Debe seleccionar al menos un étem de este grupo"
334 if(Ext.form.RadioGroup){
335 Ext.apply(Ext.form.RadioGroup.prototype, {
336 blankText : "Debe seleccionar un étem de este grupo"