mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
3126e12869
Fixes gh-2048 Closes gh-2050 Ref gh-2067
49 lines
1.2 KiB
JavaScript
49 lines
1.2 KiB
JavaScript
/* Faroese initialisation for the jQuery UI date picker plugin */
|
|
/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
|
|
( 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.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: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.fo );
|
|
|
|
return datepicker.regional.fo;
|
|
|
|
} );
|