From a53da5ab89a2790e2c9b900d228799a46ed710a2 Mon Sep 17 00:00:00 2001 From: Keith Wood Date: Tue, 8 Dec 2009 00:02:19 +0000 Subject: [PATCH] Datepicker - Fixed #4987 - Add bosnian language to DatePicker --- demos/datepicker/localization.html | 2 ++ demos/index.html | 1 + ui/i18n/jquery.ui.datepicker-bs.js | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 ui/i18n/jquery.ui.datepicker-bs.js diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 13688400d..f5b123a0b 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -10,6 +10,7 @@ + @@ -77,6 +78,7 @@ + diff --git a/demos/index.html b/demos/index.html index 6789f2af6..d71532608 100644 --- a/demos/index.html +++ b/demos/index.html @@ -36,6 +36,7 @@ + diff --git a/ui/i18n/jquery.ui.datepicker-bs.js b/ui/i18n/jquery.ui.datepicker-bs.js new file mode 100644 index 000000000..49994481c --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-bs.js @@ -0,0 +1,23 @@ +/* Bosnian i18n for the jQuery UI date picker plugin. */ +/* Written by Kenan Konjo. */ +jQuery(function($){ + $.datepicker.regional['bs'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Januar','Februar','Mart','April','Maj','Juni', + 'Juli','August','Septembar','Oktobar','Novembar','Decembar'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + weekHeader: 'Wk', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['bs']); +}); \ No newline at end of file