mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
3126e12869
Fixes gh-2048 Closes gh-2050 Ref gh-2067
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
/* Slovak initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Vojtech Rinik (vojto@hmm.sk). */
|
|
( function( factory ) {
|
|
"use strict";
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "../widgets/datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
} )( function( datepicker ) {
|
|
"use strict";
|
|
|
|
datepicker.regional.sk = {
|
|
closeText: "Zavrieť",
|
|
prevText: "Predchádzajúci",
|
|
nextText: "Nasledujúci",
|
|
currentText: "Dnes",
|
|
monthNames: [ "január", "február", "marec", "apríl", "máj", "jún",
|
|
"júl", "august", "september", "október", "november", "december" ],
|
|
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Máj", "Jún",
|
|
"Júl", "Aug", "Sep", "Okt", "Nov", "Dec" ],
|
|
dayNames: [ "nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota" ],
|
|
dayNamesShort: [ "Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob" ],
|
|
dayNamesMin: [ "Ne", "Po", "Ut", "St", "Št", "Pia", "So" ],
|
|
weekHeader: "Ty",
|
|
dateFormat: "dd.mm.yy",
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.sk );
|
|
|
|
return datepicker.regional.sk;
|
|
|
|
} );
|