38 lines
1.2 KiB
JavaScript
38 lines
1.2 KiB
JavaScript
|
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
||
|
/* @author Arturas Paleicikas <arturas@avalon.lt> */
|
||
|
(function( factory ) {
|
||
|
if ( typeof define === "function" && define.amd ) {
|
||
|
|
||
|
// AMD. Register as an anonymous module.
|
||
|
define([ "../datepicker" ], factory );
|
||
|
} else {
|
||
|
|
||
|
// Browser globals
|
||
|
factory( jQuery.datepicker );
|
||
|
}
|
||
|
}(function( datepicker ) {
|
||
|
|
||
|
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'];
|
||
|
|
||
|
}));
|