3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Catalonian Translation by halkon_polako 6-12-2007
17 * December correction halkon_polako 11-12-2007
19 * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
20 * by halkon_polako 14-aug-2008
22 Ext.onReady(function() {
24 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>';
27 Ext.view.View.prototype.emptyText = "";
31 Ext.grid.Panel.prototype.ddText = "{0} fila(es) seleccionada(es)";
35 Ext.LoadMask.prototype.msg = "Carregant...";
39 Ext.Date.monthNames = [
54 Ext.Date.getShortMonthName = function(month) {
55 return Ext.Date.monthNames[month].substring(0, 3);
58 Ext.Date.monthNumbers = {
73 Ext.Date.getMonthNumber = function(name) {
74 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
87 Ext.Date.getShortDayName = function(day) {
88 return Ext.Date.dayNames[day].substring(0, 3);
91 Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
94 Ext.MessageBox.buttonText = {
96 cancel : "Cancel·lar",
103 Ext.apply(Ext.util.Format, {
104 thousandSeparator: '.',
105 decimalSeparator: ',',
106 currencySign: '\u20ac', // Spanish Euro
112 Ext.apply(Ext.picker.Date.prototype, {
114 minText : "Aquesta data és anterior a la data mínima",
115 maxText : "Aquesta data és posterior a la data màxima",
116 disabledDaysText : "",
117 disabledDatesText : "",
118 monthNames : Ext.Date.monthNames,
119 dayNames : Ext.Date.dayNames,
120 nextText : 'Mes Següent (Control+Fletxa Dreta)',
121 prevText : 'Mes Anterior (Control+Fletxa Esquerra)',
122 monthYearText : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)',
123 todayTip : "{0} (Barra d'espai)",
129 if(Ext.picker.Month) {
130 Ext.apply(Ext.picker.Month.prototype, {
131 okText : " Acceptar ",
132 cancelText : "Cancel·lar"
136 if(Ext.toolbar.Paging){
137 Ext.apply(Ext.PagingToolbar.prototype, {
138 beforePageText : "Pàgina",
139 afterPageText : "de {0}",
140 firstText : "Primera Pàgina",
141 prevText : "Pàgina Anterior",
142 nextText : "Pàgina Següent",
143 lastText : "Darrera Pàgina",
144 refreshText : "Refrescar",
145 displayMsg : "Mostrant {0} - {1} de {2}",
146 emptyMsg : 'Sense dades per mostrar'
150 if(Ext.form.field.Base){
151 Ext.form.field.Base.prototype.invalidText = "El valor d'aquest camp és invàlid";
154 if(Ext.form.field.Text){
155 Ext.apply(Ext.form.field.Text.prototype, {
156 minLengthText : "El tamany mínim per aquest camp és {0}",
157 maxLengthText : "El tamany màxim per aquest camp és {0}",
158 blankText : "Aquest camp és obligatori",
164 if(Ext.form.field.Number){
165 Ext.apply(Ext.form.field.Number.prototype, {
166 decimalSeparator : ",",
167 decimalPrecision : 2,
168 minText : "El valor mínim per aquest camp és {0}",
169 maxText : "El valor màxim per aquest camp és {0}",
170 nanText : "{0} no és un nombre vàlid"
174 if(Ext.form.field.Date){
175 Ext.apply(Ext.form.field.Date.prototype, {
176 disabledDaysText : "Deshabilitat",
177 disabledDatesText : "Deshabilitat",
178 minText : "La data en aquest camp ha de ser posterior a {0}",
179 maxText : "La data en aquest camp ha de ser inferior a {0}",
180 invalidText : "{0} no és una data vàlida - ha de tenir el format {1}",
182 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
186 if(Ext.form.field.ComboBox){
187 Ext.apply(Ext.form.field.ComboBox.prototype, {
188 valueNotFoundText : undefined
190 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
191 loadingText : "Carregant..."
195 if(Ext.form.field.VTypes){
196 Ext.apply(Ext.form.field.VTypes, {
197 emailText : 'Aquest camp ha de ser una adreça de e-mail amb el format "user@example.com"',
198 urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
199 alphaText : 'Aquest camp només pot contenir lletres i _',
200 alphanumText : 'Aquest camp només por contenir lletres, nombres i _'
204 if(Ext.form.field.HtmlEditor){
205 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
206 createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:',
209 title: 'Negreta (Ctrl+B)',
210 text: 'Posa el text seleccionat en negreta.',
211 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 title: 'Itàlica (Ctrl+I)',
215 text: 'Posa el text seleccionat en itàlica.',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: 'Subratllat (Ctrl+U)',
220 text: 'Subratlla el text seleccionat.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
224 title: 'Augmentar Text',
225 text: 'Augmenta el tamany de la font de text.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'Disminuir Text',
230 text: 'Disminueix el tamany de la font de text.',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 title: 'Color de fons',
235 text: 'Canvia el color de fons del text seleccionat.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'Color de la font de text',
240 text: 'Canvia el color del text seleccionat.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
244 title: 'Alinear a la esquerra',
245 text: 'Alinea el text a la esquerra.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
249 title: 'Centrar el text',
250 text: 'Centra el text a l\'editor',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
254 title: 'Alinear a la dreta',
255 text: 'Alinea el text a la dreta.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
258 insertunorderedlist : {
259 title: 'Llista amb vinyetes',
260 text: 'Comença una llista amb vinyetes.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
263 insertorderedlist : {
264 title: 'Llista numerada',
265 text: 'Comença una llista numerada.',
266 cls: Ext.baseCSSPrefix + 'html-editor-tip'
269 title: 'Enllaç',
270 text: 'Transforma el text seleccionat en un enllaç.',
271 cls: Ext.baseCSSPrefix + 'html-editor-tip'
274 title: 'Editar Codi',
275 text: 'Canvia al mode d\'edició de codi.',
276 cls: Ext.baseCSSPrefix + 'html-editor-tip'
282 if(Ext.grid.header.Container){
283 Ext.apply(Ext.grid.header.Container.prototype, {
284 sortAscText : "Ordenació Ascendent",
285 sortDescText : "Ordenació Descendent",
286 columnsText : "Columnes"
290 if(Ext.grid.GroupingFeature){
291 Ext.apply(Ext.grid.GroupingFeature.prototype, {
292 emptyGroupText : '(Buit)',
293 groupByText : 'Agrupar Per Aquest Camp',
294 showGroupsText : 'Mostrar en Grups'
298 if(Ext.grid.PropertyColumnModel){
299 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
306 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
307 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
308 splitTip : "Cliqueu i arrossegueu per canviar el tamany del panell.",
309 collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho."
313 if(Ext.form.field.Time){
314 Ext.apply(Ext.form.field.Time.prototype, {
315 minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
316 maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
317 invalidText : "{0} no és un hora vàlida",
319 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"
323 if(Ext.form.CheckboxGroup){
324 Ext.apply(Ext.form.CheckboxGroup.prototype, {
325 blankText : "Ha de seleccionar almenys un étem d\'aquest group"
329 if(Ext.form.RadioGroup){
330 Ext.apply(Ext.form.RadioGroup.prototype, {
331 blankText : "Ha de seleccionar un étem d\'aquest grup"