39 lines
1.2 KiB
JavaScript
39 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( [ "../widgets/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;
|
||
|
|
||
|
} ) );
|