]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Added Azerbaijani localisation
authorKeith Wood <kbwood.au@gmail.com>
Sun, 26 Apr 2009 02:38:44 +0000 (02:38 +0000)
committerKeith Wood <kbwood.au@gmail.com>
Sun, 26 Apr 2009 02:38:44 +0000 (02:38 +0000)
demos/datepicker/localization.html
demos/index.html
ui/i18n/ui.datepicker-az.js [new file with mode: 0644]

index 42d4b7da0885a88136843ef7ec16e5b339362b25..762e1c46962e0efd3f750728fd888d07cd49186b 100644 (file)
@@ -7,6 +7,7 @@
        <script type="text/javascript" src="../../ui/ui.core.js"></script>
        <script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ar.js"></script>
+       <script type="text/javascript" src="../../ui/i18n/ui.datepicker-az.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-bg.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ca.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-cs.js"></script>
@@ -68,6 +69,7 @@
                <option value="sq">Albanian (Gjuha shqipe)</option>
                <option value="ar">Arabic (&#8235;(&#1604;&#1593;&#1585;&#1576;&#1610;</option>
                <option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option>
+               <option value="az">Azerbaijani (Az&#601;rbaycan dili)</option>
                <option value="bg">Bulgarian (&#1073;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;)</option>
                <option value="ca">Catalan (Catal&agrave;)</option>
                <option value="zh-CN">Chinese Simplified (&#31616;&#20307;&#20013;&#25991;)</option>
index 534ccdcbd614fa2e3843989b1cf55a1f94d60b81..87c71ece8856d04da42500b82bf0e3aa6512aca2 100644 (file)
@@ -33,6 +33,7 @@
        <script type="text/javascript" src="../ui/effects.slide.js"></script>
        <script type="text/javascript" src="../ui/effects.transfer.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-ar.js"></script>
+       <script type="text/javascript" src="../ui/i18n/ui.datepicker-az.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-bg.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-ca.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-cs.js"></script>
diff --git a/ui/i18n/ui.datepicker-az.js b/ui/i18n/ui.datepicker-az.js
new file mode 100644 (file)
index 0000000..9b1a6f9
--- /dev/null
@@ -0,0 +1,22 @@
+/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */\r
+/* Written by Jamil Najafov (necefov33@gmail.com). */\r
+jQuery(function($) {\r
+       $.datepicker.regional['az'] = {\r
+               closeText: 'Bağla',\r
+               prevText: '&#x3c;Geri',\r
+               nextText: 'İrəli&#x3e;',\r
+               currentText: 'Bugün',\r
+               monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',\r
+               'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],\r
+               monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',\r
+               'İyul','Avq','Sen','Okt','Noy','Dek'],\r
+               dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],\r
+               dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],\r
+               dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],\r
+               dateFormat: 'dd.mm.yy',\r
+               firstDay: 1,\r
+               isRTL: false,\r
+               showMonthAfterYear: false,\r
+               yearSuffix: ''};\r
+       $.datepicker.setDefaults($.datepicker.regional['az']);\r
+});
\ No newline at end of file