diff options
author | Keith Wood <kbwood.au@gmail.com> | 2010-02-26 08:09:58 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2010-02-26 08:09:58 +0000 |
commit | d6fd76c0c121828acb4b199b15b9a57ba925f4c7 (patch) | |
tree | 9d67555654a9f74cc4109edefc4072e6a8b4da14 | |
parent | a011ffd9169f50ba27571194800af803b25168ba (diff) | |
download | jquery-ui-d6fd76c0c121828acb4b199b15b9a57ba925f4c7.tar.gz jquery-ui-d6fd76c0c121828acb4b199b15b9a57ba925f4c7.zip |
Datepicker: Add Faroese localisation
-rw-r--r-- | demos/datepicker/localization.html | 2 | ||||
-rw-r--r-- | demos/index.html | 1 | ||||
-rw-r--r-- | ui/i18n/jquery.ui.datepicker-fo.js | 23 |
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øroyskt)</option> <option value="fa">Farsi/Persian (‫(فارسی</option> <option value="fi">Finnish (suomi)</option> <option value="fr" selected="selected">French (Franç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: '<Fyrra',
+ nextText: 'Næsta>',
+ 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']);
+});
|