diff options
-rw-r--r-- | demos/datepicker/localization.html | 2 | ||||
-rw-r--r-- | demos/index.html | 1 | ||||
-rw-r--r-- | ui/i18n/jquery.ui.datepicker-tj.js | 23 |
3 files changed, 26 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 767cdaa54..766054c18 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -62,6 +62,7 @@ <script src="../../ui/i18n/jquery.ui.datepicker-sv.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ta.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-th.js"></script> + <script src="../../ui/i18n/jquery.ui.datepicker-tj.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-tr.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-uk.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-vi.js"></script> @@ -143,6 +144,7 @@ <option value="sv">Swedish (Svenska)</option> <option value="ta">Tamil (தமிழ்)</option> <option value="th">Thai (ภาษาไทย)</option> + <option value="tj">Tajikistan</option> <option value="tr">Turkish (Türkçe)</option> <option value="uk">Ukranian (Українська)</option> <option value="vi">Vietnamese (Tiếng Việt)</option> diff --git a/demos/index.html b/demos/index.html index e1f4eec91..7147255d7 100644 --- a/demos/index.html +++ b/demos/index.html @@ -96,6 +96,7 @@ <script src="../ui/i18n/jquery.ui.datepicker-sv.js"></script> <script src="../ui/i18n/jquery.ui.datepicker-ta.js"></script> <script src="../ui/i18n/jquery.ui.datepicker-th.js"></script> + <script src="../ui/i18n/jquery.ui.datepicker-tj.js"></script> <script src="../ui/i18n/jquery.ui.datepicker-tr.js"></script> <script src="../ui/i18n/jquery.ui.datepicker-uk.js"></script> <script src="../ui/i18n/jquery.ui.datepicker-vi.js"></script> diff --git a/ui/i18n/jquery.ui.datepicker-tj.js b/ui/i18n/jquery.ui.datepicker-tj.js new file mode 100644 index 000000000..ed662392c --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-tj.js @@ -0,0 +1,23 @@ +/* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Abdurahmon Saidov (saidovab@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['tj'] = { + 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['tj']); +});
\ No newline at end of file |