2008-09-20 17:42:04 +00:00
|
|
|
|
/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
|
|
|
|
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
|
2011-10-10 23:09:08 +00:00
|
|
|
|
/* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */
|
2013-07-17 15:10:30 +00:00
|
|
|
|
(function( factory ) {
|
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2013-12-02 18:36:12 +00:00
|
|
|
|
define([ "../datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
|
}
|
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
datepicker.regional['uk'] = {
|
2009-04-01 10:34:16 +00:00
|
|
|
|
closeText: 'Закрити',
|
2011-02-19 14:54:15 +00:00
|
|
|
|
prevText: '<',
|
|
|
|
|
nextText: '>',
|
2009-04-01 10:34:16 +00:00
|
|
|
|
currentText: 'Сьогодні',
|
2008-09-20 17:42:04 +00:00
|
|
|
|
monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
|
|
|
|
|
'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
|
|
|
|
|
monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
|
|
|
|
|
'Лип','Сер','Вер','Жов','Лис','Гру'],
|
2009-03-07 18:28:26 +00:00
|
|
|
|
dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'],
|
2008-09-20 17:42:04 +00:00
|
|
|
|
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
|
|
|
|
|
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
|
2011-10-10 23:09:08 +00:00
|
|
|
|
weekHeader: 'Тиж',
|
2009-04-01 10:34:16 +00:00
|
|
|
|
dateFormat: 'dd/mm/yy',
|
|
|
|
|
firstDay: 1,
|
|
|
|
|
isRTL: false,
|
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
|
datepicker.setDefaults(datepicker.regional['uk']);
|
|
|
|
|
|
|
|
|
|
return datepicker.regional['uk'];
|
|
|
|
|
|
|
|
|
|
}));
|