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>
7 <body onload="prettyPrint();">
8 <pre class="prettyprint lang-js">/*!
10 * Copyright(c) 2006-2009 Ext JS, LLC
12 * http://www.extjs.com/license
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
18 * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
19 * by halkon_polako 14-aug-2008
22 Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>';
25 Ext.DataView.prototype.emptyText = "";
28 if(Ext.grid.GridPanel){
29 Ext.grid.GridPanel.prototype.ddText = "{0} fila(es) seleccionada(es)";
33 Ext.LoadMask.prototype.msg = "Carregant...";
51 Date.getShortMonthName = function(month) {
52 return Date.monthNames[month].substring(0, 3);
70 Date.getMonthNumber = function(name) {
71 return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
84 Date.getShortDayName = function(day) {
85 return Date.dayNames[day].substring(0, 3);
88 Date.parseCodes.S.s = "(?:st|nd|rd|th)";
91 Ext.MessageBox.buttonText = {
93 cancel : "Cancel·lar",
100 Ext.util.Format.date = function(v, format){
102 if(!(v instanceof Date)) v = new Date(Date.parse(v));
103 return v.dateFormat(format || "d/m/Y");
108 Ext.apply(Ext.DatePicker.prototype, {
110 minText : "Aquesta data és anterior a la data mínima",
111 maxText : "Aquesta data és posterior a la data màxima",
112 disabledDaysText : "",
113 disabledDatesText : "",
114 monthNames : Date.monthNames,
115 dayNames : Date.dayNames,
116 nextText : 'Mes Segü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'espai)",
121 okText : " Acceptar ",
122 cancelText : "Cancel·lar",
127 if(Ext.PagingToolbar){
128 Ext.apply(Ext.PagingToolbar.prototype, {
129 beforePageText : "Pàgina",
130 afterPageText : "de {0}",
131 firstText : "Primera Pàgina",
132 prevText : "Pàgina Anterior",
133 nextText : "Pàgina Següent",
134 lastText : "Darrera Pàgina",
135 refreshText : "Refrescar",
136 displayMsg : "Mostrant {0} - {1} de {2}",
137 emptyMsg : 'Sense dades per mostrar'
142 Ext.form.Field.prototype.invalidText = "El valor d'aquest camp és invàlid";
145 if(Ext.form.TextField){
146 Ext.apply(Ext.form.TextField.prototype, {
147 minLengthText : "El tamany mínim per aquest camp és {0}",
148 maxLengthText : "El tamany màxim per aquest camp és {0}",
149 blankText : "Aquest camp és obligatori",
155 if(Ext.form.NumberField){
156 Ext.apply(Ext.form.NumberField.prototype, {
157 decimalSeparator : ",",
158 decimalPrecision : 2,
159 minText : "El valor mínim per aquest camp és {0}",
160 maxText : "El valor màxim per aquest camp és {0}",
161 nanText : "{0} no és un nombre vàlid"
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 és una data vàlida - ha de tenir el format {1}",
173 altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
177 if(Ext.form.ComboBox){
178 Ext.apply(Ext.form.ComboBox.prototype, {
179 loadingText : "Carregant...",
180 valueNotFoundText : undefined
185 Ext.apply(Ext.form.VTypes, {
186 emailText : 'Aquest camp ha de ser una adreç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és pot contenir lletres i _',
189 alphanumText : 'Aquest camp només por contenir lletres, nombres i _'
193 if(Ext.form.HtmlEditor){
194 Ext.apply(Ext.form.HtmlEditor.prototype, {
195 createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:',
198 title: 'Negreta (Ctrl+B)',
199 text: 'Posa el text seleccionat en negreta.',
200 cls: 'x-html-editor-tip'
203 title: 'Itàlica (Ctrl+I)',
204 text: 'Posa el text seleccionat en itàlica.',
205 cls: 'x-html-editor-tip'
208 title: 'Subratllat (Ctrl+U)',
209 text: 'Subratlla el text seleccionat.',
210 cls: 'x-html-editor-tip'
213 title: 'Augmentar Text',
214 text: 'Augmenta el tamany de la font de text.',
215 cls: 'x-html-editor-tip'
218 title: 'Disminuir Text',
219 text: 'Disminueix el tamany de la font de text.',
220 cls: 'x-html-editor-tip'
223 title: 'Color de fons',
224 text: 'Canvia el color de fons del text seleccionat.',
225 cls: 'x-html-editor-tip'
228 title: 'Color de la font de text',
229 text: 'Canvia el color del text seleccionat.',
230 cls: 'x-html-editor-tip'
233 title: 'Alinear a la esquerra',
234 text: 'Alinea el text a la esquerra.',
235 cls: 'x-html-editor-tip'
238 title: 'Centrar el text',
239 text: 'Centra el text a l\'editor',
240 cls: 'x-html-editor-tip'
243 title: 'Alinear a la dreta',
244 text: 'Alinea el text a la dreta.',
245 cls: 'x-html-editor-tip'
247 insertunorderedlist : {
248 title: 'Llista amb vinyetes',
249 text: 'Comença una llista amb vinyetes.',
250 cls: 'x-html-editor-tip'
252 insertorderedlist : {
253 title: 'Llista numerada',
254 text: 'Comença una llista numerada.',
255 cls: 'x-html-editor-tip'
258 title: 'Enllaç',
259 text: 'Transforma el text seleccionat en un enllaç.',
260 cls: 'x-html-editor-tip'
263 title: 'Editar Codi',
264 text: 'Canvia al mode d\'edició de codi.',
265 cls: 'x-html-editor-tip'
271 if(Ext.grid.GridView){
272 Ext.apply(Ext.grid.GridView.prototype, {
273 sortAscText : "Ordenació Ascendent",
274 sortDescText : "Ordenació Descendent",
275 columnsText : "Columnes"
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'
287 if(Ext.grid.PropertyColumnModel){
288 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
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."
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 és un hora vàlida",
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"
312 if(Ext.form.CheckboxGroup){
313 Ext.apply(Ext.form.CheckboxGroup.prototype, {
314 blankText : "Ha de seleccionar almenys un étem d\'aquest group"
318 if(Ext.form.RadioGroup){
319 Ext.apply(Ext.form.RadioGroup.prototype, {
320 blankText : "Ha de seleccionar un étem d\'aquest grup"