5 * Updated by Federico Grilli 21/12/2007
7 Ext.onReady(function(){
9 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>';
13 Ext.view.View.prototype.emptyText = "";
17 Ext.grid.Panel.prototype.ddText = "{0} righe selezionate";
21 Ext.TabPanelItem.prototype.closeText = "Chiudi pannello";
24 if(Ext.form.field.Base){
25 Ext.form.field.Base.prototype.invalidText = "Valore non valido";
29 Ext.LoadMask.prototype.msg = "Caricamento in corso...";
33 Ext.Date.monthNames = [
48 Ext.Date.getShortMonthName = function(month) {
49 return Ext.Date.monthNames[month].substring(0, 3);
52 Ext.Date.monthNumbers = {
67 Ext.Date.getMonthNumber = function(name) {
68 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
81 Ext.Date.getShortDayName = function(day) {
82 return Ext.Date.dayNames[day].substring(0, 3);
87 Ext.MessageBox.buttonText = {
96 Ext.apply(Ext.util.Format, {
97 thousandSeparator: '.',
98 decimalSeparator: ',',
99 currencySign: '\u20ac', // Italian Euro
105 Ext.apply(Ext.picker.Date.prototype, {
107 minText : "Data precedente alla data minima",
108 maxText : "Data successiva alla data massima",
109 disabledDaysText : "",
110 disabledDatesText : "",
111 monthNames : Ext.Date.monthNames,
112 dayNames : Ext.Date.dayNames,
113 nextText : 'Mese successivo (Ctrl+Destra)',
114 prevText : 'Mese precedente (Ctrl+Sinistra)',
115 monthYearText : 'Scegli un mese (Ctrl+Su/Giu per cambiare anno)',
116 todayTip : "{0} (Barra spaziatrice)",
122 if(Ext.picker.Month) {
123 Ext.apply(Ext.picker.Month.prototype, {
124 okText : " OK ",
125 cancelText : "Annulla"
129 if(Ext.toolbar.Paging){
130 Ext.apply(Ext.PagingToolbar.prototype, {
131 beforePageText : "Pagina",
132 afterPageText : "di {0}",
133 firstText : "Prima pagina",
134 prevText : "Pagina precedente",
135 nextText : "Pagina successiva",
136 lastText : "Ultima pagina",
137 refreshText : "Aggiorna",
138 displayMsg : "Record {0} - {1} di {2}",
139 emptyMsg : 'Nessun dato da mostrare'
143 if(Ext.form.field.Text){
144 Ext.apply(Ext.form.field.Text.prototype, {
145 minLengthText : "La lunghezza minima \u00E8 {0}",
146 maxLengthText : "La lunghezza massima \u00E8 {0}",
147 blankText : "Campo obbligatorio",
153 if(Ext.form.field.Number){
154 Ext.apply(Ext.form.field.Number.prototype, {
155 minText : "Il valore minimo \u00E8 {0}",
156 maxText : "Il valore massimo \u00E8 {0}",
157 nanText : "{0} non \u00E8 un valore numerico corretto"
161 if(Ext.form.field.Date){
162 Ext.apply(Ext.form.field.Date.prototype, {
163 disabledDaysText : "Disabilitato",
164 disabledDatesText : "Disabilitato",
165 minText : "La data deve essere successiva al {0}",
166 maxText : "La data deve essere precedente al {0}",
167 invalidText : "{0} non \u00E8 una data valida. Deve essere nel formato {1}",
169 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
173 if(Ext.form.field.ComboBox){
174 Ext.apply(Ext.form.field.ComboBox.prototype, {
175 loadingText : "Caricamento in corso...",
176 valueNotFoundText : undefined
180 if(Ext.form.field.VTypes){
181 Ext.apply(Ext.form.field.VTypes, {
182 emailText : 'Il campo deve essere un indirizzo e-mail nel formato "user@example.com"',
183 urlText : 'Il campo deve essere un indirizzo web nel formato "http:/'+'/www.example.com"',
184 alphaText : 'Il campo deve contenere solo lettere e _',
185 alphanumText : 'Il campo deve contenere solo lettere, numeri e _'
189 if(Ext.form.field.HtmlEditor){
190 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
191 createLinkText : 'Inserire un URL per il link:',
194 title: 'Grassetto (Ctrl+B)',
195 text: 'Rende il testo selezionato in grassetto.',
196 cls: Ext.baseCSSPrefix + 'html-editor-tip'
199 title: 'Corsivo (Ctrl+I)',
200 text: 'Rende il testo selezionato in corsivo.',
201 cls: Ext.baseCSSPrefix + 'html-editor-tip'
204 title: 'Sottolinea (Ctrl+U)',
205 text: 'Sottolinea il testo selezionato.',
206 cls: Ext.baseCSSPrefix + 'html-editor-tip'
209 title: 'Ingrandisci testo',
210 text: 'Aumenta la dimensione del carattere.',
211 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 title: 'Rimpicciolisci testo',
215 text: 'Diminuisce la dimensione del carattere.',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: 'Colore evidenziatore testo',
220 text: 'Modifica il colore di sfondo del testo selezionato.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 title: 'Colore carattere',
225 text: 'Modifica il colore del testo selezionato.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'Allinea a sinistra',
230 text: 'Allinea il testo a sinistra.',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
235 text: 'Centra il testo.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'Allinea a destra',
240 text: 'Allinea il testo a destra.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 insertunorderedlist : {
244 title: 'Elenco puntato',
245 text: 'Elenco puntato.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 insertorderedlist : {
249 title: 'Elenco numerato',
250 text: 'Elenco numerato.',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
254 title: 'Collegamento',
255 text: 'Trasforma il testo selezionato in un collegamanto.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
260 text: 'Passa alla modalit\u00E0 editing del sorgente.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
267 if(Ext.grid.header.Container){
268 Ext.apply(Ext.grid.header.Container.prototype, {
269 sortAscText : "Ordinamento crescente",
270 sortDescText : "Ordinamento decrescente",
271 lockText : "Blocca colonna",
272 unlockText : "Sblocca colonna",
273 columnsText : "Colonne"
277 if(Ext.grid.GroupingFeature){
278 Ext.apply(Ext.grid.GroupingFeature.prototype, {
279 emptyGroupText : '(Nessun dato)',
280 groupByText : 'Raggruppa per questo campo',
281 showGroupsText : 'Mostra nei gruppi'
285 if(Ext.grid.PropertyColumnModel){
286 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
288 valueText : "Valore",
293 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
294 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
295 splitTip : "Trascina per cambiare dimensioni.",
296 collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere."