(function($) {
	$.fn.validationEngineLanguage = function() {};
	$.validationEngineLanguage = {
		newLang: function() {
			$.validationEngineLanguage.allRules = 	{"required":{    			// Add your regex rules here, you can take telephone as an example
						"regex":"none",
						"alertText":"* To pole jest wymagane",
						"alertTextCheckboxMultiple":"* Proszę wybrać opcje",
						"alertTextCheckboxe":"* To pole jest obowiązkowe"},
					"length":{
						"regex":"none",
						"alertText":"* Długość pomiędzy ",
						"alertText2":" i ",
						"alertText3": " znaków"},
					"maxCheckbox":{
						"regex":"none",
						"alertText":"* Checks allowed Exceeded"},	
					"minCheckbox":{
						"regex":"none",
						"alertText":"* Please select ",
						"alertText2":" options"},	
					"confirm":{
						"regex":"none",
						"alertText":"* Your field is not matching"},		
					"telephone":{
						"regex":"/^[0-9\-\(\)\ ]+$/",
						"alertText":"* Niepoprawny numer telefonu"},	
					"fax":{
						"regex":"/^[0-9\-\(\)\ ]+$/",
						"alertText":"* Niepoprawny numer fax"},	
					"kodpocztowy":{
						"regex":"/^[0-9]{2}\-\[0-9]{3}\$/",
						"alertText":"* Niepoprawny kod pocztowy"},	
					"email":{
						"regex":"/^[a-zA-Z0-9_\.\-]+\@([a-zA-Z0-9\-]+\.)+\.[a-zA-Z0-9]{2,4}$/",
						"alertText":"* Niepoprawny adres E-mail"},	
					"date":{
						"regex":"/^[0-9]{4}\-\[0-9]{1,2}\-\[0-9]{1,2}$/",
            "alertText":"* Invalid date, must be in YYYY-MM-DD format"},
					"onlyNumber":{
						"regex":"/^[0-9\ ]+$/",
						"alertText":"* Tylko cyfry"},	
					"noSpecialCaracters":{
						"regex":"/^[0-9a-zA-Zęółąśżźćń ]+$/",
						"alertText":"* Usuń znaki specialne np: %,* itp"},	
					"noSpecial_bezdiaktrycznych":{
						"regex":"/^[0-9a-zA-Z]+$/",
						"alertText":"* Usuń polskie znaki oraz znaki specjalne np: %, * itp."},	
					"url":{
						"regex":"/^[0-9a-zA-Z-]+$/",
						"alertText":"* Usuń polskie znaki oraz znaki specjalne np: %, *, spacje itp.<br />* Przykład poprawnego adresu:<br /> www.moja-firma.zaplanujslub.com.pl"},
					"www":{
						"regex":"/^[0-9a-zA-Z-./]+$/",
						"alertText":"* Niepoprawny adres www"},	
					"ajaxUser":{
						"file":"user_check.php",
						"alertText":"* Ta nazwa użytkownika jest już zajęta, proszę wpisać inna.",
						"alertTextOk":"* Nazwa użytkownika jest dostępna",	
						"alertTextLoad":"* Sprawdzanie, proszę czekać"},	
					"ajaxAdress":{
						"file":"address_check.php",
						"alertText":"* Ten adres jest już zajęty, proszę wpisać inny",
						"alertTextOk":"* Adres jest dostępny",	
						"alertTextLoad":"* Sprawdzanie, proszę czekać"},
					"onlyLetter":{
						"regex":"/^[a-zA-Z\ \']+$/",
						"alertText":"* Tylko litery"},
					"validate2fields":{
    					"nname":"validate2fields",
    					"alertText":"* Wpisz takie samo hasło jak powyżej"}	
					}	
					
		}
	}
})(jQuery);

$(document).ready(function() {	
	$.validationEngineLanguage.newLang()
});
