Skip to content
Permalink
Browse files

Datepicker: Added Tajikistan localization. Fixes #7034 - Datepicker: …

…Add Tajikistan localization.
  • Loading branch information...
scottgonzalez committed Feb 25, 2011
1 parent bed6def commit 0cd297702db890672a2886026200e9762de43e77
Showing with 26 additions and 0 deletions.
  1. +2 −0 demos/datepicker/localization.html
  2. +1 −0 demos/index.html
  3. +23 −0 ui/i18n/jquery.ui.datepicker-tj.js
@@ -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 (&#2980;&#2990;&#3007;&#2996;&#3021;)</option>
<option value="th">Thai (&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618;)</option>
<option value="tj">Tajikistan</option>
<option value="tr">Turkish (T&uuml;rk&ccedil;e)</option>
<option value="uk">Ukranian (&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;)</option>
<option value="vi">Vietnamese (Ti&#7871;ng Vi&#7879;t)</option>
@@ -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>
@@ -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: '&#x3c;Қафо',
nextText: 'Пеш&#x3e;',
currentText: 'Имрӯз',
monthNames: ['Январ','Феврал','Март','Апрел','Май','Июн',
'Июл','Август','Сентябр','Октябр','Ноябр','Декабр'],
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
'Июл','Авг','Сен','Окт','Ноя','Дек'],
dayNames: ['якшанбе','душанбе','сешанбе','чоршанбе','панҷшанбе','ҷумъа','шанбе'],
dayNamesShort: ['якш','душ','сеш','чор','пан','ҷум','шан'],
dayNamesMin: ['Як','Дш','Сш','Чш','Пш','Ҷм','Шн'],
weekHeader: 'Хф',
dateFormat: 'dd.mm.yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['tj']);
});

0 comments on commit 0cd2977

Please sign in to comment.
You can’t perform that action at this time.