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