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
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
|
( 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.sv = {
|
|
closeText: "Stäng",
|
|
prevText: "Förra",
|
|
nextText: "Nästa",
|
|
currentText: "Idag",
|
|
monthNames: [ "januari", "februari", "mars", "april", "maj", "juni",
|
|
"juli", "augusti", "september", "oktober", "november", "december" ],
|
|
monthNamesShort: [ "jan.", "feb.", "mars", "apr.", "maj", "juni",
|
|
"juli", "aug.", "sep.", "okt.", "nov.", "dec." ],
|
|
dayNamesShort: [ "sön", "mån", "tis", "ons", "tor", "fre", "lör" ],
|
|
dayNames: [ "söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag" ],
|
|
dayNamesMin: [ "sö", "må", "ti", "on", "to", "fr", "lö" ],
|
|
weekHeader: "Ve",
|
|
dateFormat: "yy-mm-dd",
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.sv );
|
|
|
|
return datepicker.regional.sv;
|
|
|
|
} );
|