mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-23 13:44:59 +05:00
38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
|
/* Albanian initialisation for the jQuery UI date picker plugin. */
|
||
|
/* Written by Flakron Bytyqi (flakron@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['sq'] = {
|
||
|
closeText: 'mbylle',
|
||
|
prevText: '<mbrapa',
|
||
|
nextText: 'Përpara>',
|
||
|
currentText: 'sot',
|
||
|
monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
|
||
|
'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
|
||
|
monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
|
||
|
'Kor','Gus','Sht','Tet','Nën','Dhj'],
|
||
|
dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
|
||
|
dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
||
|
dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
||
|
weekHeader: 'Ja',
|
||
|
dateFormat: 'dd.mm.yy',
|
||
|
firstDay: 1,
|
||
|
isRTL: false,
|
||
|
showMonthAfterYear: false,
|
||
|
yearSuffix: ''};
|
||
|
datepicker.setDefaults(datepicker.regional['sq']);
|
||
|
|
||
|
return datepicker.regional['sq'];
|
||
|
|
||
|
}));
|