~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to gis/dhis-gis-geostat/mfbase/ext/source/locale/ext-lang-es.js

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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
 */
 
7
 
 
8
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Cargando...</div>';
 
9
 
 
10
if(Ext.View){
 
11
   Ext.View.prototype.emptyText = "";
 
12
}
 
13
 
 
14
if(Ext.grid.GridPanel){
 
15
   Ext.grid.GridPanel.prototype.ddText = "{0} fila(s) seleccionada(s)";
 
16
}
 
17
 
 
18
if(Ext.TabPanelItem){
 
19
   Ext.TabPanelItem.prototype.closeText = "Cerrar esta pesta&#241;a";
 
20
}
 
21
 
 
22
if(Ext.form.Field){
 
23
   Ext.form.Field.prototype.invalidText = "El valor en este campo es inv&#225;lido";
 
24
}
 
25
 
 
26
if(Ext.LoadMask){
 
27
    Ext.LoadMask.prototype.msg = "Cargando...";
 
28
}
 
29
 
 
30
 
 
31
Date.monthNames = [
 
32
   "Enero",
 
33
   "Febrero",
 
34
   "Marzo",
 
35
   "Abril",
 
36
   "Mayo",
 
37
   "Junio",
 
38
   "Julio",
 
39
   "Agosto",
 
40
   "Septiembre",
 
41
   "Octubre",
 
42
   "Noviembre",
 
43
   "Diciembre"
 
44
];
 
45
 
 
46
Date.getShortMonthName = function(month) {
 
47
  return Date.monthNames[month].substring(0, 3);
 
48
};
 
49
 
 
50
Date.monthNumbers = {
 
51
  Ene : 0,
 
52
  Feb : 1,
 
53
  Mar : 2,
 
54
  Abr : 3,
 
55
  May : 4,
 
56
  Jun : 5,
 
57
  Jul : 6,
 
58
  Ago : 7,
 
59
  Sep : 8,
 
60
  Oct : 9,
 
61
  Nov : 10,
 
62
  Dic : 11
 
63
};
 
64
 
 
65
Date.getMonthNumber = function(name) {
 
66
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
 
67
};
 
68
 
 
69
Date.dayNames = [
 
70
   "Domingo",
 
71
   "Lunes",
 
72
   "Martes",
 
73
   "Mi&#233;rcoles",
 
74
   "Jueves",
 
75
   "Viernes",
 
76
   "S&#225;bado"
 
77
];
 
78
 
 
79
Date.getShortDayName = function(day) {
 
80
  if (day==3) return "Mié";
 
81
  if (day==6) return "Sáb";
 
82
  return Date.dayNames[day].substring(0, 3);
 
83
};
 
84
 
 
85
if(Ext.MessageBox){
 
86
   Ext.MessageBox.buttonText = {
 
87
      ok     : "Aceptar",
 
88
      cancel : "Cancelar",
 
89
      yes    : "S&#237;",
 
90
      no     : "No"
 
91
   };
 
92
}
 
93
 
 
94
if(Ext.util.Format){
 
95
   Ext.util.Format.date = function(v, format){
 
96
      if(!v) return "";
 
97
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
 
98
      return v.dateFormat(format || "d/m/Y");
 
99
   };
 
100
}
 
101
 
 
102
if(Ext.DatePicker){
 
103
   Ext.apply(Ext.DatePicker.prototype, {
 
104
      todayText         : "Hoy",
 
105
      minText           : "Esta fecha es anterior a la fecha m&#237;nima",
 
106
      maxText           : "Esta fecha es posterior a la fecha m&#225;xima",
 
107
      disabledDaysText  : "",
 
108
      disabledDatesText : "",
 
109
      monthNames            : Date.monthNames,
 
110
      dayNames              : Date.dayNames,
 
111
      nextText          : 'Mes Siguiente (Control+Right)',
 
112
      prevText          : 'Mes Anterior (Control+Left)',
 
113
      monthYearText     : 'Seleccione un mes (Control+Up/Down para desplazar el a&#241;o)',
 
114
      todayTip          : "{0} (Barra espaciadora)",
 
115
      format            : "d/m/Y",
 
116
      okText            : "&#160;Ok&#160;",
 
117
      cancelText        : "Cancelar",
 
118
      startDay          : 1
 
119
   });
 
120
}
 
