diff options
author | Pavel Selitskas <p.selitskas@gmail.com> | 2012-12-02 17:02:39 +0300 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-12-05 10:54:53 -0500 |
commit | cff4c3c4f3395d3f9837bd1affb8107d7ae65841 (patch) | |
tree | 9997b5616c65d778094712cf10c149e51727d753 | |
parent | 598cdae199fed9b3aa1700142e8e00a61fc6e61a (diff) | |
download | jquery-ui-cff4c3c4f3395d3f9837bd1affb8107d7ae65841.tar.gz jquery-ui-cff4c3c4f3395d3f9837bd1affb8107d7ae65841.zip |
Datepicker: Added Belarusian locale. Fixes #8885 - Datepicker: Add Belarusian locale.
-rw-r--r-- | demos/datepicker/localization.html | 2 | ||||
-rw-r--r-- | ui/i18n/jquery.ui.datepicker-be.js | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index f39677f09..c7c415622 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -12,6 +12,7 @@ <script src="../../ui/i18n/jquery.ui.datepicker-ar.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ar-DZ.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-az.js"></script> + <script src="../../ui/i18n/jquery.ui.datepicker-be.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-bg.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-bs.js"></script> <script src="../../ui/i18n/jquery.ui.datepicker-ca.js"></script> @@ -100,6 +101,7 @@ <option value="hy">Armenian (Հայերեն)</option> <option value="az">Azerbaijani (Azərbaycan dili)</option> <option value="eu">Basque (Euskara)</option> + <option value="be">Belarusian</option> <option value="bs">Bosnian (Bosanski)</option> <option value="bg">Bulgarian (български език)</option> <option value="ca">Catalan (Català)</option> diff --git a/ui/i18n/jquery.ui.datepicker-be.js b/ui/i18n/jquery.ui.datepicker-be.js new file mode 100644 index 000000000..be605dab4 --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-be.js @@ -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']);
+});
|