/ext-4.1.0_b3/locale/ext-lang-ca.js
JavaScript | 317 lines | 282 code | 28 blank | 7 comment | 23 complexity | 77c9f98bb75b888b743ba035dd2387af MD5 | raw file
- /**
- * Catalonian Translation by halkon_polako 6-12-2007
- * December correction halkon_polako 11-12-2007
- *
- * Synchronized with 2.2 version of ext-lang-en.js (provided by Condor 8 aug 2008)
- * by halkon_polako 14-aug-2008
- */
- Ext.onReady(function() {
- var cm = Ext.ClassManager,
- exists = Ext.Function.bind(cm.get, cm);
- if (Ext.Updater) {
- Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Carregant...</div>';
- }
- if(exists('Ext.view.View')){
- Ext.view.View.prototype.emptyText = "";
- }
- if(exists('Ext.grid.Panel')){
- Ext.grid.Panel.prototype.ddText = "{0} fila(es) seleccionada(es)";
- }
- if(Ext.LoadMask){
- Ext.LoadMask.prototype.msg = "Carregant...";
- }
- if (Ext.Date) {
- Ext.Date.monthNames = [
- "Gener",
- "Febrer",
- "Març",
- "Abril",
- "Maig",
- "Juny",
- "Juliol",
- "Agost",
- "Setembre",
- "Octubre",
- "Novembre",
- "Desembre"
- ];
- Ext.Date.getShortMonthName = function(month) {
- return Ext.Date.monthNames[month].substring(0, 3);
- };
- Ext.Date.monthNumbers = {
- Gen : 0,
- Feb : 1,
- Mar : 2,
- Abr : 3,
- Mai : 4,
- Jun : 5,
- Jul : 6,
- Ago : 7,
- Set : 8,
- Oct : 9,
- Nov : 10,
- Dec : 11
- };
- Ext.Date.getMonthNumber = function(name) {
- return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
- };
- Ext.Date.dayNames = [
- "Diumenge",
- "Dilluns",
- "Dimarts",
- "Dimecres",
- "Dijous",
- "Divendres",
- "Dissabte"
- ];
- Ext.Date.getShortDayName = function(day) {
- return Ext.Date.dayNames[day].substring(0, 3);
- };
- Ext.Date.parseCodes.S.s = "(?:st|nd|rd|th)";
- }
- if(Ext.MessageBox){
- Ext.MessageBox.buttonText = {
- ok : "Acceptar",
- cancel : "Cancel·lar",
- yes : "Sí",
- no : "No"
- };
- }
- if(exists('Ext.util.Format')){
- Ext.apply(Ext.util.Format, {
- thousandSeparator: '.',
- decimalSeparator: ',',
- currencySign: '\u20ac', // Spanish Euro
- dateFormat: 'd/m/Y'
- });
- }
- if(exists('Ext.picker.Date')){
- Ext.apply(Ext.picker.Date.prototype, {
- todayText : "Avui",
- minText : "Aquesta data és anterior a la data mínima",
- maxText : "Aquesta data és posterior a la data màxima",
- disabledDaysText : "",
- disabledDatesText : "",
- monthNames : Ext.Date.monthNames,
- dayNames : Ext.Date.dayNames,
- nextText : 'Mes Següent (Control+Fletxa Dreta)',
- prevText : 'Mes Anterior (Control+Fletxa Esquerra)',
- monthYearText : 'Seleccioni un mes (Control+Fletxa a Dalt o Abaix per canviar els anys)',
- todayTip : "{0} (Barra d'espai)",
- format : "d/m/Y",
- startDay : 1
- });
- }
- if(exists('Ext.picker.Month')) {
- Ext.apply(Ext.picker.Month.prototype, {
- okText : " Acceptar ",
- cancelText : "Cancel·lar"
- });
- }
- if(exists('Ext.toolbar.Paging')){
- Ext.apply(Ext.PagingToolbar.prototype, {
- beforePageText : "Pàgina",
- afterPageText : "de {0}",
- firstText : "Primera Pàgina",
- prevText : "Pàgina Anterior",
- nextText : "Pàgina Següent",
- lastText : "Darrera Pàgina",
- refreshText : "Refrescar",
- displayMsg : "Mostrant {0} - {1} de {2}",
- emptyMsg : 'Sense dades per mostrar'
- });
- }
- if(exists('Ext.form.field.Base')){
- Ext.form.field.Base.prototype.invalidText = "El valor d'aquest camp és invàlid";
- }
- if(exists('Ext.form.field.Text')){
- Ext.apply(Ext.form.field.Text.prototype, {
- minLengthText : "El tamany mínim per aquest camp és {0}",
- maxLengthText : "El tamany màxim per aquest camp és {0}",
- blankText : "Aquest camp és obligatori",
- regexText : "",
- emptyText : null
- });
- }
- if(exists('Ext.form.field.Number')){
- Ext.apply(Ext.form.field.Number.prototype, {
- decimalSeparator : ",",
- decimalPrecision : 2,
- minText : "El valor mínim per aquest camp és {0}",
- maxText : "El valor màxim per aquest camp és {0}",
- nanText : "{0} no és un nombre vàlid"
- });
- }
- if(exists('Ext.form.field.Date')){
- Ext.apply(Ext.form.field.Date.prototype, {
- disabledDaysText : "Deshabilitat",
- disabledDatesText : "Deshabilitat",
- minText : "La data en aquest camp ha de ser posterior a {0}",
- maxText : "La data en aquest camp ha de ser inferior a {0}",
- invalidText : "{0} no és una data vàlida - ha de tenir el format {1}",
- format : "d/m/Y",
- altFormats : "d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
- });
- }
- if(exists('Ext.form.field.ComboBox')){
- Ext.apply(Ext.form.field.ComboBox.prototype, {
- valueNotFoundText : undefined
- });
- Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
- loadingText : "Carregant..."
- });
- }
- if(exists('Ext.form.field.VTypes')){
- Ext.apply(Ext.form.field.VTypes, {
- emailText : 'Aquest camp ha de ser una adreça de e-mail amb el format "user@example.com"',
- urlText : 'Aquest camp ha de ser una URL amb el format "http:/'+'/www.example.com"',
- alphaText : 'Aquest camp només pot contenir lletres i _',
- alphanumText : 'Aquest camp només por contenir lletres, nombres i _'
- });
- }
- if(exists('Ext.form.field.HtmlEditor')){
- Ext.apply(Ext.form.field.HtmlEditor.prototype, {
- createLinkText : 'Si us plau, tecleixi la URL per l\'enllaç:',
- buttonTips : {
- bold : {
- title: 'Negreta (Ctrl+B)',
- text: 'Posa el text seleccionat en negreta.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- italic : {
- title: 'Itàlica (Ctrl+I)',
- text: 'Posa el text seleccionat en itàlica.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- underline : {
- title: 'Subratllat (Ctrl+U)',
- text: 'Subratlla el text seleccionat.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- increasefontsize : {
- title: 'Augmentar Text',
- text: 'Augmenta el tamany de la font de text.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- decreasefontsize : {
- title: 'Disminuir Text',
- text: 'Disminueix el tamany de la font de text.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- backcolor : {
- title: 'Color de fons',
- text: 'Canvia el color de fons del text seleccionat.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- forecolor : {
- title: 'Color de la font de text',
- text: 'Canvia el color del text seleccionat.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- justifyleft : {
- title: 'Alinear a la esquerra',
- text: 'Alinea el text a la esquerra.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- justifycenter : {
- title: 'Centrar el text',
- text: 'Centra el text a l\'editor',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- justifyright : {
- title: 'Alinear a la dreta',
- text: 'Alinea el text a la dreta.',
- cls: Ext.baseCSSPrefix + 'html-editor-tip'
- },
- insertunorderedlist : {
-