facebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskype
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
294 lines
9.8 KiB
294 lines
9.8 KiB
/** |
|
* 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() { |
|
|
|
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.util && Ext.util.Format) { |
|
Ext.apply(Ext.util.Format, { |
|
thousandSeparator: '.', |
|
decimalSeparator: ',', |
|
currencySign: '\u20ac', |
|
// Spanish Euro |
|
dateFormat: 'd/m/Y' |
|
}); |
|
} |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.view.View", { |
|
override: "Ext.view.View", |
|
emptyText: "" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.grid.plugin.DragDrop", { |
|
override: "Ext.grid.plugin.DragDrop", |
|
dragText: "{0} fila(es) seleccionada(es)" |
|
}); |
|
|
|
// changing the msg text below will affect the LoadMask |
|
Ext.define("Ext.locale.ca.view.AbstractView", { |
|
override: "Ext.view.AbstractView", |
|
loadingText: "Carregant..." |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.picker.Date", { |
|
override: "Ext.picker.Date", |
|
todayText: "Avui", |
|
minText: "Aquesta data és anterior a la data mínima", |
|
maxText: "Aquesta data és posterior a la data màxima", |
|
disabledDaysText: "", |
|
disabledDatesText: "", |
|
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 |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.picker.Month", { |
|
override: "Ext.picker.Month", |
|
okText: " Acceptar ", |
|
cancelText: "Cancel·lar" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.toolbar.Paging", { |
|
override: "Ext.PagingToolbar", |
|
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' |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.Base", { |
|
override: "Ext.form.field.Base", |
|
invalidText: "El valor d'aquest camp és invàlid" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.Text", { |
|
override: "Ext.form.field.Text", |
|
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 |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.Number", { |
|
override: "Ext.form.field.Number", |
|
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" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.File", { |
|
override: "Ext.form.field.File", |
|
buttonText: "Examinar..." |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.Date", { |
|
override: "Ext.form.field.Date", |
|
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" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.ComboBox", { |
|
override: "Ext.form.field.ComboBox", |
|
valueNotFoundText: undefined |
|
}, function() { |
|
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, { |
|
loadingText: "Carregant..." |
|
}); |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.VTypes", { |
|
override: "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 _' |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.HtmlEditor", { |
|
override: "Ext.form.field.HtmlEditor", |
|
createLinkText: 'Si us plau, tecleixi la URL per l\'enllaç:' |
|
}, function() { |
|
Ext.apply(Ext.form.field.HtmlEditor.prototype, { |
|
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: { |
|
title: 'Llista amb vinyetes', |
|
text: 'Comença una llista amb vinyetes.', |
|
cls: Ext.baseCSSPrefix + 'html-editor-tip' |
|
}, |
|
insertorderedlist: { |
|
title: 'Llista numerada', |
|
text: 'Comença una llista numerada.', |
|
cls: Ext.baseCSSPrefix + 'html-editor-tip' |
|
}, |
|
createlink: { |
|
title: 'Enllaç', |
|
text: 'Transforma el text seleccionat en un enllaç.', |
|
cls: Ext.baseCSSPrefix + 'html-editor-tip' |
|
}, |
|
sourceedit: { |
|
title: 'Editar Codi', |
|
text: 'Canvia al mode d\'edició de codi.', |
|
cls: Ext.baseCSSPrefix + 'html-editor-tip' |
|
} |
|
} |
|
}); |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.grid.header.Container", { |
|
override: "Ext.grid.header.Container", |
|
sortAscText: "Ordenació Ascendent", |
|
sortDescText: "Ordenació Descendent", |
|
columnsText: "Columnes" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.grid.GroupingFeature", { |
|
override: "Ext.grid.feature.Grouping", |
|
emptyGroupText: '(Buit)', |
|
groupByText: 'Agrupar Per Aquest Camp', |
|
showGroupsText: 'Mostrar en Grups' |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.grid.PropertyColumnModel", { |
|
override: "Ext.grid.PropertyColumnModel", |
|
nameText: "Nom", |
|
valueText: "Valor", |
|
dateFormat: "d/m/Y" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.field.Time", { |
|
override: "Ext.form.field.Time", |
|
minText: "L\'hora en aquest camp ha de ser igual o posterior a {0}", |
|
maxText: "L\'hora en aquest camp ha de ser igual o anterior {0}", |
|
invalidText: "{0} no és un hora vàlida", |
|
format: "g:i A", |
|
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" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.CheckboxGroup", { |
|
override: "Ext.form.CheckboxGroup", |
|
blankText: "Ha de seleccionar almenys un étem d\'aquest group" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.form.RadioGroup", { |
|
override: "Ext.form.RadioGroup", |
|
blankText: "Ha de seleccionar un étem d\'aquest grup" |
|
}); |
|
|
|
Ext.define("Ext.locale.ca.window.MessageBox", { |
|
override: "Ext.window.MessageBox", |
|
buttonText: { |
|
ok: "Acceptar", |
|
cancel: "Cancel·lar", |
|
yes: "Sí", |
|
no: "No" |
|
} |
|
}); |
|
|
|
// This is needed until we can refactor all of the locales into individual files |
|
Ext.define("Ext.locale.ca.Component", { |
|
override: "Ext.Component" |
|
});
|
|
|