From cff4c3c4f3395d3f9837bd1affb8107d7ae65841 Mon Sep 17 00:00:00 2001 From: Pavel Selitskas Date: Sun, 2 Dec 2012 17:02:39 +0300 Subject: [PATCH] Datepicker: Added Belarusian locale. Fixes #8885 - Datepicker: Add Belarusian locale. --- demos/datepicker/localization.html | 2 ++ ui/i18n/jquery.ui.datepicker-be.js | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-be.js 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 @@ + @@ -100,6 +101,7 @@ + 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 */ +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']); +}); -- 2.39.5