~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-it.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
 * Italian translation
 
3
 * By eric_void
 
4
 * 04-10-2007, 11:25 AM
 
5
 * Updated by Federico Grilli 21/12/2007 
 
6
 */
 
7
 
 
8
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</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} righe selezionate";
 
16
}
 
17
 
 
18
if(Ext.TabPanelItem){
 
19
   Ext.TabPanelItem.prototype.closeText = "Chiudi pannello";
 
20
}
 
21
 
 
22
if(Ext.form.Field){
 
23
   Ext.form.Field.prototype.invalidText = "Valore non valido";
 
24
}
 
25
 
 
26
if(Ext.LoadMask){
 
27
    Ext.LoadMask.prototype.msg = "Caricamento in corso...";
 
28
}
 
29
 
 
30
Date.monthNames = [
 
31
   "Gennaio",
 
32
   "Febbraio",
 
33
   "Marzo",
 
34
   "Aprile",
 
35
   "Maggio",
 
36
   "Giugno",
 
37
   "Luglio",
 
38
   "Agosto",
 
39
   "Settembre",
 
40
   "Ottobre",
 
41
   "Novembre",
 
42
   "Dicembre"
 
43
];
 
44
 
 
45
Date.getShortMonthName = function(month) {
 
46
  return Date.monthNames[month].substring(0, 3);
 
47
};
 
48
 
 
49
Date.monthNumbers = {
 
50
  Jan : 0,
 
51
  Feb : 1,
 
52
  Mar : 2,
 
53
  Apr : 3,
 
54
  May : 4,
 
55
  Jun : 5,
 
56
  Jul : 6,
 
57
  Aug : 7,
 
58
  Sep : 8,
 
59
  Oct : 9,
 
60
  Nov : 10,
 
61
  Dec : 11
 
62
};
 
63
 
 
64
Date.getMonthNumber = function(name) {
 
65
  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
 
66
};
 
67
 
 
68
Date.dayNames = [
 
69
   "Domenica",
 
70
   "Luned\u00EC",
 
71
   "Marted\u00EC",
 
72
   "Mercoled\u00EC",
 
73
   "Gioved\u00EC",
 
74
   "Venerd\u00EC",
 
75
   "Sabato"
 
76
];
 
77
 
 
78
Date.getShortDayName = function(day) {
 
79
  return Date.dayNames[day].substring(0, 3);
 
80
};
 
81
 
 
82
if(Ext.MessageBox){
 
83
   Ext.MessageBox.buttonText = {
 
84
      ok     : "OK",
 
85
      cancel : "Annulla",
 
86
      yes    : "S\u00EC",
 
87
      no     : "No"
 
88
   };
 
89
}
 
90
 
 
91
if(Ext.util.Format){
 
92
   Ext.util.Format.date = function(v, format){
 
93
      if(!v) return "";
 
94
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
 
95
      return v.dateFormat(format || "d/m/Y");
 
96
   };
 
97
}
 
98
 
 
99
if(Ext.DatePicker){
 
100
   Ext.apply(Ext.DatePicker.prototype, {
 
101
      todayText         : "Oggi",
 
102
      minText           : "Data precedente alla data minima",
 
103
      maxText           : "Data successiva alla data massima",
 
104
      disabledDaysText  : "",
 
105
      disabledDatesText : "",
 
106
      monthNames                : Date.monthNames,
 
107
      dayNames                  : Date.dayNames,
 
108
      nextText          : 'Mese successivo (Ctrl+Destra)',
 
109
      prevText          : 'Mese precedente (Ctrl+Sinistra)',
 
110
      monthYearText     : 'Scegli un mese (Ctrl+Su/Giu per cambiare anno)',
 
111
      todayTip          : "{0} (Barra spaziatrice)",
 
112
      format            : "d/m/y",
 
113
      cancelText                : "Annulla",
 
114
          okText            : "&#160;OK&#160;",
 
115
          startDay          : 1
 
116
   });
 
117
}
 
118
 
 
119
if(Ext.PagingToolbar){
 
120
   Ext.apply(Ext.PagingToolbar.prototype, {
 
121
      beforePageText : "Pagina",
 
122
      afterPageText  : "di {0}",
 
123
      firstText      : "Prima pagina",
 
124
      prevText       : "Pagina precedente",
 
125
      nextText       : "Pagina successiva",
 
126
      lastText       : "Ultima pagina",
 
127
      refreshText    : "Aggiorna",
 
128
      displayMsg     : "Record {0} - {1} di {2}",
 
129
      emptyMsg       : 'Nessun dato da mostrare'
 
130
   });
 
131
}
 
132
 
 
133
if(Ext.form.TextField){
 
134
   Ext.apply(Ext.form.TextField.prototype, {
 
135
      minLengthText : "La lunghezza minima \u00E8 {0}",
 
136
      maxLengthText : "La lunghezza massima \u00E8 {0}",
 
137
      blankText     : "Campo obbligatorio",
 
138
      regexText     : "",
 
139
      emptyText     : null
 
140
   });
 
141
}
 
142
 
 
143
if(Ext.form.NumberField){
 
144
   Ext.apply(Ext.form.NumberField.prototype, {
 
145
      minText : "Il valore minimo \u00E8 {0}",
 
146
      maxText : "Il valore massimo \u00E8 {0}",
 
147
      nanText : "{0} non \u00E8 un valore numerico corretto"
 
148
   });
 
149
}
 
