Datepicker - Fixed #4987 - Add bosnian language to DatePicker

This commit is contained in:
Keith Wood 2009-12-08 00:02:19 +00:00
parent cc9c8a3464
commit a53da5ab89
3 changed files with 26 additions and 0 deletions

View File

@ -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>

View File

@ -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>

23
ui/i18n/jquery.ui.datepicker-bs.js vendored Normal file
View File

@ -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']);
});