Skip to content
Permalink
Browse files

Datepicker: Add Faroese localisation

  • Loading branch information
Keith Wood
Keith Wood committed Feb 26, 2010
1 parent a011ffd commit d6fd76c0c121828acb4b199b15b9a57ba925f4c7
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-fo.js
@@ -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>
@@ -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>
@@ -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','','','Mi','','Fr','Le'],
weekHeader: 'Vk',
dateFormat: 'dd-mm-yy',
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['fo']);
});

0 comments on commit d6fd76c

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