jquery-ui/ui/i18n/datepicker-et.js

49 lines
1.2 KiB
JavaScript
Raw Normal View History

/* Estonian initialisation for the jQuery UI date picker plugin. */
/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
2015-08-24 13:00:11 +00:00
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
2015-08-24 13:00:11 +00:00
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
} )( function( datepicker ) {
"use strict";
2015-08-24 13:00:11 +00:00
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" ],
2015-08-24 13:00:11 +00:00
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"
],
2015-08-24 13:00:11 +00:00
dayNamesShort: [ "Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup" ],
dayNamesMin: [ "P", "E", "T", "K", "N", "R", "L" ],
2015-08-24 13:00:11 +00:00
weekHeader: "näd",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
2015-08-24 13:00:11 +00:00
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.et );
2015-08-24 13:00:11 +00:00
return datepicker.regional.et;
} );