aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2010-02-26 08:09:58 +0000
committerKeith Wood <kbwood.au@gmail.com>2010-02-26 08:09:58 +0000
commitd6fd76c0c121828acb4b199b15b9a57ba925f4c7 (patch)
tree9d67555654a9f74cc4109edefc4072e6a8b4da14
parenta011ffd9169f50ba27571194800af803b25168ba (diff)
downloadjquery-ui-d6fd76c0c121828acb4b199b15b9a57ba925f4c7.tar.gz
jquery-ui-d6fd76c0c121828acb4b199b15b9a57ba925f4c7.zip
Datepicker: Add Faroese localisation
-rw-r--r--demos/datepicker/localization.html2
-rw-r--r--demos/index.html1
-rw-r--r--ui/i18n/jquery.ui.datepicker-fo.js23
3 files changed, 26 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html
index 13734fc97..8e2160827 100644
--- a/demos/datepicker/localization.html
+++ b/demos/datepicker/localization.html
@@ -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>
diff --git a/demos/index.html b/demos/index.html
index afdd72475..696b8b87a 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -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>
diff --git a/ui/i18n/jquery.ui.datepicker-fo.js b/ui/i18n/jquery.ui.datepicker-fo.js
new file mode 100644
index 000000000..175008397
--- /dev/null
+++ b/ui/i18n/jquery.ui.datepicker-fo.js
@@ -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']);
+});