2013-01-08 13:09:34 +00:00
|
|
|
|
/* Belarusian initialisation for the jQuery UI date picker plugin. */
|
|
|
|
|
/* Written by Pavel Selitskas <p.selitskas@gmail.com> */
|
2015-08-24 13:00:11 +00:00
|
|
|
|
( function( factory ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-08-24 13:00:11 +00:00
|
|
|
|
define( [ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
|
}
|
2015-08-24 13:00:11 +00:00
|
|
|
|
}( function( datepicker ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
|
datepicker.regional.be = {
|
|
|
|
|
closeText: "Зачыніць",
|
|
|
|
|
prevText: "←Папяр.",
|
|
|
|
|
nextText: "Наст.→",
|
|
|
|
|
currentText: "Сёньня",
|
|
|
|
|
monthNames: [ "Студзень","Люты","Сакавік","Красавік","Травень","Чэрвень",
|
|
|
|
|
"Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Сьнежань" ],
|
|
|
|
|
monthNamesShort: [ "Сту","Лют","Сак","Кра","Тра","Чэр",
|
|
|
|
|
"Ліп","Жні","Вер","Кас","Ліс","Сьн" ],
|
|
|
|
|
dayNames: [ "нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота" ],
|
|
|
|
|
dayNamesShort: [ "ндз","пнд","аўт","срд","чцв","птн","сбт" ],
|
|
|
|
|
dayNamesMin: [ "Нд","Пн","Аў","Ср","Чц","Пт","Сб" ],
|
|
|
|
|
weekHeader: "Тд",
|
|
|
|
|
dateFormat: "dd.mm.yy",
|
2014-02-19 11:55:50 +00:00
|
|
|
|
firstDay: 1,
|
|
|
|
|
isRTL: false,
|
|
|
|
|
showMonthAfterYear: false,
|
2015-08-24 13:00:11 +00:00
|
|
|
|
yearSuffix: "" };
|
|
|
|
|
datepicker.setDefaults( datepicker.regional.be );
|
2014-02-19 11:55:50 +00:00
|
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
|
return datepicker.regional.be;
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
|
} ) );
|