2011-11-17 19:30:01 +00:00
|
|
|
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
|
2008-06-04 02:34:33 +00:00
|
|
|
/* Writers: (joan.leon@gmail.com). */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2013-12-02 18:36:12 +00:00
|
|
|
define([ "../datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
datepicker.regional['ca'] = {
|
2011-11-17 19:30:01 +00:00
|
|
|
closeText: 'Tanca',
|
|
|
|
prevText: 'Anterior',
|
|
|
|
nextText: 'Següent',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: 'Avui',
|
2011-11-17 19:30:01 +00:00
|
|
|
monthNames: ['gener','febrer','març','abril','maig','juny',
|
|
|
|
'juliol','agost','setembre','octubre','novembre','desembre'],
|
|
|
|
monthNamesShort: ['gen','feb','març','abr','maig','juny',
|
|
|
|
'jul','ag','set','oct','nov','des'],
|
|
|
|
dayNames: ['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],
|
|
|
|
dayNamesShort: ['dg','dl','dt','dc','dj','dv','ds'],
|
|
|
|
dayNamesMin: ['dg','dl','dt','dc','dj','dv','ds'],
|
|
|
|
weekHeader: 'Set',
|
2009-04-26 07:02:43 +00:00
|
|
|
dateFormat: 'dd/mm/yy',
|
|
|
|
firstDay: 1,
|
2009-04-01 10:34:16 +00:00
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
datepicker.setDefaults(datepicker.regional['ca']);
|
|
|
|
|
|
|
|
return datepicker.regional['ca'];
|
|
|
|
|
|
|
|
}));
|