PageSourceSearch

https://upa.lt/static/libs/localization/messages_lt.js?v1.4.3

js upa.lt collected 2026-09-26 09:24:34 UTC 6,440 bytes, 181 lines download raw bytes

1(function (factory) {
2	if (typeof define === "function" && define.amd) {
3		define(["jquery", "../jquery.validate"], factory);
4	} else {
5		factory(jQuery);
6	}
7}(function ($) {
8
9	/*
10	 * Translated default messages for the jQuery validation plugin.
11	 * Locale: LT (Lithuanian; lietuvių kalba)
12	 */
13	$.extend($.validator.messages, {
14		required: "Å is laukas yra privalomas.",
15		remote: "Prašome pataisyti šį lauką.",
16		email: "Prašome įvesti teisingą elektroninio pašto adresą.",
17		url: "Prašome įvesti teisingą URL.",
18		date: "Prašome įvesti teisingą datą.",
19		dateISO: "Prašome įvesti teisingą datą (pvz. 1970-01-01).",
20		number: "Prašome įvesti teisingą skaičių.",
21		digits: "Prašome naudoti tik skaitmenis.",
22		creditcard: "Prašome įvesti teisingą kreditinės kortelės numerį.",
23		equalTo: "Laukeliuose įvestos reikšmės turi sutapti.",
24		extension: "Prašome įvesti reikšmę su teisingu plėtiniu.",
25		maxlength: $.validator.format("Prašome įvesti ne daugiau kaip {0} simbolių."),
26		minlength: $.validator.format("Prašome įvesti bent {0} simbolius."),
27		rangelength: $.validator.format("Prašome įvesti reikšmes, kurių ilgis nuo {0} iki {1} simbolių."),
28		range: $.validator.format("Prašome įvesti reikšmę intervale nuo {0} iki {1}."),
29		max: $.validator.format("Prašome įvesti reikšmę mažesnę arba lygią {0}."),
30		min: $.validator.format("Prašome įvesti reikšmę didesnę arba lygią {0}.")
31	});
32
33}));
34
35$(document).ready(function () {
36	// Datepicker translations:
37//	$('.datepicker').pikaday({
38//		firstDay: 1,
39//		format: 'YYYY-MM-DD',
40//		showDaysInNextAndPreviousMonths: true,
41//		yearRange: [1918, 2050],
42//		i18n: {
43//			previousMonth: 'Praėjęs mėnesis',
44//			nextMonth: 'Sekantis mėnesis',
45//			months: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'],
46//			weekdays: ['Sekmadienis', 'Pirmadienis', 'Antradienis', 'Trečiadienis', 'Ketvirtadienis', 'Penktadienis', 'Šeštadienis'],
47//			weekdaysShort: ['S', 'P', 'A', 'T', 'K', 'P', 'Å ']
48//		}
49//	});
50
51
52//	new Pikaday({
53//		field: document.getElementsByClassName('datepicker'),
54//		firstDay: 1,
55//		format: 'YYYY-MM-DD',
56//		showDaysInNextAndPreviousMonths: true,
57//		yearRange: [1918, 2050],
58//		i18n: {
59//			previousMonth: 'Praėjęs mėnesis',
60//			nextMonth: 'Sekantis mėnesis',
61//			months: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'],
62//			weekdays: ['Sekmadienis', 'Pirmadienis', 'Antradienis', 'Trečiadienis', 'Ketvirtadienis', 'Penktadienis', 'Šeštadienis'],
63//			weekdaysShort: ['S', 'P', 'A', 'T', 'K', 'P', 'Å ']
64//		}
65//	});
66
67	const tomorrow = new Date();
68	tomorrow.setDate(tomorrow.getDate() + 1);
69	var startDate,
70			endDate,
71			updateStartDate = function () {
72				startPicker.setStartRange(startDate);
73				endPicker.setStartRange(startDate);
74				endPicker.setMinDate(startDate);
75			},
76			updateEndDate = function () {
77				startPicker.setEndRange(endDate);
78				startPicker.setMaxDate(endDate);
79				endPicker.setEndRange(endDate);
80			},
81			startPicker = new Pikaday({
82				field: document.getElementById('datepicker-start'),
83				minDate: new Date(),
84				firstDay: 1,
85				format: 'YYYY-MM-DD',
86				showDaysInNextAndPreviousMonths: true,
87
88				yearRange: [1918, 2049],
89
90				onSelect: function () {
91					startDate = this.getDate();
92					updateStartDate();
93				},
94				i18n: {
95					previousMonth: 'Praėjęs mėnesis',
96					nextMonth: 'Sekantis mėnesis',
97					months: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'],
98					weekdays: ['Sekmadienis', 'Pirmadienis', 'Antradienis', 'Trečiadienis', 'Ketvirtadienis', 'Penktadienis', 'Šeštadienis'],
99					weekdaysShort: ['S', 'P', 'A', 'T', 'K', 'P', 'Å ']
100				}
101			}),
102			endPicker = new Pikaday({
103				field: document.getElementById('datepicker-end'),
104				minDate: tomorrow,
105				firstDay: 1,
106				format: 'YYYY-MM-DD',
107				showDaysInNextAndPreviousMonths: true,
108
109				yearRange: [1918, 2049],
110
111				onSelect: function () {
112					startDate = this.getDate();
113					updateEndDate();
114				},
115				i18n: {
116					previousMonth: 'Praėjęs mėnesis',
117					nextMonth: 'Sekantis mėnesis',
118					months: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'],
119					weekdays: ['Sekmadienis', 'Pirmadienis', 'Antradienis', 'Trečiadienis', 'Ketvirtadienis', 'Penktadienis', 'Šeštadienis'],
120					weekdaysShort: ['S', 'P', 'A', 'T', 'K', 'P', 'Å ']
121				}
122			}),
123			_startDate = startPicker.getDate(),
124			_endDate = endPicker.getDate();
125
126
127	if (_startDate) {
128		startDate = _startDate;
129		updateStartDate();
130	}
131
132	if (_endDate) {
133		endDate = _endDate;
134		updateEndDate();
135	}
136
137	// Fancybox translations:
138	$.fancybox.defaults.lang = "lt";
139	$.fancybox.defaults.i18n.lt = {
140		CLOSE: "Uždaryti",
141		NEXT: "Kitas",
142		PREV: "Ankstesnis",
143		ERROR: "Šio turinio nepavyko užkrauti. Prašome bandyti dar kartą.",
144		PLAY_START: "Pradėti prezentaciją",
145		PLAY_STOP: "Sustabdyti prezentaciją",
146		FULL_SCREEN: "Pilnas ekranas",
147		THUMBS: "Piktogramos",
148		DOWNLOAD: "Atsisiųsti",
149		SHARE: "Dalintis",
150		ZOOM: "Priartinti"
151	};
152});
153
154
155/*! Select2 4.0.6-rc.1 LT translations */
156
157(function () {
158	if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd)
159		var e = jQuery.fn.select2.amd;
160	return e.define("select2/i18n/lt", [], function () {
161		function e(e, t, n, r) {
162			return e % 10 === 1 && (e % 100 < 11 || e % 100 > 19) ? t : e % 10 >= 2 && e % 10 <= 9 && (e % 100 < 11 || e % 100 > 19) ? n : r
163		}
164		return{inputTooLong: function (t) {
165				var n = t.input.length - t.maximum, r = "Pašalinkite " + n + " simbol";
166				return r += e(n, "į", "ius", "ių"), r
167			}, inputTooShort: function (t) {
168				var n = t.minimum - t.input.length, r = "Įrašykite dar " + n + " simbol";
169				return r += e(n, "į", "ius", "ių"), r
170			}, loadingMore: function () {
171				return"Kraunama daugiau rezultatų…"
172			}, maximumSelected: function (t) {
173				var n = "Jūs galite pasirinkti tik " + t.maximum + " element";
174				return n += e(t.maximum, "ą", "us", "ų"), n
175			}, noResults: function () {
176				return"Atitikmenų nerasta"
177			}, searching: function () {
178				return"Ieškoma…"
179			}}
180	}), {define: e.define, require: e.require}
181})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.