From 068fd93e89df4ced3c268ef2e423153b24f24d6b Mon Sep 17 00:00:00 2001 From: Keith Wood Date: Sun, 26 Apr 2009 02:38:44 +0000 Subject: [PATCH] Datepicker: Added Azerbaijani localisation --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/ui.datepicker-az.js | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 ui/i18n/ui.datepicker-az.js diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 42d4b7da0..762e1c469 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -7,6 +7,7 @@ + @@ -68,6 +69,7 @@ + diff --git a/demos/index.html b/demos/index.html index 534ccdcbd..87c71ece8 100644 --- a/demos/index.html +++ b/demos/index.html @@ -33,6 +33,7 @@ + diff --git a/ui/i18n/ui.datepicker-az.js b/ui/i18n/ui.datepicker-az.js new file mode 100644 index 000000000..9b1a6f9ea --- /dev/null +++ b/ui/i18n/ui.datepicker-az.js @@ -0,0 +1,22 @@ +/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Jamil Najafov (necefov33@gmail.com). */ +jQuery(function($) { + $.datepicker.regional['az'] = { + closeText: 'Bağla', + prevText: '<Geri', + nextText: 'İrəli>', + currentText: 'Bugün', + monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun', + 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'], + monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun', + 'İyul','Avq','Sen','Okt','Noy','Dek'], + dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'], + dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'], + dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'], + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['az']); +}); \ No newline at end of file -- 2.39.5