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