]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Added Belarusian locale. Fixes #8885 - Datepicker: Add Belarusian locale.
authorPavel Selitskas <p.selitskas@gmail.com>
Sun, 2 Dec 2012 14:02:39 +0000 (17:02 +0300)
committerScott González <scott.gonzalez@gmail.com>
Wed, 5 Dec 2012 15:54:53 +0000 (10:54 -0500)
demos/datepicker/localization.html
ui/i18n/jquery.ui.datepicker-be.js [new file with mode: 0644]

index f39677f09c340be69f44d1721d656b698bc2a5e6..c7c415622816630aabcc370a9b97493ce6303550 100644 (file)
@@ -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>
                <option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option>
                <option value="az">Azerbaijani (Az&#601;rbaycan dili)</option>
                <option value="eu">Basque (Euskara)</option>
+               <option value="be">Belarusian</option>
                <option value="bs">Bosnian (Bosanski)</option>
                <option value="bg">Bulgarian (&#1073;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;)</option>
                <option value="ca">Catalan (Catal&agrave;)</option>
diff --git a/ui/i18n/jquery.ui.datepicker-be.js b/ui/i18n/jquery.ui.datepicker-be.js
new file mode 100644 (file)
index 0000000..be605da
--- /dev/null
@@ -0,0 +1,23 @@
+/* Belarusian initialisation for the jQuery UI date picker plugin. */\r
+/* Written by Pavel Selitskas <p.selitskas@gmail.com> */\r
+jQuery(function($){\r
+       $.datepicker.regional['be'] = {\r
+               closeText: 'Зачыніць',\r
+               prevText: '&larr;Папяр.',\r
+               nextText: 'Наст.&rarr;',\r
+               currentText: 'Сёньня',\r
+               monthNames: ['Студзень','Люты','Сакавік','Красавік','Травень','Чэрвень',\r
+               'Ліпень','Жнівень','Верасень','Кастрычнік','Лістапад','Сьнежань'],\r
+               monthNamesShort: ['Сту','Лют','Сак','Кра','Тра','Чэр',\r
+               'Ліп','Жні','Вер','Кас','Ліс','Сьн'],\r
+               dayNames: ['нядзеля','панядзелак','аўторак','серада','чацьвер','пятніца','субота'],\r
+               dayNamesShort: ['ндз','пнд','аўт','срд','чцв','птн','сбт'],\r
+               dayNamesMin: ['Нд','Пн','Аў','Ср','Чц','Пт','Сб'],\r
+               weekHeader: 'Тд',\r
+               dateFormat: 'dd.mm.yy',\r
+               firstDay: 1,\r
+               isRTL: false,\r
+               showMonthAfterYear: false,\r
+               yearSuffix: ''};\r
+       $.datepicker.setDefaults($.datepicker.regional['be']);\r
+});\r