From 2398f6d23a477dec6bcda364b93e2055bbae7864 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Wed, 11 Aug 2010 08:33:46 -0400 Subject: [PATCH] Datepicker: Added Kazakhstan localization. Fixes #5924 - Kazakhstan localization for ui.datepicker. --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/jquery.ui.datepicker-kz.js | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-kz.js diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index e4f6c0d13..022bd0add 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -37,6 +37,7 @@ + @@ -110,6 +111,7 @@ + diff --git a/demos/index.html b/demos/index.html index db3e2bf83..3297ba726 100644 --- a/demos/index.html +++ b/demos/index.html @@ -67,6 +67,7 @@ + diff --git a/ui/i18n/jquery.ui.datepicker-kz.js b/ui/i18n/jquery.ui.datepicker-kz.js new file mode 100644 index 000000000..f1f897b00 --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-kz.js @@ -0,0 +1,23 @@ +/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['kz'] = { + 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['kz']); +}); -- 2.39.5