From 98513985a27153e54eac5cdccd4643047f88c63a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 25 Feb 2011 10:40:36 +0100 Subject: [PATCH] Datepicker: Added Tajikistan localization. Fixes #7034 - Datepicker: Add Tajikistan localization. (cherry picked from commit 0cd297702db890672a2886026200e9762de43e77) --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/jquery.ui.datepicker-tj.js | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-tj.js 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 @@ + @@ -143,6 +144,7 @@ + diff --git a/demos/index.html b/demos/index.html index 510e24f0b..d347ea50e 100644 --- a/demos/index.html +++ b/demos/index.html @@ -91,6 +91,7 @@ + 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 -- 2.39.5