2012-02-15 15:39:20 +00:00
|
|
|
/* Hindi initialisation for the jQuery UI date picker plugin. */
|
|
|
|
/* Written by Michael Dawart. */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2013-12-02 18:36:12 +00:00
|
|
|
define([ "../datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
2014-02-19 11:55:50 +00:00
|
|
|
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'];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
|
|
}));
|