150
 
 
151
if(Ext.form.DateField){
 
152
   Ext.apply(Ext.form.DateField.prototype, {
 
153
      disabledDaysText  : "Disabilitato",
 
154
      disabledDatesText : "Disabilitato",
 
155
      minText           : "La data deve essere successiva al {0}",
 
156
      maxText           : "La data deve essere precedente al {0}",
 
157
      invalidText       : "{0} non \u00E8 una data valida. Deve essere nel formato {1}",
 
158
      format            : "d/m/y",
 
159
      altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
 
160
   });
 
161
}
 
162
 
 
163
if(Ext.form.ComboBox){
 
164
   Ext.apply(Ext.form.ComboBox.prototype, {
 
165
      loadingText       : "Caricamento in corso...",
 
166
      valueNotFoundText : undefined
 
167
   });
 
168
}
 
169
 
 
170
if(Ext.form.VTypes){
 
171
   Ext.apply(Ext.form.VTypes, {
 
172
      emailText    : 'Il campo deve essere un indirizzo e-mail nel formato "user@domain.com"',
 
173
      urlText      : 'Il campo deve essere un indirizzo web nel formato "http:/'+'/www.domain.com"',
 
174
      alphaText    : 'Il campo deve contenere solo lettere e _',
 
175
      alphanumText : 'Il campo deve contenere solo lettere, numeri e _'
 
176
   });
 
177
}
 
178
 
 
179
if(Ext.form.HtmlEditor){
 
180
  Ext.apply(Ext.form.HtmlEditor.prototype, {
 
181
    createLinkText : 'Inserire un URL per il link:',
 
182
    buttonTips : {
 
183
      bold : {
 
184
        title: 'Grassetto (Ctrl+B)',
 
185
        text: 'Rende il testo selezionato in grassetto.',
 
186
        cls: 'x-html-editor-tip'
 
187
      },
 
188
      italic : {
 
189
        title: 'Corsivo (Ctrl+I)',
 
190
        text: 'Rende il testo selezionato in corsivo.',
 
191
        cls: 'x-html-editor-tip'
 
192
      },
 
193
      underline : {
 
194
        title: 'Sottolinea (Ctrl+U)',
 
195
        text: 'Sottolinea il testo selezionato.',
 
196
        cls: 'x-html-editor-tip'
 
197
      },
 
198
      increasefontsize : {
 
199
        title: 'Ingrandisci testo',
 
200
        text: 'Aumenta la dimensione del carattere.',
 
201
        cls: 'x-html-editor-tip'
 
202
      },
 
203
      decreasefontsize : {
 
204
        title: 'Rimpicciolisci testo',
 
205
        text: 'Diminuisce la dimensione del carattere.',
 
206
        cls: 'x-html-editor-tip'
 
207
      },
 
208
      backcolor : {
 
209
        title: 'Colore evidenziatore testo',
 
210
        text: 'Modifica il colore di sfondo del testo selezionato.',
 
211
        cls: 'x-html-editor-tip'
 
212
      },
 
213
      forecolor : {
 
214
        title: 'Colore carattere',
 
215
        text: 'Modifica il colore del testo selezionato.',
 
216
        cls: 'x-html-editor-tip'
 
217
      },
 
218
      justifyleft : {
 
219
        title: 'Allinea a sinistra',
 
220
        text: 'Allinea il testo a sinistra.',
 
221
        cls: 'x-html-editor-tip'
 
222
      },
 
223
      justifycenter : {
 
224
        title: 'Centra',
 
225
        text: 'Centra il testo.',
 
226
        cls: 'x-html-editor-tip'
 
227
      },
 
228
      justifyright : {
 
229
        title: 'Allinea a destra',
 
230
        text: 'Allinea il testo a destra.',
 
231
        cls: 'x-html-editor-tip'
 
232
      },
 
233
      insertunorderedlist : {
 
234
        title: 'Elenco puntato',
 
235
        text: 'Elenco puntato.',
 
236
        cls: 'x-html-editor-tip'
 
237
      },
 
238
      insertorderedlist : {
 
239
        title: 'Elenco numerato',
 
240
        text: 'Elenco numerato.',
 
241
        cls: 'x-html-editor-tip'
 
242
      },
 
243
      createlink : {
 
244
        title: 'Collegamento',
 
245
        text: 'Trasforma il testo selezionato in un collegamanto.',
 
246
        cls: 'x-html-editor-tip'
 
247
      },
 
248
      sourceedit : {
 
249
        title: 'Sorgente',
 
250
        text: 'Passa alla modalit\u00E0 editing del sorgente.',
 
251
        cls: 'x-html-editor-tip'
 
252
      }
 
253
    }
 
254
  });
 
255
}
 
256
 
 
257
if(Ext.grid.GridView){
 
258
   Ext.apply(Ext.grid.GridView.prototype, {
 
259
      sortAscText  : "Ordinamento crescente",
 
260
      sortDescText : "Ordinamento decrescente",
 
261
      lockText     : "Blocca colonna",
 
262
      unlockText   : "Sblocca colonna",
 
263
      columnsText  : "Colonne"
 
264
   });
 
265
}
 
266
 
 
267
if(Ext.grid.GroupingView){
 
268
  Ext.apply(Ext.grid.GroupingView.prototype, {
 
269
    emptyGroupText : '(Nessun dato)',
 
270
    groupByText    : 'Raggruppa per questo campo',
 
271
    showGroupsText : 'Mostra nei gruppi'
 
272
  });
 
273
}
 
274
 
 
275
if(Ext.grid.PropertyColumnModel){
 
276
   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
 
277
      nameText   : "Nome",
 
278
      valueText  : "Valore",
 
279
      dateFormat : "j/m/Y"
 
280
   });
 
281
}
 
282
 
 
283
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
 
284
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
 
285
      splitTip            : "Trascina per cambiare dimensioni.",
 
286
      collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere."
 
287
   });
 
288
}
 
289