From: Richard D. Worth Date: Wed, 15 Feb 2012 15:39:20 +0000 (-0500) Subject: Added Datepicker Hindi i18n file. Fixed #8118 - Datepicker i18n - Hindi localization X-Git-Tag: 1.8.18~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b87a0a362b9e44b5a219a054cc645ee02cb4ce36;p=jquery-ui.git Added Datepicker Hindi i18n file. Fixed #8118 - Datepicker i18n - Hindi localization (cherry picked from commit 90959389ee895f5123589e5be17081fdbe340283) --- diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 9b7021468..c276a1679 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -34,6 +34,7 @@ + @@ -124,6 +125,7 @@ + diff --git a/demos/index.html b/demos/index.html index d8285d773..db6f4c659 100644 --- a/demos/index.html +++ b/demos/index.html @@ -63,6 +63,7 @@ + diff --git a/ui/i18n/jquery.ui.datepicker-hi.js b/ui/i18n/jquery.ui.datepicker-hi.js new file mode 100644 index 000000000..d75e98ead --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-hi.js @@ -0,0 +1,23 @@ +/* Hindi initialisation for the jQuery UI date picker plugin. */ +/* Written by Michael Dawart. */ +jQuery(function($){ + $.datepicker.regional['hi'] = { + closeText: 'होकर', + prevText: 'अगला', + nextText: 'नेक्स्ट', + currentText: 'आज', + monthNames: ['जनवरी ','फरवरी','मार्च','अप्रेल','मै','जून', + 'जूलाई','अगस्त ','सितम्बर','आक्टोबर','नवम्बर','दिसम्बर'], + monthNamesShort: ['जन', 'फर', 'मार्च', 'अप्रेल', 'मै', 'जून', + 'जूलाई', 'अग', 'सित', 'आक्ट', 'नव', 'िद'], + dayNames: ['रविवासर', 'सोमवासर', 'मंगलवासर', 'बुधवासर', 'गुरुवासर', 'शुक्रवासर', 'शनिवासर'], + dayNamesShort: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + dayNamesMin: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + weekHeader: 'हफ्ता', + dateFormat: 'mm/dd/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hi']); +});