aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2012-02-15 10:39:20 -0500
committerRichard D. Worth <rdworth@gmail.com>2012-02-15 10:39:20 -0500
commit90959389ee895f5123589e5be17081fdbe340283 (patch)
treee290e0c5a5b4b60eb15745056ba8ae8d2c977173
parentefdf6cdf9f0e6aaecad7b3ac53afca38938d9048 (diff)
downloadjquery-ui-90959389ee895f5123589e5be17081fdbe340283.tar.gz
jquery-ui-90959389ee895f5123589e5be17081fdbe340283.zip
Added Datepicker Hindi i18n file. Fixed #8118 - Datepicker i18n - Hindi localization
-rw-r--r--demos/datepicker/localization.html2
-rw-r--r--demos/index.html1
-rw-r--r--ui/i18n/jquery.ui.datepicker-hi.js23
3 files changed, 26 insertions, 0 deletions
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 @@
<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>
@@ -124,6 +125,7 @@
<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>
diff --git a/demos/index.html b/demos/index.html
index 6469e884b..81217cba3 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -68,6 +68,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
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']);
+});