Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[*] jQuery validationEngine languages updates.

  • Loading branch information...
commit 2c6ccd1f8ba985a06cc8021b410b65bcb96494cf 1 parent a691aec
Maxim Mukhin authored
Showing with 566 additions and 16 deletions.
  1. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-cz.js
  2. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-da.js
  3. +5 −1 src/skins/common/js/validationEngine/languages/jquery.validationEngine-de.js
  4. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-en.js
  5. +15 −10 src/skins/common/js/validationEngine/languages/jquery.validationEngine-es.js
  6. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-et.js
  7. +175 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-fa.js
  8. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-fi.js
  9. +9 −5 src/skins/common/js/validationEngine/languages/jquery.validationEngine-fr.js
  10. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-hr.js
  11. +173 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-hu.js
  12. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-it.js
  13. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-ja.js
  14. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-nl.js
  15. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-pl.js
  16. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-pt.js
  17. +121 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-pt_BR.js
  18. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-ro.js
  19. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-ru.js
  20. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-sv.js
  21. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-tr.js
  22. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-zh_CN.js
  23. +4 −0 src/skins/common/js/validationEngine/languages/jquery.validationEngine-zh_TW.js
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-cz.js
@@ -53,6 +53,10 @@
"regex": "none",
"alertText": "* Pole se neshodují"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Neplatné číslo kreditní karty"
+ },
"CZphone": {
// telefoní číslo
"regex": /^([\+][0-9]{1,3}[ \.\-])([0-9]{3}[\-][0-9]{3}[\-][0-9]{3})$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-da.js
@@ -53,6 +53,10 @@
"regex": "none",
"alertText": "* Felterne er ikke ens"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Ugyldigt kreditkortnummer"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
6 src/skins/common/js/validationEngine/languages/jquery.validationEngine-de.js
@@ -54,9 +54,13 @@
"regex": "none",
"alertText": "* Felder stimmen nicht überein"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Ungültige Kreditkartennummer"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
- "regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
+ "regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
"alertText": "* Ungültige Telefonnummer"
},
"email": {
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-en.js
@@ -65,6 +65,10 @@
"regex": "none",
"alertText": "* Fields do not match"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Invalid credit card number"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
25 src/skins/common/js/validationEngine/languages/jquery.validationEngine-es.js
@@ -1,3 +1,4 @@
+
(function($){
$.fn.validationEngineLanguage = function(){
};
@@ -6,9 +7,9 @@
$.validationEngineLanguage.allRules = {
"required": { // Add your regex rules here, you can take telephone as an example
"regex": "none",
- "alertText": "* Este campo es requerido",
- "alertTextCheckboxMultiple": "* Por favor selecciona una opción",
- "alertTextCheckboxe": "* Este checkbox está requerido"
+ "alertText": "* Este campo es obligatorio",
+ "alertTextCheckboxMultiple": "* Por favor seleccione una opción",
+ "alertTextCheckboxe": "* Este checkbox es obligatorio"
},
"minSize": {
"regex": "none",
@@ -17,7 +18,7 @@
},
"groupRequired": {
"regex": "none",
- "alertText": "* You must fill one of the following fields"
+ "alertText": "* Debe de rellenar al menos uno de los siguientes campos"
},
"maxSize": {
"regex": "none",
@@ -26,11 +27,11 @@
},
"min": {
"regex": "none",
- "alertText": "* Valor mínimo es "
+ "alertText": "* El valor mínimo es "
},
"max": {
"regex": "none",
- "alertText": "* Valor máximo es "
+ "alertText": "* El valor máximo es "
},
"past": {
"regex": "none",
@@ -39,7 +40,7 @@
"future": {
"regex": "none",
"alertText": "* Fecha posterior a "
- },
+ },
"maxCheckbox": {
"regex": "none",
"alertText": "* Se ha excedido el número de opciones permitidas"
@@ -53,6 +54,10 @@
"regex": "none",
"alertText": "* Los campos no coinciden"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* La tarjeta de crédito no es válida"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
@@ -73,8 +78,8 @@
"alertText": "* No es un valor decimal válido"
},
"date": {
- "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/,
- "alertText": "* Fecha inválida, por favor utilize el formato AAAA-MM-DD"
+ "regex": /^(0?[1-9]|[12][0-9]|3[01])[\/\-](0?[1-9]|1[012])[\/\-]\d{4}$/,
+ "alertText": "* Fecha inválida, por favor utilize el formato DD/MM/AAAA"
},
"ipv4": {
"regex": /^((([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))[.]){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))$/,
@@ -118,7 +123,7 @@
"alertText": "* Por favor entrar HELLO"
}
};
-
+
}
};
$.validationEngineLanguage.newLang();
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-et.js
@@ -50,6 +50,10 @@
"regex": "none",
"alertText": "* Väljad ei kattu"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Kehtetu krediitkaardi number"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
175 src/skins/common/js/validationEngine/languages/jquery.validationEngine-fa.js
@@ -0,0 +1,175 @@
+(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": "* این فیلد ضروری است",
+ "alertTextCheckboxMultiple": "* لطفا یک گزینه را انتخاب کنید",
+ "alertTextCheckboxe": "* این چک باکس ضروری است",
+ "alertTextDateRange": "* هر دو فیلد‌های بازه‌ی تاریخی ضروری هستند"
+ },
+ "dateRange": {
+ "regex": "none",
+ "alertText": "* بازه‌ی تاریخی ",
+ "alertText2": "نامعتبر"
+ },
+ "dateTimeRange": {
+ "regex": "none",
+ "alertText": "* بازه‌ی زمانی",
+ "alertText2": "نامعتبر"
+ },
+ "minSize": {
+ "regex": "none",
+ "alertText": "* حداقل ",
+ "alertText2": " حرف ضروری است"
+ },
+ "maxSize": {
+ "regex": "none",
+ "alertText": "* حداکثر ",
+ "alertText2": " حرف وارد کنید"
+ },
+ "groupRequired": {
+ "regex": "none",
+ "alertText": "* شما باید یکی از فیلد‌های زیر را پر کنید"
+ },
+ "min": {
+ "regex": "none",
+ "alertText": "* کمترین مقدار معتبر ",
+ "alertText2": " است"
+ },
+ "max": {
+ "regex": "none",
+ "alertText": "* بیش‌ترین مقدار معتبر ",
+ "alertText2": "است"
+ },
+ "past": {
+ "regex": "none",
+ "alertText": "* تاریخ‌های قبل از "
+ },
+ "future": {
+ "regex": "none",
+ "alertText": "* تاریخ‌های بعد از "
+ },
+ "maxCheckbox": {
+ "regex": "none",
+ "alertText": "* بیش‌ترین گزینه‌ی قابل انتخاب ",
+ "alertText2": " است"
+ },
+ "minCheckbox": {
+ "regex": "none",
+ "alertText": "* لطفا ",
+ "alertText2": " مورد انتخاب کنید"
+ },
+ "equals": {
+ "regex": "none",
+ "alertText": "* فیلد نامعتبر است"
+ },
+ "creditCard": {
+ "regex": "none",
+ "alertText": "شماره کارت اعتباری اشتباه"
+ },
+ "phone": {
+ // credit: jquery.h5validate.js / orefalo
+ "regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
+ "alertText": "* شماره تلفن معتبر وارد کنید"
+ },
+ "email": {
+ // Shamelessly lifted from Scott Gonzalez via the Bassistance Validation plugin http://projects.scottsplayground.com/email_address_validation/
+ "regex": /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,
+ "alertText": "* نشانی الکترونیکی معتبر وارد کنید"
+ },
+ "integer": {
+ "regex": /^[\-\+]?\d+$/,
+ "alertText": "* عدد معتبر وارد کنید"
+ },
+ "number": {
+ // Number, including positive, negative, and floating decimal. credit: orefalo
+ "regex": /^[\-\+]?(([0-9]+)([\.,]([0-9]+))?|([\.,]([0-9]+))?)$/,
+ "alertText": "* عدد اعشاری معتبر وارد کنید"
+ },
+ "date": {
+ "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/,
+ "alertText": "* تاریخ باید به شکل سال/ماه/روز"
+ },
+ "ipv4": {
+ "regex": /^((([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))[.]){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))$/,
+ "alertText": "* IP معتبر وارد کنید"
+ },
+ "url": {
+ "regex": /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,
+ "alertText": "* نشانی معتبر وارد کنید"
+ },
+ "onlyNumberSp": {
+ "regex": /^[0-9\ ]+$/,
+ "alertText": "* فقط اعداد"
+ },
+ "onlyLetterSp": {
+ "regex": /^[a-zA-Z\ \']+$/,
+ "alertText": "* فقط حروف انگلیسی"
+ },
+ "onlyLetterNumber": {
+ "regex": /^[0-9a-zA-Z]+$/,
+ "alertText": "* فقط اعداد و حروف انگلیسی وارد کنید"
+ },
+ // --- CUSTOM RULES -- Those are specific to the demos, they can be removed or changed to your likings
+ "ajaxUserCall": {
+ "url": "ajaxValidateFieldUser",
+ // you may want to pass extra data on the ajax call
+ "extraData": "name=eric",
+ "alertText": "* این نام‌کاربری تکراری است",
+ "alertTextLoad": "* درحال اعتبار سنجی، لطفا صبر کنید"
+ },
+ "ajaxUserCallPhp": {
+ "url": "phpajax/ajaxValidateFieldUser.php",
+ // you may want to pass extra data on the ajax call
+ "extraData": "name=eric",
+ // if you provide an "alertTextOk", it will show as a green prompt when the field validates
+ "alertTextOk": "* این نام کاربری آزاد است",
+ "alertText": "* این نام‌کاربری تکراری است",
+ "alertTextLoad": "* درحال اعتبار سنجی، لطفا صبر کنید"
+ },
+ "ajaxNameCall": {
+ // remote json service location
+ "url": "ajaxValidateFieldName",
+ // error
+ "alertText": "* این نام پیش‌تر ثبت شده است",
+ // if you provide an "alertTextOk", it will show as a green prompt when the field validates
+ "alertTextOk": "* این نام آزاد است",
+ // speaks by itself
+ "alertTextLoad": "* درحال اعتبار سنجی، لطفا صبر کنید"
+ },
+ "ajaxNameCallPhp": {
+ // remote json service location
+ "url": "phpajax/ajaxValidateFieldName.php",
+ // error
+ "alertText": "* این نام تکراری است",
+ // speaks by itself
+ "alertTextLoad": "* درحال اعتبار سنجی، لطفا صبر کنید"
+ },
+ "validate2fields": {
+ "alertText": "* لطفا مقدار HELLO را وارد کنید"
+ },
+ //tls warning:homegrown not fielded
+ "dateFormat":{
+ "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(?:(?:0?[1-9]|1[0-2])(\/|-)(?:0?[1-9]|1\d|2[0-8]))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(0?2(\/|-)29)(\/|-)(?:(?:0[48]00|[13579][26]00|[2468][048]00)|(?:\d\d)?(?:0[48]|[2468][048]|[13579][26]))$/,
+ "alertText": "* تاریخ نامعتبر"
+ },
+ //tls warning:homegrown not fielded
+ "dateTimeFormat": {
+ "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1}$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^((1[012]|0?[1-9]){1}\/(0?[1-9]|[12][0-9]|3[01]){1}\/\d{2,4}\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1})$/,
+ "alertText": "* تاریخ نامعتبر است یا شکل معتبری ندارد",
+ "alertText2": "شکل‌های مورد معتبر: ",
+ "alertText3": "mm/dd/yyyy hh:mm:ss AM|PM or ",
+ "alertText4": "yyyy-mm-dd hh:mm:ss AM|PM"
+ }
+ };
+
+ }
+ };
+
+ $.validationEngineLanguage.newLang();
+
+})(jQuery);
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-fi.js
@@ -50,6 +50,10 @@
"regex": "none",
"alertText": "* Kentät eivät täsmää"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Luottokortin numero ei kelpaa"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
14 src/skins/common/js/validationEngine/languages/jquery.validationEngine-fr.js
@@ -6,14 +6,14 @@
$.validationEngineLanguage.allRules = {
"required": {
"regex": "none",
- "alertText": "* Ce champs est requis",
+ "alertText": "* Ce champ est requis",
"alertTextCheckboxMultiple": "* Choisir une option",
"alertTextCheckboxe": "* Cette option est requise"
},
"minSize": {
"regex": "none",
"alertText": "* Minimum ",
- "alertText2": " caracteres requis"
+ "alertText2": " caractères requis"
},
"groupRequired": {
"regex": "none",
@@ -22,7 +22,7 @@
"maxSize": {
"regex": "none",
"alertText": "* Maximum ",
- "alertText2": " caracteres requis"
+ "alertText2": " caractères requis"
},
"min": {
"regex": "none",
@@ -51,7 +51,11 @@
},
"equals": {
"regex": "none",
- "alertText": "* Votre champs n'est pas identique"
+ "alertText": "* Votre champ n'est pas identique"
+ },
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Numéro de carte bancaire valide"
},
"phone": {
// credit: jquery.h5validate.js / orefalo
@@ -86,7 +90,7 @@
},
"onlyNumberSp": {
"regex": /^[0-9\ ]+$/,
- "alertText": "* Seules les chiffres sont acceptées"
+ "alertText": "* Seuls les chiffres sont acceptés"
},
"onlyLetterSp": {
"regex": /^[a-zA-Z\ \']+$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-hr.js
@@ -65,6 +65,10 @@
"regex": "none",
"alertText": "* Polja se ne podudaraju"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Neispravan broj kreditne kartice"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
173 src/skins/common/js/validationEngine/languages/jquery.validationEngine-hu.js
@@ -0,0 +1,173 @@
+(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": "* Ezt a mezőt ki kell tölteni",
+ "alertTextCheckboxMultiple": "* Kérem válasszon egy opciót",
+ "alertTextCheckboxe": "* Ez az opció be kell legyen jelölve",
+ "alertTextDateRange": "* Mindkét dátum mezőt ki kell tölteni"
+ },
+ "dateRange": {
+ "regex": "none",
+ "alertText": "* Érvénytelen ",
+ "alertText2": "Dátum tartomány"
+ },
+ "dateTimeRange": {
+ "regex": "none",
+ "alertText": "* Érvénytelen ",
+ "alertText2": "Dátum-idő tartomány"
+ },
+ "minSize": {
+ "regex": "none",
+ "alertText": "* Minimum ",
+ "alertText2": " karakter kell legyen"
+ },
+ "maxSize": {
+ "regex": "none",
+ "alertText": "* Maximum ",
+ "alertText2": " karakter lehet"
+ },
+ "groupRequired": {
+ "regex": "none",
+ "alertText": "* Az alábbi mezők valamelyikét ki kell tölteni"
+ },
+ "min": {
+ "regex": "none",
+ "alertText": "* A minimum érték "
+ },
+ "max": {
+ "regex": "none",
+ "alertText": "* A maximum érték "
+ },
+ "past": {
+ "regex": "none",
+ "alertText": "* Dátum ez előtt "
+ },
+ "future": {
+ "regex": "none",
+ "alertText": "* Dátum ez után "
+ },
+ "maxCheckbox": {
+ "regex": "none",
+ "alertText": "* Maximum ",
+ "alertText2": " opció lehet bejelölve"
+ },
+ "minCheckbox": {
+ "regex": "none",
+ "alertText": "* Kérjük válasszon ",
+ "alertText2": " opciót"
+ },
+ "equals": {
+ "regex": "none",
+ "alertText": "* A mezők nem egyeznek"
+ },
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Érvénytelen kártyaszám"
+ },
+ "phone": {
+ // credit: jquery.h5validate.js / orefalo
+ "regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((m|mell|mellék)[ ]?[0-9]{1,4})?$/,
+ "alertText": "* Érvénytelen telefonszám"
+ },
+ "email": {
+ // Shamelessly lifted from Scott Gonzalez via the Bassistance Validation plugin http://projects.scottsplayground.com/email_address_validation/
+ "regex": /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,
+ "alertText": "* Hibás E-mail cím"
+ },
+ "integer": {
+ "regex": /^[\-\+]?\d+$/,
+ "alertText": "* Nem érvényes (egész) szám"
+ },
+ "number": {
+ // Number, including positive, negative, and floating decimal. credit: orefalo
+ "regex": /^[\-\+]?(([0-9]+)([\.,]([0-9]+))?|([\.,]([0-9]+))?)$/,
+ "alertText": "* Érvénytelen szám"
+ },
+ "date": {
+ "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/,
+ "alertText": "* Érvénytelen dátum, ÉÉÉÉ-HH-NN formátumban kell megadni"
+ },
+ "ipv4": {
+ "regex": /^((([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))[.]){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))$/,
+ "alertText": "* Érvénytelen IP cím"
+ },
+ "url": {
+ "regex": /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,
+ "alertText": "* Érvénytelen URL"
+ },
+ "onlyNumberSp": {
+ "regex": /^[0-9\ ]+$/,
+ "alertText": "* Csak számokat"
+ },
+ "onlyLetterSp": {
+ "regex": /^[a-zA-Z\ \']+$/,
+ "alertText": "* Csak betűket"
+ },
+ "onlyLetterNumber": {
+ "regex": /^[0-9a-zA-Z]+$/,
+ "alertText": "* Spéci karakterek nem engedélyezettek"
+ },
+ // --- CUSTOM RULES -- Those are specific to the demos, they can be removed or changed to your likings
+ "ajaxUserCall": {
+ "url": "ajaxValidateFieldUser",
+ // you may want to pass extra data on the ajax call
+ "extraData": "name=eric",
+ "alertText": "* This user is already taken",
+ "alertTextLoad": "* Validating, please wait"
+ },
+ "ajaxUserCallPhp": {
+ "url": "phpajax/ajaxValidateFieldUser.php",
+ // you may want to pass extra data on the ajax call
+ "extraData": "name=eric",
+ // if you provide an "alertTextOk", it will show as a green prompt when the field validates
+ "alertTextOk": "* This username is available",
+ "alertText": "* This user is already taken",
+ "alertTextLoad": "* Validating, please wait"
+ },
+ "ajaxNameCall": {
+ // remote json service location
+ "url": "ajaxValidateFieldName",
+ // error
+ "alertText": "* This name is already taken",
+ // if you provide an "alertTextOk", it will show as a green prompt when the field validates
+ "alertTextOk": "* This name is available",
+ // speaks by itself
+ "alertTextLoad": "* Validating, please wait"
+ },
+ "ajaxNameCallPhp": {
+ // remote json service location
+ "url": "phpajax/ajaxValidateFieldName.php",
+ // error
+ "alertText": "* This name is already taken",
+ // speaks by itself
+ "alertTextLoad": "* Validating, please wait"
+ },
+ "validate2fields": {
+ "alertText": "* Please input HELLO"
+ },
+ //tls warning:homegrown not fielded
+ "dateFormat":{
+ "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(?:(?:0?[1-9]|1[0-2])(\/|-)(?:0?[1-9]|1\d|2[0-8]))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^(0?2(\/|-)29)(\/|-)(?:(?:0[48]00|[13579][26]00|[2468][048]00)|(?:\d\d)?(?:0[48]|[2468][048]|[13579][26]))$/,
+ "alertText": "* Invalid Date"
+ },
+ //tls warning:homegrown not fielded
+ "dateTimeFormat": {
+ "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1}$|^(?:(?:(?:0?[13578]|1[02])(\/|-)31)|(?:(?:0?[1,3-9]|1[0-2])(\/|-)(?:29|30)))(\/|-)(?:[1-9]\d\d\d|\d[1-9]\d\d|\d\d[1-9]\d|\d\d\d[1-9])$|^((1[012]|0?[1-9]){1}\/(0?[1-9]|[12][0-9]|3[01]){1}\/\d{2,4}\s+(1[012]|0?[1-9]){1}:(0?[1-5]|[0-6][0-9]){1}:(0?[0-6]|[0-6][0-9]){1}\s+(am|pm|AM|PM){1})$/,
+ "alertText": "* Invalid Date or Date Format",
+ "alertText2": "Expected Format: ",
+ "alertText3": "mm/dd/yyyy hh:mm:ss AM|PM or ",
+ "alertText4": "yyyy-mm-dd hh:mm:ss AM|PM"
+ }
+ };
+
+ }
+ };
+
+ $.validationEngineLanguage.newLang();
+
+})(jQuery);
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-it.js
@@ -32,6 +32,10 @@
"regex": "none",
"alertText": "* I campi non corrispondono"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Non valido numero di carta di credito"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-ja.js
@@ -64,6 +64,10 @@
"regex": "none",
"alertText": "* 入力された値が一致しません"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* 無効なクレジットカード番号"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-nl.js
@@ -53,6 +53,10 @@
"regex": "none",
"alertText": "* Velden komen niet overeen"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Ongeldige credit card nummer"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-pl.js
@@ -53,6 +53,10 @@
"regex": "none",
"alertText": "* Pola nie są jednakowe"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Nieprawidłowy numer karty kredytowej"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-pt.js
@@ -53,6 +53,10 @@
"regex": "none",
"alertText": "* Os campos não correspondem"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Inválido número de cartão de crédito"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
121 src/skins/common/js/validationEngine/languages/jquery.validationEngine-pt_BR.js
@@ -0,0 +1,121 @@
+(function($){
+ $.fn.validationEngineLanguage = function(){};
+ $.validationEngineLanguage = {
+ newLang: function(){
+ $.validationEngineLanguage.allRules = {
+ "required": {
+ "regex": "none",
+ "alertText": "* Este campo é obrigatório",
+ "alertTextCheckboxMultiple": "* Favor selecionar uma opção",
+ "alertTextCheckboxe": "* Este checkbox é obrigatório",
+ "alertTextDateRange": "* Ambas as datas do intervalo são obrigatórias"
+ },
+ "dateRange": {
+ "regex": "none",
+ "alertText": "* Intervalo de datas inválido"
+ },
+ "dateTimeRange": {
+ "regex": "none",
+ "alertText": "* Intervalo de data e hora inválido"
+ },
+ "minSize": {
+ "regex": "none",
+ "alertText": "* Permitido o mínimo de ",
+ "alertText2": " caractere(s)"
+ },
+ "maxSize": {
+ "regex": "none",
+ "alertText": "* Permitido o máximo de ",
+ "alertText2": " caractere(s)"
+ },
+ "groupRequired": {
+ "regex": "none",
+ "alertText": "* Você deve preencher um dos seguintes campos"
+ },
+ "min": {
+ "regex": "none",
+ "alertText": "* Valor mínimo é "
+ },
+ "max": {
+ "regex": "none",
+ "alertText": "* Valor máximo é "
+ },
+ "past": {
+ "regex": "none",
+ "alertText": "* Data anterior a "
+ },
+ "future": {
+ "regex": "none",
+ "alertText": "* Data posterior a "
+ },
+ "maxCheckbox": {
+ "regex": "none",
+ "alertText": "* Máximo de ",
+ "alertText2": " opções permitidas"
+ },
+ "minCheckbox": {
+ "regex": "none",
+ "alertText": "* Favor selecionar ",
+ "alertText2": " opção(ões)"
+ },
+ "equals": {
+ "regex": "none",
+ "alertText": "* Os campos não correspondem"
+ },
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Número de cartão de crédito inválido"
+ },
+ "phone": {
+ "regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
+ "alertText": "* Número de telefone inválido"
+ },
+ "email": {
+ "regex": /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,
+ "alertText": "* Endereço de email inválido"
+ },
+ "integer": {
+ "regex": /^[\-\+]?\d+$/,
+ "alertText": "* Número inteiro inválido"
+ },
+ "number": {
+ "regex": /^[\-\+]?(([0-9]+)([\.,]([0-9]+))?|([\.,]([0-9]+))?)$/,
+ "alertText": "* Número decimal inválido"
+ },
+ "date": {
+ "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/,
+ "alertText": "* Data inválida, deve ser no formato AAAA-MM-DD"
+ },
+ "ipv4": {
+ "regex": /^((([01]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))[.]){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))$/,
+ "alertText": "* Endereço IP inválido"
+ },
+ "url": {
+ "regex": /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,
+ "alertText": "* URL inválida"
+ },
+ "onlyNumberSp": {
+ "regex": /^[0-9\ ]+$/,
+ "alertText": "* Apenas números"
+ },
+ "onlyLetterSp": {
+ "regex": /^[a-zA-Z\ \']+$/,
+ "alertText": "* Apenas letras"
+ },
+ "onlyLetterNumber": {
+ "regex": /^[0-9a-zA-Z]+$/,
+ "alertText": "* Não são permitidos caracteres especiais"
+ },
+ "real": {
+ // Brazilian (Real - R$) money format
+ "regex": /^([1-9]{1}[\d]{0,2}(\.[\d]{3})*(\,[\d]{0,2})?|[1-9]{1}[\d]{0,}(\,[\d]{0,2})?|0(\,[\d]{0,2})?|(\,[\d]{1,2})?)$/,
+ "alertText": "* Número decimal inválido"
+ }
+ };
+
+ }
+ };
+
+ $.validationEngineLanguage.newLang();
+
+})(jQuery);
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-ro.js
@@ -65,6 +65,10 @@
"regex": "none",
"alertText": "* Campurile nu au fost completate identic"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Nevalid num?rul de card de credit"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-ru.js
@@ -53,6 +53,10 @@
"regex": "none",
"alertText": "* Поля не совпадают"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Неверный номер кредитной карты"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-sv.js
@@ -54,6 +54,10 @@
"regex": "none",
"alertText": "* Fält överensstämmer inte"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Ogiltigt kreditkortsnummer"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-tr.js
@@ -57,6 +57,10 @@
"regex": "none",
"alertText": "* Değerler aynı olmalı"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* Geçersiz kredi kartı numarası"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-zh_CN.js
@@ -65,6 +65,10 @@
"regex": "none",
"alertText": "* 请输入与上面相同的密码"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* 无效的信用卡号码"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
View
4 src/skins/common/js/validationEngine/languages/jquery.validationEngine-zh_TW.js
@@ -65,6 +65,10 @@
"regex": "none",
"alertText": "* 欄位內容不相符"
},
+ "creditCard": {
+ "regex": "none",
+ "alertText": "* 无效的信用卡号码"
+ },
"phone": {
// credit: jquery.h5validate.js / orefalo
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{2,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
Please sign in to comment.
Something went wrong with that request. Please try again.