From: Scott González Date: Tue, 1 Nov 2011 22:16:04 +0000 (-0400) Subject: Datepicker: Changed Kazakh locale from kz to kk. Fixes #7829 - Kazakhstan language... X-Git-Tag: 1.9m7~163 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f11dab34cce80f027c74cf604394c05d32c38255;p=jquery-ui.git Datepicker: Changed Kazakh locale from kz to kk. Fixes #7829 - Kazakhstan language code. --- diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 8fe0256cb..8e6f0f08c 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -40,8 +40,8 @@ + - @@ -123,8 +123,8 @@ + - diff --git a/demos/index.html b/demos/index.html index 8fae2409d..b4031bf99 100644 --- a/demos/index.html +++ b/demos/index.html @@ -76,8 +76,8 @@ + - diff --git a/ui/i18n/jquery.ui.datepicker-kk.js b/ui/i18n/jquery.ui.datepicker-kk.js new file mode 100644 index 000000000..dcd6a65df --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-kk.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['kk'] = { + 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['kk']); +}); diff --git a/ui/i18n/jquery.ui.datepicker-kz.js b/ui/i18n/jquery.ui.datepicker-kz.js deleted file mode 100644 index 658c21275..000000000 --- a/ui/i18n/jquery.ui.datepicker-kz.js +++ /dev/null @@ -1,23 +0,0 @@ -/* 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']); -});