forked from jquery/jquery-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datepicker: Added Belarusian locale. Fixes #8885 - Datepicker: Add Be…
…larusian locale.
- Loading branch information
1 parent
598cdae
commit cff4c3c
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Belarusian initialisation for the jQuery UI date picker plugin. */ | ||
/* Written by Pavel Selitskas <p.selitskas@gmail.com> */ | ||
jQuery(function($){ | ||
$.datepicker.regional['be'] = { | ||
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['be']); | ||
}); |