TracksApp/tracks

View on GitHub
app/assets/javascripts-jquery-ui/datepicker-cs.js

Summary

Maintainability
C
1 day
Test Coverage
/* Czech initialisation for the jQuery UI date picker plugin. */
/* Written by Tomas Muller (tomas@tomas-muller.net). */
( 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.cs = {
    closeText: "Zavřít",
    prevText: "Dříve",
    nextText: "Později",
    currentText: "Nyní",
    monthNames: [ "leden", "únor", "březen", "duben", "květen", "červen",
    "červenec", "srpen", "září", "říjen", "listopad", "prosinec" ],
    monthNamesShort: [ "led", "úno", "bře", "dub", "kvě", "čer",
    "čvc", "srp", "zář", "říj", "lis", "pro" ],
    dayNames: [ "neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota" ],
    dayNamesShort: [ "ne", "po", "út", "st", "čt", "pá", "so" ],
    dayNamesMin: [ "ne", "po", "út", "st", "čt", "pá", "so" ],
    weekHeader: "Týd",
    dateFormat: "dd.mm.yy",
    firstDay: 1,
    isRTL: false,
    showMonthAfterYear: false,
    yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.cs );

return datepicker.regional.cs;

} );