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