2015-04-07 05:56:00 +02:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
define( ["jquery", "../jquery.validate"], factory );
|
2019-01-11 01:27:19 +01:00
|
|
|
} else if (typeof module === "object" && module.exports) {
|
|
|
|
module.exports = factory( require( "jquery" ) );
|
2015-04-07 05:56:00 +02:00
|
|
|
} else {
|
|
|
|
factory( jQuery );
|
|
|
|
}
|
|
|
|
}(function( $ ) {
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Translated default messages for the jQuery validation plugin.
|
|
|
|
* Locale: SR (Serbian - Latin alphabet; srpski jezik - latinica)
|
|
|
|
*/
|
2019-01-11 01:27:19 +01:00
|
|
|
$.extend( $.validator.messages, {
|
2015-04-07 05:56:00 +02:00
|
|
|
required: "Polje je obavezno.",
|
|
|
|
remote: "Sredite ovo polje.",
|
2019-01-11 01:27:19 +01:00
|
|
|
email: "Unesite ispravnu e-mail adresu",
|
2015-04-07 05:56:00 +02:00
|
|
|
url: "Unesite ispravan URL.",
|
|
|
|
date: "Unesite ispravan datum.",
|
|
|
|
dateISO: "Unesite ispravan datum (ISO).",
|
|
|
|
number: "Unesite ispravan broj.",
|
2019-01-11 01:27:19 +01:00
|
|
|
digits: "Unesite samo cifre.",
|
2015-04-07 05:56:00 +02:00
|
|
|
creditcard: "Unesite ispravan broj kreditne kartice.",
|
|
|
|
equalTo: "Unesite istu vrednost ponovo.",
|
|
|
|
extension: "Unesite vrednost sa odgovarajućom ekstenzijom.",
|
2019-01-11 01:27:19 +01:00
|
|
|
maxlength: $.validator.format( "Unesite manje od {0} karaktera." ),
|
|
|
|
minlength: $.validator.format( "Unesite barem {0} karaktera." ),
|
|
|
|
rangelength: $.validator.format( "Unesite vrednost dugačku između {0} i {1} karaktera." ),
|
|
|
|
range: $.validator.format( "Unesite vrednost između {0} i {1}." ),
|
|
|
|
max: $.validator.format( "Unesite vrednost manju ili jednaku {0}." ),
|
|
|
|
min: $.validator.format( "Unesite vrednost veću ili jednaku {0}." )
|
|
|
|
} );
|
|
|
|
return $;
|
2015-04-07 05:56:00 +02:00
|
|
|
}));
|