]> source.dussan.org Git - jquery-ui.git/commitdiff
Added Datepicker Hindi i18n file. Fixed #8118 - Datepicker i18n - Hindi localization
authorRichard D. Worth <rdworth@gmail.com>
Wed, 15 Feb 2012 15:39:20 +0000 (10:39 -0500)
committerRichard D. Worth <rdworth@gmail.com>
Wed, 15 Feb 2012 15:39:59 +0000 (10:39 -0500)
(cherry picked from commit 90959389ee895f5123589e5be17081fdbe340283)

demos/datepicker/localization.html
demos/index.html
ui/i18n/jquery.ui.datepicker-hi.js [new file with mode: 0644]

index 9b7021468b8d767ce8a312f117b673c156878a34..c276a1679cdedafdcd537d25c439a8ab5481e53a 100644 (file)
@@ -34,6 +34,7 @@
        <script src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-gl.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-he.js"></script>
+       <script src="../../ui/i18n/jquery.ui.datepicker-hi.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-hr.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-hu.js"></script>
        <script src="../../ui/i18n/jquery.ui.datepicker-hy.js"></script>
                <option value="de">German (Deutsch)</option>
                <option value="el">Greek (&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;)</option>
                <option value="he">Hebrew (&#8235;(&#1506;&#1489;&#1512;&#1497;&#1514;</option>
+               <option value="hi">Hindi (&#2361;&#2367;&#2306;&#2342;&#2368;)</option>
                <option value="hu">Hungarian (Magyar)</option>
                <option value="is">Icelandic (&Otilde;slenska)</option>
                <option value="id">Indonesian (Bahasa Indonesia)</option>
index d8285d7734f133cd528498620c090a79597d9891..db6f4c65997793bc430546fa8a23ada410bfdd28 100644 (file)
@@ -63,6 +63,7 @@
        <script src="../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-gl.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-he.js"></script>
+       <script src="../ui/i18n/jquery.ui.datepicker-hi.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-hr.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-hu.js"></script>
        <script src="../ui/i18n/jquery.ui.datepicker-hy.js"></script>
diff --git a/ui/i18n/jquery.ui.datepicker-hi.js b/ui/i18n/jquery.ui.datepicker-hi.js
new file mode 100644 (file)
index 0000000..d75e98e
--- /dev/null
@@ -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']);
+});