2 * Catalonian Translation by halkon_polako 6-12-2007
3 * December correction halkon_polako 11-12-2007
5 * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
6 * by halkon_polako 14-aug-2008
9 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>';
12 Ext.DataView.prototype.emptyText = "";
15 if(Ext.grid.GridPanel){
16 Ext.grid.GridPanel.prototype.ddText = "{0} fila(es) seleccionada(es)";
20 Ext.LoadMask.prototype.msg = "Carregant...";
38 Date.getShortMonthName = function(month) {
39 return Date.monthNames[month].substring(0, 3);
57 Date.getMonthNumber = function(name) {
58 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
71 Date.getShortDayName = function(day) {
72 return Date.dayNames[day].substring(0, 3);
75 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
78 Ext.MessageBox.buttonText = {
80 cancel : "Cancel·lar",
87 Ext.util.Format.date = function(v, format){
89 if(!(v instanceof Date)) v = new Date(Date.parse(v));
90 return v.dateFormat(format || "d/m/Y");
95 Ext.apply(Ext.DatePicker.prototype, {
97 minText : "Aquesta data és anterior a la data mínima",
98 maxText : "Aquesta data és posterior a la data màxima",
99 disabledDaysText : "",
100 disabledDatesText : "",
101 monthNames : Date.monthNames,
102 dayNames : Date.dayNames,
103 nextText : 'Mes Següent (Control+Fletxa Dreta)',
104 prevText : 'Mes Anterior (Control+Fletxa Esquerra)',
105 monthYearText : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)',
106 todayTip : "{0} (Barra d'espai)",
108 okText : " Acceptar ",
109 cancelText : "Cancel·lar",
114 if(Ext.PagingToolbar){
115 Ext.apply(Ext.PagingToolbar.prototype, {
116 beforePageText : "Pàgina",
117 afterPageText : "de {0}",
118 firstText : "Primera Pàgina",
119 prevText : "Pàgina Anterior",
120 nextText : "Pàgina Següent",
121 lastText : "Darrera Pàgina",
122 refreshText : "Refrescar",
123 displayMsg : "Mostrant {0} - {1} de {2}",
124 emptyMsg : 'Sense dades per mostrar'
129 Ext.form.Field.prototype.invalidText = "El valor d'aquest camp és invàlid";
132 if(Ext.form.TextField){
133 Ext.apply(Ext.form.TextField.prototype, {
134 minLengthText : "El tamany mínim per aquest camp és {0}",
135 maxLengthText : "El tamany màxim per aquest camp és {0}",
136 blankText : "Aquest camp és obligatori",
142 if(Ext.form.NumberField){
143 Ext.apply(Ext.form.NumberField.prototype, {
144 decimalSeparator : ",",
145 decimalPrecision : 2,
146 minText : "El valor mínim per aquest camp és {0}",
147 maxText : "El valor màxim per aquest camp és {0}",
148 nanText : "{0} no és un nombre vàlid"
152 if(Ext.form.DateField){
153 Ext.apply(Ext.form.DateField.prototype, {
154 disabledDaysText : "Deshabilitat",
155 disabledDatesText : "Deshabilitat",
156 minText : "La data en aquest camp ha de ser posterior a {0}",
157 maxText : "La data en aquest camp ha de ser inferior a {0}",
158 invalidText : "{0} no és una data vàlida - ha de tenir el format {1}",
160 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
164 if(Ext.form.ComboBox){
165 Ext.apply(Ext.form.ComboBox.prototype, {
166 loadingText : "Carregant...",
167 valueNotFoundText : undefined
172 Ext.apply(Ext.form.VTypes, {
173 emailText : 'Aquest camp ha de ser una adreça de e-mail amb el format "user@example.com"',
174 urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
175 alphaText : 'Aquest camp només pot contenir lletres i _',
176 alphanumText : 'Aquest camp només por contenir lletres, nombres i _'
180 if(Ext.form.HtmlEditor){
181 Ext.apply(Ext.form.HtmlEditor.prototype, {
182 createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:',
185 title: 'Negreta (Ctrl+B)',
186 text: 'Posa el text seleccionat en negreta.',
187 cls: 'x-html-editor-tip'
190 title: 'Itàlica (Ctrl+I)',
191 text: 'Posa el text seleccionat en itàlica.',
192 cls: 'x-html-editor-tip'
195 title: 'Subratllat (Ctrl+U)',
196 text: 'Subratlla el text seleccionat.',
197 cls: 'x-html-editor-tip'
200 title: 'Augmentar Text',
201 text: 'Augmenta el tamany de la font de text.',
202 cls: 'x-html-editor-tip'
205 title: 'Disminuir Text',
206 text: 'Disminueix el tamany de la font de text.',
207 cls: 'x-html-editor-tip'
210 title: 'Color de fons',
211 text: 'Canvia el color de fons del text seleccionat.',
212 cls: 'x-html-editor-tip'
215 title: 'Color de la font de text',
216 text: 'Canvia el color del text seleccionat.',
217 cls: 'x-html-editor-tip'
220 title: 'Alinear a la esquerra',
221 text: 'Alinea el text a la esquerra.',
222 cls: 'x-html-editor-tip'
225 title: 'Centrar el text',
226 text: 'Centra el text a l\'editor',
227 cls: 'x-html-editor-tip'
230 title: 'Alinear a la dreta',
231 text: 'Alinea el text a la dreta.',
232 cls: 'x-html-editor-tip'
234 insertunorderedlist : {
235 title: 'Llista amb vinyetes',
236 text: 'Comença una llista amb vinyetes.',
237 cls: 'x-html-editor-tip'
239 insertorderedlist : {
240 title: 'Llista numerada',
241 text: 'Comença una llista numerada.',
242 cls: 'x-html-editor-tip'
245 title: 'Enllaç',
246 text: 'Transforma el text seleccionat en un enllaç.',
247 cls: 'x-html-editor-tip'
250 title: 'Editar Codi',
251 text: 'Canvia al mode d\'edició de codi.',
252 cls: 'x-html-editor-tip'
258 if(Ext.grid.GridView){
259 Ext.apply(Ext.grid.GridView.prototype, {
260 sortAscText : "Ordenació Ascendent",
261 sortDescText : "Ordenació Descendent",
262 columnsText : "Columnes"
266 if(Ext.grid.GroupingView){
267 Ext.apply(Ext.grid.GroupingView.prototype, {
268 emptyGroupText : '(Buit)',
269 groupByText : 'Agrupar Per Aquest Camp',
270 showGroupsText : 'Mostrar en Grups'
274 if(Ext.grid.PropertyColumnModel){
275 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
282 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
283 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
284 splitTip : "Cliqueu i arrossegueu per canviar el tamany del panell.",
285 collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho."
289 if(Ext.form.TimeField){
290 Ext.apply(Ext.form.TimeField.prototype, {
291 minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
292 maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
293 invalidText : "{0} no és un hora vàlida",
295 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"
299 if(Ext.form.CheckboxGroup){
300 Ext.apply(Ext.form.CheckboxGroup.prototype, {
301 blankText : "Ha de seleccionar almenys un étem d\'aquest group"
305 if(Ext.form.RadioGroup){
306 Ext.apply(Ext.form.RadioGroup.prototype, {
307 blankText : "Ha de seleccionar un étem d\'aquest grup"