mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
70dae67b73
Fixes #15393 Closes gh-1958
49 lines
1.2 KiB
JavaScript
49 lines
1.2 KiB
JavaScript
/* Estonian initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Mart Sõmermaa (mrts.pydev at 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.et = {
|
|
closeText: "Sulge",
|
|
prevText: "Eelnev",
|
|
nextText: "Järgnev",
|
|
currentText: "Täna",
|
|
monthNames: [ "Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni",
|
|
"Juuli", "August", "September", "Oktoober", "November", "Detsember" ],
|
|
monthNamesShort: [ "Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni",
|
|
"Juuli", "Aug", "Sept", "Okt", "Nov", "Dets" ],
|
|
dayNames: [
|
|
"Pühapäev",
|
|
"Esmaspäev",
|
|
"Teisipäev",
|
|
"Kolmapäev",
|
|
"Neljapäev",
|
|
"Reede",
|
|
"Laupäev"
|
|
],
|
|
dayNamesShort: [ "Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup" ],
|
|
dayNamesMin: [ "P", "E", "T", "K", "N", "R", "L" ],
|
|
weekHeader: "näd",
|
|
dateFormat: "dd.mm.yy",
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.et );
|
|
|
|
return datepicker.regional.et;
|
|
|
|
} );
|