mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-27 07:34:59 +05:00
37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
|
|
/* Writers: (joan.leon@gmail.com). */
|
|
(function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define([ "../datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
}(function( datepicker ) {
|
|
|
|
datepicker.regional['ca'] = {
|
|
closeText: 'Tanca',
|
|
prevText: 'Anterior',
|
|
nextText: 'Següent',
|
|
currentText: 'Avui',
|
|
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',
|
|
dateFormat: 'dd/mm/yy',
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: ''};
|
|
datepicker.setDefaults(datepicker.regional['ca']);
|
|
|
|
return datepicker.regional['ca'];
|
|
|
|
}));
|