3 * Copyright(c) 2006-2010 Ext JS, Inc.
5 * http://www.extjs.com/license
8 * Catalonian Translation by halkon_polako 6-12-2007
9 * December correction halkon_polako 11-12-2007
11 * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
12 * by halkon_polako 14-aug-2008
15 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>';
18 Ext.DataView.prototype.emptyText = "";
21 if(Ext.grid.GridPanel){
22 Ext.grid.GridPanel.prototype.ddText = "{0} fila(es) seleccionada(es)";
26 Ext.LoadMask.prototype.msg = "Carregant...";
44 Date.getShortMonthName = function(month) {
45 return Date.monthNames[month].substring(0, 3);
63 Date.getMonthNumber = function(name) {
64 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
77 Date.getShortDayName = function(day) {
78 return Date.dayNames[day].substring(0, 3);
81 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
84 Ext.MessageBox.buttonText = {
86 cancel : "Cancel·lar",
93 Ext.util.Format.date = function(v, format){
95 if(!(v instanceof Date)) v = new Date(Date.parse(v));
96 return v.dateFormat(format || "d/m/Y");
101 Ext.apply(Ext.DatePicker.prototype, {
103 minText : "Aquesta data és anterior a la data mínima",
104 maxText : "Aquesta data és posterior a la data màxima",
105 disabledDaysText : "",
106 disabledDatesText : "",
107 monthNames : Date.monthNames,
108 dayNames : Date.dayNames,
109 nextText : 'Mes Següent (Control+Fletxa Dreta)',
110 prevText : 'Mes Anterior (Control+Fletxa Esquerra)',
111 monthYearText : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)',
112 todayTip : "{0} (Barra d'espai)",
114 okText : " Acceptar ",
115 cancelText : "Cancel·lar",
120 if(Ext.PagingToolbar){
121 Ext.apply(Ext.PagingToolbar.prototype, {
122 beforePageText : "Pàgina",
123 afterPageText : "de {0}",
124 firstText : "Primera Pàgina",
125 prevText : "Pàgina Anterior",
126 nextText : "Pàgina Següent",
127 lastText : "Darrera Pàgina",
128 refreshText : "Refrescar",
129 displayMsg : "Mostrant {0} - {1} de {2}",
130 emptyMsg : 'Sense dades per mostrar'
135 Ext.form.Field.prototype.invalidText = "El valor d'aquest camp és invàlid";
138 if(Ext.form.TextField){
139 Ext.apply(Ext.form.TextField.prototype, {
140 minLengthText : "El tamany mínim per aquest camp és {0}",
141 maxLengthText : "El tamany màxim per aquest camp és {0}",
142 blankText : "Aquest camp és obligatori",
148 if(Ext.form.NumberField){
149 Ext.apply(Ext.form.NumberField.prototype, {
150 decimalSeparator : ",",
151 decimalPrecision : 2,
152 minText : "El valor mínim per aquest camp és {0}",
153 maxText : "El valor màxim per aquest camp és {0}",
154 nanText : "{0} no és un nombre vàlid"
158 if(Ext.form.DateField){
159 Ext.apply(Ext.form.DateField.prototype, {
160 disabledDaysText : "Deshabilitat",
161 disabledDatesText : "Deshabilitat",
162 minText : "La data en aquest camp ha de ser posterior a {0}",
163 maxText : "La data en aquest camp ha de ser inferior a {0}",
164 invalidText : "{0} no és una data vàlida - ha de tenir el format {1}",
166 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
170 if(Ext.form.ComboBox){
171 Ext.apply(Ext.form.ComboBox.prototype, {
172 loadingText : "Carregant...",
173 valueNotFoundText : undefined
178 Ext.apply(Ext.form.VTypes, {
179 emailText : 'Aquest camp ha de ser una adreça de e-mail amb el format "user@example.com"',
180 urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
181 alphaText : 'Aquest camp només pot contenir lletres i _',
182 alphanumText : 'Aquest camp només por contenir lletres, nombres i _'
186 if(Ext.form.HtmlEditor){
187 Ext.apply(Ext.form.HtmlEditor.prototype, {
188 createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:',
191 title: 'Negreta (Ctrl+B)',
192 text: 'Posa el text seleccionat en negreta.',
193 cls: 'x-html-editor-tip'
196 title: 'Itàlica (Ctrl+I)',
197 text: 'Posa el text seleccionat en itàlica.',
198 cls: 'x-html-editor-tip'
201 title: 'Subratllat (Ctrl+U)',
202 text: 'Subratlla el text seleccionat.',
203 cls: 'x-html-editor-tip'
206 title: 'Augmentar Text',
207 text: 'Augmenta el tamany de la font de text.',
208 cls: 'x-html-editor-tip'
211 title: 'Disminuir Text',
212 text: 'Disminueix el tamany de la font de text.',
213 cls: 'x-html-editor-tip'
216 title: 'Color de fons',
217 text: 'Canvia el color de fons del text seleccionat.',
218 cls: 'x-html-editor-tip'
221 title: 'Color de la font de text',
222 text: 'Canvia el color del text seleccionat.',
223 cls: 'x-html-editor-tip'
226 title: 'Alinear a la esquerra',
227 text: 'Alinea el text a la esquerra.',
228 cls: 'x-html-editor-tip'
231 title: 'Centrar el text',
232 text: 'Centra el text a l\'editor',
233 cls: 'x-html-editor-tip'
236 title: 'Alinear a la dreta',
237 text: 'Alinea el text a la dreta.',
238 cls: 'x-html-editor-tip'
240 insertunorderedlist : {
241 title: 'Llista amb vinyetes',
242 text: 'Comença una llista amb vinyetes.',
243 cls: 'x-html-editor-tip'
245 insertorderedlist : {
246 title: 'Llista numerada',
247 text: 'Comença una llista numerada.',
248 cls: 'x-html-editor-tip'
251 title: 'Enllaç',
252 text: 'Transforma el text seleccionat en un enllaç.',
253 cls: 'x-html-editor-tip'
256 title: 'Editar Codi',
257 text: 'Canvia al mode d\'edició de codi.',
258 cls: 'x-html-editor-tip'
264 if(Ext.grid.GridView){
265 Ext.apply(Ext.grid.GridView.prototype, {
266 sortAscText : "Ordenació Ascendent",
267 sortDescText : "Ordenació Descendent",
268 columnsText : "Columnes"
272 if(Ext.grid.GroupingView){
273 Ext.apply(Ext.grid.GroupingView.prototype, {
274 emptyGroupText : '(Buit)',
275 groupByText : 'Agrupar Per Aquest Camp',
276 showGroupsText : 'Mostrar en Grups'
280 if(Ext.grid.PropertyColumnModel){
281 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
288 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
289 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
290 splitTip : "Cliqueu i arrossegueu per canviar el tamany del panell.",
291 collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho."
295 if(Ext.form.TimeField){
296 Ext.apply(Ext.form.TimeField.prototype, {
297 minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
298 maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
299 invalidText : "{0} no és un hora vàlida",
301 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"
305 if(Ext.form.CheckboxGroup){
306 Ext.apply(Ext.form.CheckboxGroup.prototype, {
307 blankText : "Ha de seleccionar almenys un étem d\'aquest group"
311 if(Ext.form.RadioGroup){
312 Ext.apply(Ext.form.RadioGroup.prototype, {
313 blankText : "Ha de seleccionar un étem d\'aquest grup"