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 loadingText : "Carregant...",
189 valueNotFoundText : undefined
193 if(Ext.form.field.VTypes){
194 Ext.apply(Ext.form.field.VTypes, {
195 emailText : 'Aquest camp ha de ser una adreça de e-mail amb el format "user@example.com"',
196 urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
197 alphaText : 'Aquest camp només pot contenir lletres i _',
198 alphanumText : 'Aquest camp només por contenir lletres, nombres i _'
202 if(Ext.form.field.HtmlEditor){
203 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
204 createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:',
207 title: 'Negreta (Ctrl+B)',
208 text: 'Posa el text seleccionat en negreta.',
209 cls: Ext.baseCSSPrefix + 'html-editor-tip'
212 title: 'Itàlica (Ctrl+I)',
213 text: 'Posa el text seleccionat en itàlica.',
214 cls: Ext.baseCSSPrefix + 'html-editor-tip'
217 title: 'Subratllat (Ctrl+U)',
218 text: 'Subratlla el text seleccionat.',
219 cls: Ext.baseCSSPrefix + 'html-editor-tip'
222 title: 'Augmentar Text',
223 text: 'Augmenta el tamany de la font de text.',
224 cls: Ext.baseCSSPrefix + 'html-editor-tip'
227 title: 'Disminuir Text',
228 text: 'Disminueix el tamany de la font de text.',
229 cls: Ext.baseCSSPrefix + 'html-editor-tip'
232 title: 'Color de fons',
233 text: 'Canvia el color de fons del text seleccionat.',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
237 title: 'Color de la font de text',
238 text: 'Canvia el color del text seleccionat.',
239 cls: Ext.baseCSSPrefix + 'html-editor-tip'
242 title: 'Alinear a la esquerra',
243 text: 'Alinea el text a la esquerra.',
244 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 title: 'Centrar el text',
248 text: 'Centra el text a l\'editor',
249 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 title: 'Alinear a la dreta',
253 text: 'Alinea el text a la dreta.',
254 cls: Ext.baseCSSPrefix + 'html-editor-tip'
256 insertunorderedlist : {
257 title: 'Llista amb vinyetes',
258 text: 'Comença una llista amb vinyetes.',
259 cls: Ext.baseCSSPrefix + 'html-editor-tip'
261 insertorderedlist : {
262 title: 'Llista numerada',
263 text: 'Comença una llista numerada.',
264 cls: Ext.baseCSSPrefix + 'html-editor-tip'
267 title: 'Enllaç',
268 text: 'Transforma el text seleccionat en un enllaç.',
269 cls: Ext.baseCSSPrefix + 'html-editor-tip'
272 title: 'Editar Codi',
273 text: 'Canvia al mode d\'edició de codi.',
274 cls: Ext.baseCSSPrefix + 'html-editor-tip'
280 if(Ext.grid.header.Container){
281 Ext.apply(Ext.grid.header.Container.prototype, {
282 sortAscText : "Ordenació Ascendent",
283 sortDescText : "Ordenació Descendent",
284 columnsText : "Columnes"
288 if(Ext.grid.GroupingFeature){
289 Ext.apply(Ext.grid.GroupingFeature.prototype, {
290 emptyGroupText : '(Buit)',
291 groupByText : 'Agrupar Per Aquest Camp',
292 showGroupsText : 'Mostrar en Grups'
296 if(Ext.grid.PropertyColumnModel){
297 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
304 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
305 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
306 splitTip : "Cliqueu i arrossegueu per canviar el tamany del panell.",
307 collapsibleSplitTip : "Cliqueu i arrossegueu per canviar el tamany del panell. Doble clic per ocultar-ho."
311 if(Ext.form.field.Time){
312 Ext.apply(Ext.form.field.Time.prototype, {
313 minText : "L\'hora en aquest camp ha de ser igual o posterior a {0}",
314 maxText : "L\'hora en aquest camp ha de ser igual o anterior {0}",
315 invalidText : "{0} no és un hora vàlida",
317 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"
321 if(Ext.form.CheckboxGroup){
322 Ext.apply(Ext.form.CheckboxGroup.prototype, {
323 blankText : "Ha de seleccionar almenys un étem d\'aquest group"
327 if(Ext.form.RadioGroup){
328 Ext.apply(Ext.form.RadioGroup.prototype, {
329 blankText : "Ha de seleccionar un étem d\'aquest grup"