Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Datepicker: Added Kazakhstan localization. Fixes #5924 - Kazakhstan l…
…ocalization for ui.datepicker.
- Loading branch information
Showing
with
26 additions
and 0 deletions.
- +2 −0 demos/datepicker/localization.html
- +1 −0 demos/index.html
- +23 −0 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']); | ||
}); |