redmine/redmine

View on GitHub
app/assets/javascripts/i18n/datepicker-hr.js

Summary

Maintainability
C
1 day
Test Coverage
/* Croatian i18n for the jQuery UI date picker plugin. */
/* Written by Vjekoslav Nesek. */
( 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.hr = {
    closeText: "Zatvori",
    prevText: "Prethodno",
    nextText: "Sljedeći",
    currentText: "Danas",
    monthNames: [ "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj",
    "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac" ],
    monthNamesShort: [ "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip",
    "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro" ],
    dayNames: [ "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota" ],
    dayNamesShort: [ "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub" ],
    dayNamesMin: [ "Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su" ],
    weekHeader: "Tje",
    dateFormat: "dd.mm.yy.",
    firstDay: 1,
    isRTL: false,
    showMonthAfterYear: false,
    yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.hr );

return datepicker.regional.hr;

} );