Datepicker: Add Faroese localisation

This commit is contained in:
Keith Wood 2010-02-26 08:09:58 +00:00
parent a011ffd916
commit d6fd76c0c1
3 changed files with 26 additions and 0 deletions

View File

@ -24,6 +24,7 @@
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-eu.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fa.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fi.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fo.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-he.js"></script>
@ -93,6 +94,7 @@
<option value="en-GB">English/UK</option>
<option value="eo">Esperanto</option>
<option value="et">Estonian (eesti keel)</option>
<option value="fo">Faroese (f&oslash;royskt)</option>
<option value="fa">Farsi/Persian (&#8235;(&#1601;&#1575;&#1585;&#1587;&#1740;</option>
<option value="fi">Finnish (suomi)</option>
<option value="fr" selected="selected">French (Fran&ccedil;ais)</option>

View File

@ -54,6 +54,7 @@
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-eu.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fa.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fi.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fo.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
<script type="text/javascript" src="../ui/i18n/jquery.ui.datepicker-he.js"></script>

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

@ -0,0 +1,23 @@
/* Faroese initialisation for the jQuery UI date picker plugin */
/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
jQuery(function($){
$.datepicker.regional['fo'] = {
closeText: 'Lat aftur',
prevText: '&#x3c;Fyrra',
nextText: 'Næsta&#x3e;',
currentText: 'Í dag',
monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
'Juli','August','September','Oktober','November','Desember'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
'Jul','Aug','Sep','Okt','Nov','Des'],
dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
weekHeader: 'Vk',
dateFormat: 'dd-mm-yy',
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['fo']);
});