5
* Updated by Federico Grilli 21/12/2007
8
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>';
11
Ext.View.prototype.emptyText = "";
14
if(Ext.grid.GridPanel){
15
Ext.grid.GridPanel.prototype.ddText = "{0} righe selezionate";
19
Ext.TabPanelItem.prototype.closeText = "Chiudi pannello";
23
Ext.form.Field.prototype.invalidText = "Valore non valido";
27
Ext.LoadMask.prototype.msg = "Caricamento in corso...";
45
Date.getShortMonthName = function(month) {
46
return Date.monthNames[month].substring(0, 3);
64
Date.getMonthNumber = function(name) {
65
return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
78
Date.getShortDayName = function(day) {
79
return Date.dayNames[day].substring(0, 3);
83
Ext.MessageBox.buttonText = {
92
Ext.util.Format.date = function(v, format){
94
if(!(v instanceof Date)) v = new Date(Date.parse(v));
95
return v.dateFormat(format || "d/m/Y");
100
Ext.apply(Ext.DatePicker.prototype, {
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)",
113
cancelText : "Annulla",
114
okText : " OK ",
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'
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",
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"
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}",
159
altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
163
if(Ext.form.ComboBox){
164
Ext.apply(Ext.form.ComboBox.prototype, {
165
loadingText : "Caricamento in corso...",
166
valueNotFoundText : undefined
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 _'
179
if(Ext.form.HtmlEditor){
180
Ext.apply(Ext.form.HtmlEditor.prototype, {
181
createLinkText : 'Inserire un URL per il link:',
184
title: 'Grassetto (Ctrl+B)',
185
text: 'Rende il testo selezionato in grassetto.',
186
cls: 'x-html-editor-tip'
189
title: 'Corsivo (Ctrl+I)',
190
text: 'Rende il testo selezionato in corsivo.',
191
cls: 'x-html-editor-tip'
194
title: 'Sottolinea (Ctrl+U)',
195
text: 'Sottolinea il testo selezionato.',
196
cls: 'x-html-editor-tip'
199
title: 'Ingrandisci testo',
200
text: 'Aumenta la dimensione del carattere.',
201
cls: 'x-html-editor-tip'
204
title: 'Rimpicciolisci testo',
205
text: 'Diminuisce la dimensione del carattere.',
206
cls: 'x-html-editor-tip'
209
title: 'Colore evidenziatore testo',
210
text: 'Modifica il colore di sfondo del testo selezionato.',
211
cls: 'x-html-editor-tip'
214
title: 'Colore carattere',
215
text: 'Modifica il colore del testo selezionato.',
216
cls: 'x-html-editor-tip'
219
title: 'Allinea a sinistra',
220
text: 'Allinea il testo a sinistra.',
221
cls: 'x-html-editor-tip'
225
text: 'Centra il testo.',
226
cls: 'x-html-editor-tip'
229
title: 'Allinea a destra',
230
text: 'Allinea il testo a destra.',
231
cls: 'x-html-editor-tip'
233
insertunorderedlist : {
234
title: 'Elenco puntato',
235
text: 'Elenco puntato.',
236
cls: 'x-html-editor-tip'
238
insertorderedlist : {
239
title: 'Elenco numerato',
240
text: 'Elenco numerato.',
241
cls: 'x-html-editor-tip'
244
title: 'Collegamento',
245
text: 'Trasforma il testo selezionato in un collegamanto.',
246
cls: 'x-html-editor-tip'
250
text: 'Passa alla modalit\u00E0 editing del sorgente.',
251
cls: 'x-html-editor-tip'
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"
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'
275
if(Ext.grid.PropertyColumnModel){
276
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
278
valueText : "Valore",
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."