var LOCALE = {
"Are You sure to delete?": "Ar tikrai norite ištrinti?",
"1 result": ["%d rezultatas", "%d rezultatai"],
"For example: BMW -150000km 20000-80000EEK": "Pavyzdžiui: BMW -150000km 10000-20000LTL",
"Use common upload": "Use common upload",
"All picture places are filled! Please first delete some images.": "All picture places are filled! Please first delete some images.",
"Uploading": "Uploading",
"Saving": "Saving",
"Error on saving file.": "Error on saving file.",
"Error": "Klaida",
"done": "done",
"Are You sure You want to delete it?": "Are You sure You want to delete it?",
"Monthly payment": "Mėnesinė įmoka",
"Total payment": "Bendras mokėjimas",
"Enter name please": "Įveskite vardą",
"Are You sure to disable?": "Ar tikrai norite deaktyvuoti?",
"Hide choices": "Paslėpti pasirinkimus",
"Specify more": "Detaliau",
"Don't search by lease": "Neieškoti pagal lizingo įmoką",
"Search by lease payment": "Ieškoti pagal lizingo įmoką",
"Show less": "Rodyti mažiau",
"Show more": "Rodyti daugiau",
"username": "vartotojo vardas",
"Are You sure You want to change bodytype? It causes a loss of data already inserted.": "Are You sure You want to change bodytype? It causes a loss of data already inserted.",
"Cancel": "Atšaukti",
"Hide statistics": "Slėpti statistiką",
"View statistics": "Žiūrėti statistiką"
};
function gettext(text) {
	if (LOCALE[text]) {
		return LOCALE[text];
	}
	else {
		return text;
	}
}

function ngettext(singular, plural, n) {
	var translation = LOCALE[singular];
	
	// when no translation exists, leave untranslated
	if (!translation) {
		return (n == 1) ? singular : plural;
	}
	
	// use correct plural-form equation for this locale
	var form = (n == 1) ? 0 : 1;
	
	return translation[form];
}
