Skip to content
Permalink
Browse files

Datepicker - Fixed #4987 - Add bosnian language to DatePicker

  • Loading branch information
Keith Wood
Keith Wood committed Dec 8, 2009
1 parent cc9c8a3 commit a53da5ab89a2790e2c9b900d228799a46ed710a2
Showing with 26 additions and 0 deletions.
  1. +2 −0 demos/datepicker/localization.html
  2. +1 −0 demos/index.html
  3. +23 −0 ui/i18n/jquery.ui.datepicker-bs.js
@@ -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>
@@ -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>
@@ -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']);
});

0 comments on commit a53da5a

Please sign in to comment.
You can’t perform that action at this time.