diff options
-rw-r--r-- | demos/datepicker/localization.html | 2 | ||||
-rw-r--r-- | demos/index.html | 1 | ||||
-rw-r--r-- | ui/i18n/jquery.ui.datepicker-bs.js | 23 |
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 (Հայերեն)</option> <option value="az">Azerbaijani (Azərbaycan dili)</option> <option value="eu">Basque (Euskara)</option> + <option value="bs">Bosnian (Bosanski)</option> <option value="bg">Bulgarian (български език)</option> <option value="ca">Catalan (Català)</option> <option value="zh-CN">Chinese Simplified (简体中文)</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: '<',
+ 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 |