diff options
Diffstat (limited to 'public/javascripts/i18n/datepicker-sl.js')
-rw-r--r-- | public/javascripts/i18n/datepicker-sl.js | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/public/javascripts/i18n/datepicker-sl.js b/public/javascripts/i18n/datepicker-sl.js index 88d7f2b19..4b329e26d 100644 --- a/public/javascripts/i18n/datepicker-sl.js +++ b/public/javascripts/i18n/datepicker-sl.js @@ -1,38 +1,41 @@ /* Slovenian initialisation for the jQuery UI date picker plugin. */ /* Written by Jaka Jancar (jaka@kubje.org). */ /* c = č, s = š z = ž C = Č S = Š Z = Ž */ -(function( factory ) { +( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. - define([ "../datepicker" ], factory ); + define( [ "../widgets/datepicker" ], factory ); } else { // Browser globals factory( jQuery.datepicker ); } -}(function( datepicker ) { +} )( function( datepicker ) { +"use strict"; -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', +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']); + yearSuffix: "" }; +datepicker.setDefaults( datepicker.regional.sl ); -return datepicker.regional['sl']; +return datepicker.regional.sl; -})); +} ); |