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