mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
70dae67b73
Fixes #15393 Closes gh-1958
41 lines
1.6 KiB
JavaScript
41 lines
1.6 KiB
JavaScript
/* Hindi initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Michael Dawart. */
|
|
( 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.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;
|
|
|
|
} );
|