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