2008-07-25 09:59:05 +00:00
|
|
|
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
|
|
|
/* @author Arturas Paleicikas <arturas@avalon.lt> */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-07-15 01:58:04 +00:00
|
|
|
define([ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
|
2014-02-19 11:55:50 +00:00
|
|
|
datepicker.regional['lt'] = {
|
|
|
|
closeText: 'Uždaryti',
|
|
|
|
prevText: '<Atgal',
|
|
|
|
nextText: 'Pirmyn>',
|
|
|
|
currentText: 'Šiandien',
|
|
|
|
monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
|
|
|
|
'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
|
|
|
|
monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
|
|
|
|
'Lie','Rugp','Rugs','Spa','Lap','Gru'],
|
|
|
|
dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
|
|
|
|
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
|
|
|
|
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
|
|
|
|
weekHeader: 'SAV',
|
|
|
|
dateFormat: 'yy-mm-dd',
|
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: true,
|
|
|
|
yearSuffix: ''};
|
|
|
|
datepicker.setDefaults(datepicker.regional['lt']);
|
|
|
|
|
|
|
|
return datepicker.regional['lt'];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
|
|
|
}));
|