aboutsummaryrefslogtreecommitdiffstats
path: root/ui/i18n/datepicker-is.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/i18n/datepicker-is.js')
-rw-r--r--ui/i18n/datepicker-is.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/i18n/datepicker-is.js b/ui/i18n/datepicker-is.js
new file mode 100644
index 000000000..51bd5bcd1
--- /dev/null
+++ b/ui/i18n/datepicker-is.js
@@ -0,0 +1,36 @@
+/* Icelandic initialisation for the jQuery UI date picker plugin. */
+/* Written by Haukur H. Thorsson (haukur@eskill.is). */
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define([ "../datepicker" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery.datepicker );
+ }
+}(function( datepicker ) {
+ datepicker.regional['is'] = {
+ closeText: 'Loka',
+ prevText: '< Fyrri',
+ nextText: 'Næsti >',
+ currentText: 'Í dag',
+ monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní',
+ 'Júlí','Ágúst','September','Október','Nóvember','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún',
+ 'Júl','Ágú','Sep','Okt','Nóv','Des'],
+ dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],
+ dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
+ dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
+ weekHeader: 'Vika',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ datepicker.setDefaults(datepicker.regional['is']);
+
+ return datepicker.regional['is'];
+
+}));