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.
18 * 04-10-2007, 11:25 AM
19 * Updated by Federico Grilli 21/12/2007
21 Ext.onReady(function(){
23 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>';
27 Ext.view.View.prototype.emptyText = "";
31 Ext.grid.Panel.prototype.ddText = "{0} righe selezionate";
35 Ext.TabPanelItem.prototype.closeText = "Chiudi pannello";
38 if(Ext.form.field.Base){
39 Ext.form.field.Base.prototype.invalidText = "Valore non valido";
43 Ext.LoadMask.prototype.msg = "Caricamento in corso...";
47 Ext.Date.monthNames = [
62 Ext.Date.getShortMonthName = function(month) {
63 return Ext.Date.monthNames[month].substring(0, 3);
66 Ext.Date.monthNumbers = {
81 Ext.Date.getMonthNumber = function(name) {
82 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
95 Ext.Date.getShortDayName = function(day) {
96 return Ext.Date.dayNames[day].substring(0, 3);
101 Ext.MessageBox.buttonText = {
110 Ext.apply(Ext.util.Format, {
111 thousandSeparator: '.',
112 decimalSeparator: ',',
113 currencySign: '\u20ac', // Italian Euro
119 Ext.apply(Ext.picker.Date.prototype, {
121 minText : "Data precedente alla data minima",
122 maxText : "Data successiva alla data massima",
123 disabledDaysText : "",
124 disabledDatesText : "",
125 monthNames : Ext.Date.monthNames,
126 dayNames : Ext.Date.dayNames,
127 nextText : 'Mese successivo (Ctrl+Destra)',
128 prevText : 'Mese precedente (Ctrl+Sinistra)',
129 monthYearText : 'Scegli un mese (Ctrl+Su/Giu per cambiare anno)',
130 todayTip : "{0} (Barra spaziatrice)",
136 if(Ext.picker.Month) {
137 Ext.apply(Ext.picker.Month.prototype, {
138 okText : " OK ",
139 cancelText : "Annulla"
143 if(Ext.toolbar.Paging){
144 Ext.apply(Ext.PagingToolbar.prototype, {
145 beforePageText : "Pagina",
146 afterPageText : "di {0}",
147 firstText : "Prima pagina",
148 prevText : "Pagina precedente",
149 nextText : "Pagina successiva",
150 lastText : "Ultima pagina",
151 refreshText : "Aggiorna",
152 displayMsg : "Record {0} - {1} di {2}",
153 emptyMsg : 'Nessun dato da mostrare'
157 if(Ext.form.field.Text){
158 Ext.apply(Ext.form.field.Text.prototype, {
159 minLengthText : "La lunghezza minima \u00E8 {0}",
160 maxLengthText : "La lunghezza massima \u00E8 {0}",
161 blankText : "Campo obbligatorio",
167 if(Ext.form.field.Number){
168 Ext.apply(Ext.form.field.Number.prototype, {
169 minText : "Il valore minimo \u00E8 {0}",
170 maxText : "Il valore massimo \u00E8 {0}",
171 nanText : "{0} non \u00E8 un valore numerico corretto",
172 decimalSeparator: ','
176 if(Ext.form.field.Date){
177 Ext.apply(Ext.form.field.Date.prototype, {
178 disabledDaysText : "Disabilitato",
179 disabledDatesText : "Disabilitato",
180 minText : "La data deve essere successiva al {0}",
181 maxText : "La data deve essere precedente al {0}",
182 invalidText : "{0} non \u00E8 una data valida. Deve essere nel formato {1}",
184 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
188 if(Ext.form.field.ComboBox){
189 Ext.apply(Ext.form.field.ComboBox.prototype, {
190 valueNotFoundText : undefined
192 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
193 loadingText : "Caricamento in corso..."
197 if(Ext.form.field.VTypes){
198 Ext.apply(Ext.form.field.VTypes, {
199 emailText : 'Il campo deve essere un indirizzo e-mail nel formato "user@example.com"',
200 urlText : 'Il campo deve essere un indirizzo web nel formato "http:/'+'/www.example.com"',
201 alphaText : 'Il campo deve contenere solo lettere e _',
202 alphanumText : 'Il campo deve contenere solo lettere, numeri e _'
206 if(Ext.form.field.HtmlEditor){
207 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
208 createLinkText : 'Inserire un URL per il link:',
211 title: 'Grassetto (Ctrl+B)',
212 text: 'Rende il testo selezionato in grassetto.',
213 cls: Ext.baseCSSPrefix + 'html-editor-tip'
216 title: 'Corsivo (Ctrl+I)',
217 text: 'Rende il testo selezionato in corsivo.',
218 cls: Ext.baseCSSPrefix + 'html-editor-tip'
221 title: 'Sottolinea (Ctrl+U)',
222 text: 'Sottolinea il testo selezionato.',
223 cls: Ext.baseCSSPrefix + 'html-editor-tip'
226 title: 'Ingrandisci testo',
227 text: 'Aumenta la dimensione del carattere.',
228 cls: Ext.baseCSSPrefix + 'html-editor-tip'
231 title: 'Rimpicciolisci testo',
232 text: 'Diminuisce la dimensione del carattere.',
233 cls: Ext.baseCSSPrefix + 'html-editor-tip'
236 title: 'Colore evidenziatore testo',
237 text: 'Modifica il colore di sfondo del testo selezionato.',
238 cls: Ext.baseCSSPrefix + 'html-editor-tip'
241 title: 'Colore carattere',
242 text: 'Modifica il colore del testo selezionato.',
243 cls: Ext.baseCSSPrefix + 'html-editor-tip'
246 title: 'Allinea a sinistra',
247 text: 'Allinea il testo a sinistra.',
248 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 text: 'Centra il testo.',
253 cls: Ext.baseCSSPrefix + 'html-editor-tip'
256 title: 'Allinea a destra',
257 text: 'Allinea il testo a destra.',
258 cls: Ext.baseCSSPrefix + 'html-editor-tip'
260 insertunorderedlist : {
261 title: 'Elenco puntato',
262 text: 'Elenco puntato.',
263 cls: Ext.baseCSSPrefix + 'html-editor-tip'
265 insertorderedlist : {
266 title: 'Elenco numerato',
267 text: 'Elenco numerato.',
268 cls: Ext.baseCSSPrefix + 'html-editor-tip'
271 title: 'Collegamento',
272 text: 'Trasforma il testo selezionato in un collegamanto.',
273 cls: Ext.baseCSSPrefix + 'html-editor-tip'
277 text: 'Passa alla modalit\u00E0 editing del sorgente.',
278 cls: Ext.baseCSSPrefix + 'html-editor-tip'
284 if(Ext.grid.header.Container){
285 Ext.apply(Ext.grid.header.Container.prototype, {
286 sortAscText : "Ordinamento crescente",
287 sortDescText : "Ordinamento decrescente",
288 lockText : "Blocca colonna",
289 unlockText : "Sblocca colonna",
290 columnsText : "Colonne"
294 if(Ext.grid.GroupingFeature){
295 Ext.apply(Ext.grid.GroupingFeature.prototype, {
296 emptyGroupText : '(Nessun dato)',
297 groupByText : 'Raggruppa per questo campo',
298 showGroupsText : 'Mostra nei gruppi'
302 if(Ext.grid.PropertyColumnModel){
303 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
305 valueText : "Valore",
310 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
311 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
312 splitTip : "Trascina per cambiare dimensioni.",
313 collapsibleSplitTip : "Trascina per cambiare dimensioni. Doppio click per nascondere."