mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
21154cfa2e
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
37 lines
1.5 KiB
JavaScript
37 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([ "../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'];
|
|
|
|
}));
|