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

49 lines
1.3 KiB
JavaScript
Raw Normal View History

/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
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.lv = {
closeText: "Aizvērt",
prevText: "Iepr.",
nextText: "Nāk.",
currentText: "Šodien",
monthNames: [ "Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs",
"Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris" ],
monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mai", "Jūn",
"Jūl", "Aug", "Sep", "Okt", "Nov", "Dec" ],
dayNames: [
"svētdiena",
"pirmdiena",
"otrdiena",
"trešdiena",
"ceturtdiena",
"piektdiena",
"sestdiena"
],
dayNamesShort: [ "svt", "prm", "otr", "tre", "ctr", "pkt", "sst" ],
dayNamesMin: [ "Sv", "Pr", "Ot", "Tr", "Ct", "Pk", "Ss" ],
2015-08-24 13:00:11 +00:00
weekHeader: "Ned.",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
2015-08-24 13:00:11 +00:00
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.lv );
2015-08-24 13:00:11 +00:00
return datepicker.regional.lv;
} );