mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
218c6af95a
Follow-up to dfff5e7e999453f5d080c184bd4e3fdbfc93b83e Fixes gh-2048 Closes gh-2050
49 lines
1.3 KiB
JavaScript
49 lines
1.3 KiB
JavaScript
/* Icelandic initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Haukur H. Thorsson (haukur@eskill.is). */
|
|
( function( factory ) {
|
|
"use strict";
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "../widgets/datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
} )( function( datepicker ) {
|
|
"use strict";
|
|
|
|
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;
|
|
|
|
} );
|