121
 
 
122
if(Ext.PagingToolbar){
 
123
   Ext.apply(Ext.PagingToolbar.prototype, {
 
124
      beforePageText : "P&#225;gina",
 
125
      afterPageText  : "de {0}",
 
126
      firstText      : "Primera p&#225;gina",
 
127
      prevText       : "P&#225;gina anterior",
 
128
      nextText       : "P&#225;gina siguiente",
 
129
      lastText       : "Última p&#225;gina",
 
130
      refreshText    : "Actualizar",
 
131
      displayMsg     : "Mostrando {0} - {1} de {2}",
 
132
      emptyMsg       : 'Sin datos para mostrar'
 
133
   });
 
134
}
 
135
 
 
136
if(Ext.form.TextField){
 
137
   Ext.apply(Ext.form.TextField.prototype, {
 
138
      minLengthText : "El tama&#241;o m&#237;nimo para este campo es de {0}",
 
139
      maxLengthText : "El tama&#241;o m&#225;ximo para este campo es de {0}",
 
140
      blankText     : "Este campo es obligatorio",
 
141
      regexText     : "",
 
142
      emptyText     : null
 
143
   });
 
144
}
 
145
 
 
146
if(Ext.form.NumberField){
 
147
   Ext.apply(Ext.form.NumberField.prototype, {
 
148
      minText : "El valor m&#237;nimo para este campo es de {0}",
 
149
      maxText : "El valor m&#225;ximo para este campo es de {0}",
 
150
      nanText : "{0} no es un n&#250;mero v&#225;lido"
 
151
   });
 
152
}
 
153
 
 
154
if(Ext.form.DateField){
 
155
   Ext.apply(Ext.form.DateField.prototype, {
 
156
      disabledDaysText  : "Deshabilitado",
 
157
      disabledDatesText : "Deshabilitado",
 
158
      minText           : "La fecha para este campo debe ser posterior a {0}",
 
159
      maxText           : "La fecha para este campo debe ser anterior a {0}",
 
160
      invalidText       : "{0} no es una fecha v&#225;lida - debe tener el formato {1}",
 
161
      format            : "d/m/Y",
 
162
      altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
 
163
   });
 
164
}
 
165
 
 
166
if(Ext.form.ComboBox){
 
167
   Ext.apply(Ext.form.ComboBox.prototype, {
 
168
      loadingText       : "Cargando...",
 
169
      valueNotFoundText : undefined
 
170
   });
 
171
}
 
