mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
395aa7d056
Fixes gh-2048 Closes gh-2050 Closes gh-2100
42 lines
1.5 KiB
JavaScript
42 lines
1.5 KiB
JavaScript
/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
|
||
/* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */
|
||
( function( factory ) {
|
||
"use strict";
|
||
|
||
if ( typeof define === "function" && define.amd ) {
|
||
|
||
// AMD. Register as an anonymous module.
|
||
define( [ "../widgets/datepicker" ], factory );
|
||
} else {
|
||
|
||
// Browser globals
|
||
factory( jQuery.datepicker );
|
||
}
|
||
} )( function( datepicker ) {
|
||
"use strict";
|
||
|
||
datepicker.regional.uk = {
|
||
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.uk );
|
||
|
||
return datepicker.regional.uk;
|
||
|
||
} );
|