Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / locale / ext-lang-ca.js
1 /**
2  * Catalonian Translation by halkon_polako 6-12-2007
3  * December correction halkon_polako 11-12-2007
4  *
5  * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008) 
6  *     by halkon_polako 14-aug-2008
7  */
8 Ext.onReady(function() {
9     if (Ext.Updater) {
10         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>';
11     }
12     if(Ext.view.View){
13       Ext.view.View.prototype.emptyText = "";
14     }
15
16     if(Ext.grid.Panel){
17       Ext.grid.Panel.prototype.ddText = "{0} fila(es) seleccionada(es)";
18     }
19
20     if(Ext.LoadMask){
21       Ext.LoadMask.prototype.msg = "Carregant...";
22     }
23
24     if (Ext.Date) {
25         Ext.Date.monthNames = [
26           "Gener",
27           "Febrer",
28           "Mar&#231;",
29           "Abril",
30           "Maig",
31           "Juny",
32           "Juliol",
33           "Agost",
34           "Setembre",
35           "Octubre",
36           "Novembre",
37           "Desembre"
38         ];
39
40         Ext.Date.getShortMonthName = function(month) {
41           return Ext.Date.monthNames[month].substring(0, 3);
42         };
43
44         Ext.Date.monthNumbers = {
45           Gen : 0,
46           Feb : 1,
47           Mar : 2,
48           Abr : 3,
49           Mai : 4,
50           Jun : 5,
51           Jul : 6,
52           Ago : 7,
53           Set : 8,
54           Oct : 9,
55           Nov : 10,
56           Dec : 11
57         };
58
59         Ext.Date.getMonthNumber = function(name) {
60           return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
61         };
62
63         Ext.Date.dayNames = [
64           "Diumenge",
65           "Dilluns",
66           "Dimarts",
67           "Dimecres",
68           "Dijous",
69           "Divendres",
70           "Dissabte"
71         ];
72
73         Ext.Date.getShortDayName = function(day) {
74           return Ext.Date.dayNames[day].substring(0, 3);
75         };
76
77         Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
78     }
79     if(Ext.MessageBox){
80       Ext.MessageBox.buttonText = {
81         ok     : "Acceptar",
82         cancel : "Cancel&#183;lar",
83         yes    : "S&#237;",
84         no     : "No"
85       };
86     }
87
88     if(Ext.util.Format){
89         Ext.apply(Ext.util.Format, {
90             thousandSeparator: '.',
91             decimalSeparator: ',',
92             currencySign: '\u20ac',  // Spanish Euro
93             dateFormat: 'd/m/Y'
94         });
95     }
96
97     if(Ext.picker.Date){
98       Ext.apply(Ext.picker.Date.prototype, {
99         todayText         : "Avui",
100         minText           : "Aquesta data &#233;s anterior a la data m&#237;nima",
101         maxText           : "Aquesta data &#233;s posterior a la data m&#224;xima",
102         disabledDaysText  : "",
103         disabledDatesText : "",
104         monthNames        : Ext.Date.monthNames,
105         dayNames          : Ext.Date.dayNames,
106         nextText          : 'Mes Seg&#252;ent (Control+Fletxa Dreta)',
107         prevText          : 'Mes Anterior (Control+Fletxa Esquerra)',
108         monthYearText     : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)',
109         todayTip          : "{0} (Barra d&#39;espai)",
110         format            : "d/m/Y",
111         startDay          : 1
112       });
113     }
114
115     if(Ext.picker.Month) {
116       Ext.apply(Ext.picker.Month.prototype, {
117           okText            : "&#160;Acceptar&#160;",
118           cancelText        : "Cancel&#183;lar"
119       });
120     }
121
122     if(Ext.toolbar.Paging){
123       Ext.apply(Ext.PagingToolbar.prototype, {
124         beforePageText : "P&#224;gina",
125         afterPageText  : "de {0}",
126         firstText      : "Primera P&#224;gina",
127         prevText       : "P&#224;gina Anterior",
128         nextText       : "P&#224;gina Seg&#252;ent",
129         lastText       : "Darrera P&#224;gina",
130         refreshText    : "Refrescar",
131         displayMsg     : "Mostrant {0} - {1} de {2}",
132         emptyMsg       : 'Sense dades per mostrar'
133       });
134     }
135
136     if(Ext.form.field.Base){
137       Ext.form.field.Base.prototype.invalidText = "El valor d&#39;aquest camp &#233;s inv&#224;lid";
138     }
139
140     if(Ext.form.field.Text){
141       Ext.apply(Ext.form.field.Text.prototype, {
142         minLengthText : "El tamany m&#237;nim per aquest camp &#233;s {0}",
143         maxLengthText : "El tamany m&#224;xim per aquest camp &#233;s {0}",
144         blankText     : "Aquest camp &#233;s obligatori",
145         regexText     : "",
146         emptyText     : null
147       });
148     }
149
150     if(Ext.form.field.Number){
151       Ext.apply(Ext.form.field.Number.prototype, {
152         decimalSeparator : ",",
153         decimalPrecision : 2,
154         minText : "El valor m&#237;nim per aquest camp &#233;s {0}",
155         maxText : "El valor m&#224;xim per aquest camp &#233;s {0}",
156         nanText : "{0} no &#233;s un nombre v&#224;lid"
157       });
158     }
159
160     if(Ext.form.field.Date){
161       Ext.apply(Ext.form.field.Date.prototype, {
162         disabledDaysText  : "Deshabilitat",
163         disabledDatesText : "Deshabilitat",
164         minText           : "La data en aquest camp ha de ser posterior a {0}",
165         maxText           : "La data en aquest camp ha de ser inferior a {0}",
166         invalidText       : "{0} no &#233;s una data v&#224;lida - ha de tenir el format {1}",
167         format            : "d/m/Y",
168         altFormats        : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
169       });
170     }
171
172     if(Ext.form.field.ComboBox){
173       Ext.apply(Ext.form.field.ComboBox.prototype, {
174         loadingText       : "Carregant...",
175         valueNotFoundText : undefined
176       });
177     }
178
179     if(Ext.form.field.VTypes){
180       Ext.apply(Ext.form.field.VTypes, {
181         emailText    : 'Aquest camp ha de ser una adre&#231;a de e-mail amb el format "user@example.com"',
182         urlText      : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
183         alphaText    : 'Aquest camp nom&#233;s pot contenir lletres i _',
184         alphanumText : 'Aquest camp nom&#233;s por contenir lletres, nombres i _'
185       });
186     }
187
188     if(Ext.form.field.HtmlEditor){
189       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
190         createLinkText : 'Si us plau, tecleixi la URL per l\'enlla&#231;:',
191         buttonTips : {
192           bold : {
193             title: 'Negreta (Ctrl+B)',
194             text: 'Posa el text seleccionat en negreta.',
195             cls: Ext.baseCSSPrefix + 'html-editor-tip'
196           },
197           italic : {
198             title: 'It&#224;lica (Ctrl+I)',
199             text: 'Posa el text seleccionat en it&#224;lica.',
200             cls: Ext.baseCSSPrefix + 'html-editor-tip'
201           },
202           underline : {
203             title: 'Subratllat (Ctrl+U)',
204             text: 'Subratlla el text seleccionat.',
205             cls: Ext.baseCSSPrefix + 'html-editor-tip'
206           },
207           increasefontsize : {
208             title: 'Augmentar Text',
209             text: 'Augmenta el tamany de la font de text.',
210             cls: Ext.baseCSSPrefix + 'html-editor-tip'
211           },
212           decreasefontsize : {
213             title: 'Disminuir Text',
214             text: 'Disminueix el tamany de la font de text.',
215             cls: Ext.baseCSSPrefix + 'html-editor-tip'
216           },
217           backcolor : {
218             title: 'Color de fons',
219             text: 'Canvia el color de fons del text seleccionat.',
220             cls: Ext.baseCSSPrefix + 'html-editor-tip'
221           },
222           forecolor : {
223             title: 'Color de la font de text',
224             text: 'Canvia el color del text seleccionat.',
225             cls: Ext.baseCSSPrefix + 'html-editor-tip'
226           },
227           justifyleft : {
228             title: 'Alinear a la esquerra',
229             text: 'Alinea el text a la esquerra.',
230             cls: Ext.baseCSSPrefix + 'html-editor-tip'
231           },
232           justifycenter : {
233             title: 'Centrar el text',
234             text: 'Centra el text a l\'editor',
235             cls: Ext.baseCSSPrefix + 'html-editor-tip'
236           },
237           justifyright : {
238             title: 'Alinear a la dreta',
239             text: 'Alinea el text a la dreta.',
240             cls: Ext.baseCSSPrefix + 'html-editor-tip'
241           },
242           insertunorderedlist : {
243             title: 'Llista amb vinyetes',
244             text: 'Comen&#231;a una llista amb vinyetes.',
245             cls: Ext.baseCSSPrefix + 'html-editor-tip'
246           },
247           insertorderedlist : {
248             title: 'Llista numerada',
249             text: 'Comen&#231;a una llista numerada.',
250             cls: Ext.baseCSSPrefix + 'html-editor-tip'
251           },
252           createlink : {
253             title: 'Enlla&#231;',
254             text: 'Transforma el text seleccionat en un enlla&#231;.',
255             cls: Ext.baseCSSPrefix + 'html-editor-tip'
256           },
257           sourceedit : {
258             title: 'Editar Codi',
259             text: 'Canvia al mode d\'edici&#243; de codi.',
260             cls: Ext.baseCSSPrefix + 'html-editor-tip'
261           }
262         }
263       });
264     }
265
266     if(Ext.grid.header.Container){
267       Ext.apply(Ext.grid.header.Container.prototype, {
268         sortAscText  : "Ordenaci&#243; Ascendent",
269         sortDescText : "Ordenaci&#243; Descendent",
270         columnsText  : "Columnes"
271       });
272     }
273
274     if(Ext.grid.GroupingFeature){
275       Ext.apply(Ext.grid.GroupingFeature.prototype, {
276         emptyGroupText : '(Buit)',
277         groupByText    : 'Agrupar Per Aquest Camp',
278         showGroupsText : 'Mostrar en Grups'
279       });
280     }
281
282     if(Ext.grid.PropertyColumnModel){
283       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
284         nameText   : "Nom",
285         valueText  : "Valor",
286         dateFormat : "d/m/Y"
287       });
288     }
289
290     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
291       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
292         splitTip            : "Cliqueu i arrossegueu per canviar el tamany del panell.",
293         collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho."
294       });
295     }
296
297     if(Ext.form.field.Time){
298       Ext.apply(Ext.form.field.Time.prototype, {
299         minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
300         maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
301         invalidText : "{0} no &#233;s un hora v&#224;lida",
302         format : "g:i A",
303         altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
304       });
305     }
306
307     if(Ext.form.CheckboxGroup){
308       Ext.apply(Ext.form.CheckboxGroup.prototype, {
309         blankText : "Ha de seleccionar almenys un &#233;tem d\'aquest group"
310       });
311     }
312
313     if(Ext.form.RadioGroup){
314       Ext.apply(Ext.form.RadioGroup.prototype, {
315         blankText : "Ha de seleccionar un &#233;tem d\'aquest grup"
316       });
317     }
318 });