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