aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/datepicker/localization.html2
-rw-r--r--demos/index.html1
-rw-r--r--ui/i18n/jquery.ui.datepicker-bs.js23
3 files changed, 26 insertions, 0 deletions
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 @@
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ar.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-az.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-bg.js"></script>
+ <script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-bs.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ca.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-cs.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-da.js"></script>
@@ -77,6 +78,7 @@
<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="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>
<option value="zh-CN">Chinese Simplified (&#31616;&#20307;&#20013;&#25991;)</option>
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 @@
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-af.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ar.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-az.js"></script>
+ <script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-bs.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-bg.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-ca.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-cs.js"></script>
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: '&#x3c;',
+ nextText: '&#x3e;',
+ 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