(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":"* Câmp obligatoriu",
						"alertTextCheckboxMultiple":"* Selectaţi o opţiune",
						"alertTextCheckboxe":"* Câmp obligatoriu"},
					"length":{
						"regex":"none",
						"alertText":"* Între ",
						"alertText2":" şi ",
						"alertText3": " caractere"},
					"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":"* Telefon incorect"},
					"email":{
						"regex":"/^[a-zA-Z0-9_\.\-]+\@([a-zA-Z0-9\-]+\.)+[a-zA-Z0-9]{2,4}$/",
						"alertText":"* Email incorect"},
					"date":{
                         "regex":"/^[0-9]{4}\-\[0-9]{1,2}\-\[0-9]{1,2}$/",
                         "alertText":"* Data incorecta (AAAA-LL-ZZ)"},
                   	"dateUs":{
                         "regex":"/^[0-9]{1,2}\-\[0-9]{1,2}\-\[0-9]{4}$/",
                         "alertText":"* Data incorecta (LL-ZZ-AAAA)"},
                    "urlValid":{
                         "regex":"/^(((http|https){1}(:[/][/]){1})+((www.){1}))[-a-zA-Z0-9@:%_\+.~#?&//=]+$/",
                         "alertText":"* URL incorect (http//:www.url.com)"},
					"onlyNumber":{
						"regex":"/^[0-9\ ]+$/",
						"alertText":"* Doar numere permise"},
					"noSpecialCaracters":{
						"regex":"/^[0-9a-zA-Z]+$/",
						"alertText":"* Nu sunt admise caractere speciale"},
					"onlyLetter":{
						"regex":"/^[a-zA-Z\ \']+$/",
						"alertText":"* Letters only"}
					}
		}
	}
})(jQuery);

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