mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
1216e2aaf5
Ref #9464 Ref gh-1029
38 lines
1.2 KiB
JavaScript
38 lines
1.2 KiB
JavaScript
/* Slovenian initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Jaka Jancar (jaka@kubje.org). */
|
|
/* c = č, s = š z = ž C = Č S = Š Z = Ž */
|
|
(function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define([ "../jquery.ui.datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
}(function( datepicker ) {
|
|
datepicker.regional['sl'] = {
|
|
closeText: 'Zapri',
|
|
prevText: '<Prejšnji',
|
|
nextText: 'Naslednji>',
|
|
currentText: 'Trenutni',
|
|
monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
|
|
'Julij','Avgust','September','Oktober','November','December'],
|
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
|
'Jul','Avg','Sep','Okt','Nov','Dec'],
|
|
dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],
|
|
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
|
|
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
|
|
weekHeader: 'Teden',
|
|
dateFormat: 'dd.mm.yy',
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: ''};
|
|
datepicker.setDefaults(datepicker.regional['sl']);
|
|
|
|
return datepicker.regional['sl'];
|
|
|
|
}));
|