172
 
 
173
if(Ext.form.HtmlEditor){
 
174
   Ext.apply(Ext.form.HtmlEditor.prototype, {
 
175
      createLinkText : "Por favor proporcione la URL para el enlace:",
 
176
          buttonTips : {
 
177
              insertimage:{
 
178
                  title:'Imagen',
 
179
                  text:'Inserta una imagen en la posición actual',
 
180
                  cls:'x-html-editor-tip'
 
181
              },
 
182
              bold : {
 
183
                  title: 'Negritas (Ctrl+B)',
 
184
                  text: 'Transforma el texto seleccionado en Negritas.',
 
185
                  cls: 'x-html-editor-tip'
 
186
              },
 
187
              italic : {
 
188
                  title: 'It&#225;lica (Ctrl+I)',
 
189
                  text: 'Transforma el texto seleccionado en It&#225;licas.',
 
190
                  cls: 'x-html-editor-tip'
 
191
              },
 
192
              underline : {
 
193
                  title: 'Subrayado (Ctrl+U)',
 
194
                  text: 'Subraya el texto seleccionado.',
 
195
                  cls: 'x-html-editor-tip'
 
196
              },
 
197
              increasefontsize : {
 
198
                  title: 'Aumentar la fuente',
 
199
                  text: 'Aumenta el tama&#241;o de la fuente',
 
200
                  cls: 'x-html-editor-tip'
 
201
              },
 
202
              decreasefontsize : {
 
203
                  title: 'Reducir la fuente',
 
204
                  text: 'Reduce el tama&#241;o de la fuente.',
 
205
                  cls: 'x-html-editor-tip'
 
206
              },
 
207
              backcolor : {
 
208
                  title: 'Color de fondo',
 
209
                  text: 'Modifica el color de fondo del texto seleccionado.',
 
210
                  cls: 'x-html-editor-tip'
 
211
              },
 
212
              forecolor : {
 
213
                  title: 'Color de la fuente',
 
214
                  text: 'Modifica el color del texto seleccionado.',
 
215
                  cls: 'x-html-editor-tip'
 
216
              },
 
217
              justifyleft : {
 
218
                  title: 'Alinear a la izquierda',
 
219
                  text: 'Alinea el texto a la izquierda.',
 
220
                  cls: 'x-html-editor-tip'
 
221
              },
 
222
              justifycenter : {
 
223
                  title: 'Centrar',
 
224
                  text: 'Centrar el texto.',
 
225
                  cls: 'x-html-editor-tip'
 
226
              },
 
227
              justifyright : {
 
228
                  title: 'Alinear a la derecha',
 
229
                  text: 'Alinea el texto a la derecha.',
 
230
                  cls: 'x-html-editor-tip'
 
231
              },
 
232
              insertunorderedlist : {
 
233
                  title: 'Lista de vi&#241;etas',
 
234
                  text: 'Inicia una lista con vi&#241;etas.',
 
235
                  cls: 'x-html-editor-tip'
 
236
              },
 
237
              insertorderedlist : {
 
238
                  title: 'Lista numerada',
 
239
                  text: 'Inicia una lista numerada.',
 
240
                  cls: 'x-html-editor-tip'
 
241
              },
 
242
              createlink : {
 
243
                  title: 'Enlace',
 
244
                  text: 'Inserta un enlace de hipertexto.',
 
245
                  cls: 'x-html-editor-tip'
 
246
              },
 
247
              sourceedit : {
 
248
                  title: 'C&#243;digo Fuente',
 
249
                  text: 'Pasar al modo de edici&#243;n de c&#243;digo fuente.',
 
250
                  cls: 'x-html-editor-tip'
 
251
              }
 
252
        }
 
253
   });
 
254
}
 
255
 
 
256
 
 
257
if(Ext.form.VTypes){
 
258
   Ext.apply(Ext.form.VTypes, {
 
259
      emailText    : 'Este campo debe ser una direcci&#243;n de correo electr&#243;nico con el formato "usuario@dominio.com"',
 
260
      urlText      : 'Este campo debe ser una URL con el formato "http:/'+'/www.dominio.com"',
 
261
      alphaText    : 'Este campo s&#243;lo debe contener letras y _',
 
262
      alphanumText : 'Este campo s&#243;lo debe contener letras, n&#250;meros y _'
 
263
   });
 
264
}
 
265
 
 
266
if(Ext.grid.GridView){
 
267
   Ext.apply(Ext.grid.GridView.prototype, {
 
268
      sortAscText  : "Ordenar en forma ascendente",
 
269
      sortDescText : "Ordenar en forma descendente",
 
270
      lockText     : "Bloquear Columna",
 
271
      unlockText   : "Desbloquear Columna",
 
272
      columnsText  : "Columnas"
 
273
   });
 
274
}
 
275
 
 
276
 
 
277
if(Ext.grid.GroupingView){
 
278
  Ext.apply(Ext.grid.GroupingView.prototype, {
 
279
    emptyGroupText : '(Ninguno)',
 
280
    groupByText    : 'Agrupar por este campo',
 
281
    showGroupsText : 'Mostrar en grupos'
 
282
  });
 
283
}
 
284
 
 
285
if(Ext.grid.PropertyColumnModel){
 
286
   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
 
287
      nameText   : "Nombre",
 
288
      valueText  : "Valor",
 
289
      dateFormat : "j/m/Y"
 
290
   });
 
291
}
 
292
 
 
293
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
 
294
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
 
295
      splitTip            : "Arrastre para redimensionar.",
 
296
      collapsibleSplitTip : "Arrastre para redimensionar. Doble clic para ocultar."
 
297
   });
 
298
}
 
299