Upgrade to ExtJS 4.0.2 - Released 06/09/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         loadingText       : "Carregant...",
189         valueNotFoundText : undefined
190       });
191     }
192
193     if(Ext.form.field.VTypes){
194       Ext.apply(Ext.form.field.VTypes, {
195         emailText    : 'Aquest camp ha de ser una adre&#231;a de e-mail amb el format "user@example.com"',
196         urlText      : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
197         alphaText    : 'Aquest camp nom&#233;s pot contenir lletres i _',
198         alphanumText : 'Aquest camp nom&#233;s por contenir lletres, nombres i _'
199       });
200     }
201
202     if(Ext.form.field.HtmlEditor){
203       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
204         createLinkText : 'Si us plau, tecleixi la URL per l\'enlla&#231;:',
205         buttonTips : {
206           bold : {
207             title: 'Negreta (Ctrl+B)',
208             text: 'Posa el text seleccionat en negreta.',
209             cls: Ext.baseCSSPrefix + 'html-editor-tip'
210           },
211           italic : {
212             title: 'It&#224;lica (Ctrl+I)',
213             text: 'Posa el text seleccionat en it&#224;lica.',
214             cls: Ext.baseCSSPrefix + 'html-editor-tip'
215           },
216           underline : {
217             title: 'Subratllat (Ctrl+U)',
218             text: 'Subratlla el text seleccionat.',
219             cls: Ext.baseCSSPrefix + 'html-editor-tip'
220           },
221           increasefontsize : {
222             title: 'Augmentar Text',
223             text: 'Augmenta el tamany de la font de text.',
224             cls: Ext.baseCSSPrefix + 'html-editor-tip'
225           },
226           decreasefontsize : {
227             title: 'Disminuir Text',
228             text: 'Disminueix el tamany de la font de text.',
229             cls: Ext.baseCSSPrefix + 'html-editor-tip'
230           },
231           backcolor : {
232             title: 'Color de fons',
233             text: 'Canvia el color de fons del text seleccionat.',
234             cls: Ext.baseCSSPrefix + 'html-editor-tip'
235           },
236           forecolor : {
237             title: 'Color de la font de text',
238             text: 'Canvia el color del text seleccionat.',
239             cls: Ext.baseCSSPrefix + 'html-editor-tip'
240           },
241           justifyleft : {
242             title: 'Alinear a la esquerra',
243             text: 'Alinea el text a la esquerra.',
244             cls: Ext.baseCSSPrefix + 'html-editor-tip'
245           },
246           justifycenter : {
247             title: 'Centrar el text',
248             text: 'Centra el text a l\'editor',
249             cls: Ext.baseCSSPrefix + 'html-editor-tip'
250           },
251           justifyright : {
252             title: 'Alinear a la dreta',
253             text: 'Alinea el text a la dreta.',
254             cls: Ext.baseCSSPrefix + 'html-editor-tip'
255           },
256           insertunorderedlist : {
257             title: 'Llista amb vinyetes',
258             text: 'Comen&#231;a una llista amb vinyetes.',
259             cls: Ext.baseCSSPrefix + 'html-editor-tip'
260           },
261           insertorderedlist : {
262             title: 'Llista numerada',
263             text: 'Comen&#231;a una llista numerada.',
264             cls: Ext.baseCSSPrefix + 'html-editor-tip'
265           },
266           createlink : {
267             title: 'Enlla&#231;',
268             text: 'Transforma el text seleccionat en un enlla&#231;.',
269             cls: Ext.baseCSSPrefix + 'html-editor-tip'
270           },
271           sourceedit : {
272             title: 'Editar Codi',
273             text: 'Canvia al mode d\'edici&#243; de codi.',
274             cls: Ext.baseCSSPrefix + 'html-editor-tip'
275           }
276         }
277       });
278     }
279
280     if(Ext.grid.header.Container){
281       Ext.apply(Ext.grid.header.Container.prototype, {
282         sortAscText  : "Ordenaci&#243; Ascendent",
283         sortDescText : "Ordenaci&#243; Descendent",
284         columnsText  : "Columnes"
285       });
286     }
287
288     if(Ext.grid.GroupingFeature){
289       Ext.apply(Ext.grid.GroupingFeature.prototype, {
290         emptyGroupText : '(Buit)',
291         groupByText    : 'Agrupar Per Aquest Camp',
292         showGroupsText : 'Mostrar en Grups'
293       });
294     }
295
296     if(Ext.grid.PropertyColumnModel){
297       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
298         nameText   : "Nom",
299         valueText  : "Valor",
300         dateFormat : "d/m/Y"
301       });
302     }
303
304     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
305       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
306         splitTip            : "Cliqueu i arrossegueu per canviar el tamany del panell.",
307         collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho."
308       });
309     }
310
311     if(Ext.form.field.Time){
312       Ext.apply(Ext.form.field.Time.prototype, {
313         minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
314         maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
315         invalidText : "{0} no &#233;s un hora v&#224;lida",
316         format : "g:i A",
317         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"
318       });
319     }
320
321     if(Ext.form.CheckboxGroup){
322       Ext.apply(Ext.form.CheckboxGroup.prototype, {
323         blankText : "Ha de seleccionar almenys un &#233;tem d\'aquest group"
324       });
325     }
326
327     if(Ext.form.RadioGroup){
328       Ext.apply(Ext.form.RadioGroup.prototype, {
329         blankText : "Ha de seleccionar un &#233;tem d\'aquest grup"
330       });
331     }
332 });