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
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
/* Finnish initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Harri Kilpiö (harrikilpio@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.fi = {
|
|
closeText: "Sulje",
|
|
prevText: "Edellinen",
|
|
nextText: "Seuraava",
|
|
currentText: "Tänään",
|
|
monthNames: [ "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu",
|
|
"Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu" ],
|
|
monthNamesShort: [ "Tammi", "Helmi", "Maalis", "Huhti", "Touko", "Kesä",
|
|
"Heinä", "Elo", "Syys", "Loka", "Marras", "Joulu" ],
|
|
dayNamesShort: [ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La" ],
|
|
dayNames: [ "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai" ],
|
|
dayNamesMin: [ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La" ],
|
|
weekHeader: "Vk",
|
|
dateFormat: "d.m.yy",
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.fi );
|
|
|
|
return datepicker.regional.fi;
|
|
|
|
} );
|