jquery.ui.datepicker.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Hindi initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Michael Dawart. */
  3. ( function( factory ) {
  4. "use strict";
  5. if ( typeof define === "function" && define.amd ) {
  6. // AMD. Register as an anonymous module.
  7. define( [ "../widgets/datepicker" ], factory );
  8. } else {
  9. // Browser globals
  10. factory( jQuery.datepicker );
  11. }
  12. } )( function( datepicker ) {
  13. "use strict";
  14. datepicker.regional.hi = {
  15. closeText: "बंद",
  16. prevText: "पिछला",
  17. nextText: "अगला",
  18. currentText: "आज",
  19. monthNames: [ "जनवरी ", "फरवरी", "मार्च", "अप्रेल", "मई", "जून",
  20. "जूलाई", "अगस्त ", "सितम्बर", "अक्टूबर", "नवम्बर", "दिसम्बर" ],
  21. monthNamesShort: [ "जन", "फर", "मार्च", "अप्रेल", "मई", "जून",
  22. "जूलाई", "अग", "सित", "अक्ट", "नव", "दि" ],
  23. dayNames: [ "रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार" ],
  24. dayNamesShort: [ "रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि" ],
  25. dayNamesMin: [ "रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि" ],
  26. weekHeader: "हफ्ता",
  27. dateFormat: "dd/mm/yy",
  28. firstDay: 1,
  29. isRTL: false,
  30. showMonthAfterYear: false,
  31. yearSuffix: "" };
  32. datepicker.setDefaults( datepicker.regional.hi );
  33. return datepicker.regional.hi;
  34. } );