mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
f1ce6e5de5
Ref #13885
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([ "../widgets/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'];
|
|
|
|
}));
|