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