mirror of
https://github.com/supanadit/short-url.git
synced 2024-11-24 11:26:21 +00:00
38 lines
1.5 KiB
JavaScript
38 lines
1.5 KiB
JavaScript
|
/* Hindi initialisation for the jQuery UI date picker plugin. */
|
||
|
/* Written by Michael Dawart. */
|
||
|
( function( factory ) {
|
||
|
if ( typeof define === "function" && define.amd ) {
|
||
|
|
||
|
// AMD. Register as an anonymous module.
|
||
|
define( [ "../widgets/datepicker" ], factory );
|
||
|
} else {
|
||
|
|
||
|
// Browser globals
|
||
|
factory( jQuery.datepicker );
|
||
|
}
|
||
|
}( function( datepicker ) {
|
||
|
|
||
|
datepicker.regional.hi = {
|
||
|
closeText: "बंद",
|
||
|
prevText: "पिछला",
|
||
|
nextText: "अगला",
|
||
|
currentText: "आज",
|
||
|
monthNames: [ "जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून",
|
||
|
"जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर" ],
|
||
|
monthNamesShort: [ "जन", "फर", "मार्च", "अप्रेल", "मई", "जून",
|
||
|
"जूलाई", "अग", "सित", "अक्ट", "नव", "दि" ],
|
||
|
dayNames: [ "रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार" ],
|
||
|
dayNamesShort: [ "रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि" ],
|
||
|
dayNamesMin: [ "रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि" ],
|
||
|
weekHeader: "हफ्ता",
|
||
|
dateFormat: "dd/mm/yy",
|
||
|
firstDay: 1,
|
||
|
isRTL: false,
|
||
|
showMonthAfterYear: false,
|
||
|
yearSuffix: "" };
|
||
|
datepicker.setDefaults( datepicker.regional.hi );
|
||
|
|
||
|
return datepicker.regional.hi;
|
||
|
|
||
|
} ) );
|