1;/***************************************************************** 2 * Japanese language file for jquery.validationEngine.js (ver2.0) 3 * 4 * Transrator: tomotomo ( Tomoyuki SUGITA ) 5 * http://tomotomoSnippet.blogspot.com/ 6 * Licenced under the MIT Licence 7 *******************************************************************/ 8(function($){ 9 $.fn.validationEngineLanguage = function(){ 10 }; 11 $.validationEngineLanguage = { 12 newLang: function(){ 13 $.validationEngineLanguage.allRules = { 14 "required": { // Add your regex rules here, you can take telephone as an example 15 "regex": "none", 16 "alertText": "* å¿ é é ç®ã§ã", 17 "alertTextCheckboxMultiple": "* 鏿ãã¦ãã ãã", 18 "alertTextCheckboxe": "* ãã§ãã¯ããã¯ã¹ããã§ãã¯ãã¦ãã ãã" 19 }, 20 "requiredInFunction": { 21 "func": function(field, rules, i, options){ 22 return (field.val() == "test") ? true : false; 23 }, 24 "alertText": "* Field must equal test" 25 }, 26 "minSize": { 27 "regex": "none", 28 "alertText": "* ", 29 "alertText2": "æå以ä¸ã«ãã¦ãã ãã" 30 }, 31 "groupRequired": { 32 "regex": "none", 33 "alertText": "* You must fill one of the following fields" 34 }, 35 "maxSize": { 36 "regex": "none", 37 "alertText": "* ", 38 "alertText2": "æå以ä¸ã«ãã¦ãã ãã" 39 }, 40 "min": { 41 "regex": "none", 42 "alertText": "* ", 43 "alertText2": " 以ä¸ã®æ°å¤ã«ãã¦ãã ãã" 44 }, 45 "max": { 46 "regex": "none", 47 "alertText": "* ", 48 "alertText2": " 以ä¸ã®æ°å¤ã«ãã¦ãã ãã" 49 }, 50 "past": { 51 "regex": "none", 52 "alertText": "* ", 53 "alertText2": " ããéå»ã®æ¥ä»ã«ãã¦ãã ãã" 54 }, 55 "future": { 56 "regex": "none", 57 "alertText": "* ", 58 "alertText2": " ããæè¿ã®æ¥ä»ã«ãã¦ãã ãã" 59 }, 60 "maxCheckbox": { 61 "regex": "none", 62 "alertText": "* ãã§ãã¯ãããã§ã" 63 }, 64 "minCheckbox": { 65 "regex": "none", 66 "alertText": "* ", 67 "alertText2": "ã¤ä»¥ä¸ãã§ãã¯ãã¦ãã ãã" 68 }, 69 "equals": { 70 "regex": "none", 71 "alertText": "* å ¥åãããå¤ãä¸è´ãã¾ãã" 72 }, 73 "creditCard": { 74 "regex": "none", 75 "alertText": "* ç¡å¹ãªã¯ã¬ã¸ããã«ã¼ãçªå·" 76 }, 77 "phone": { 78 // credit: jquery.h5validate.js / orefalo 79 "regex": /^([\+][0-9]{1,3}([ \.\-])?)?([\(][0-9]{1,6}[\)])?([0-9 \.\-]{1,32})(([A-Za-z \:]{1,11})?[0-9]{1,4}?)$/, 80 "alertText": "* é»è©±çªå·ãæ£ããããã¾ãã" 81 }, 82 "email": { 83 // Shamelessly lifted from Scott Gonzalez via the Bassistance Validation plugin http://projects.scottsplayground.com/email_address_validation/ 84 "regex": /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/i, 85 "alertText": "ã¡ã¼ã«ã¢ãã¬ã¹ãæ£ããããã¾ããï¼åè§è±æ°åã§å ¥åãã¦ãã ããï¼" 86 }, 87 "integer": { 88 "regex": /^[\-\+]?\d+$/, 89 "alertText": "* æ´æ°ãåè§ã§å ¥åãã¦ãã ãã" 90 }, 91 "number": { 92 // Number, including positive, negative, and floating decimal. credit: orefalo 93 "regex": /^[\-\+]?((([0-9]{1,3})([,][0-9]{3})*)|([0-9]+))?([\.]([0-9]+))?$/, 94 "alertText": "* æ°å¤ãåè§ã§å ¥åãã¦ãã ãã" 95 }, 96 "date": { 97 "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/, 98 "alertText": "* æ¥ä»ã¯åè§ã§ YYYY-MM-DD ã®å½¢å¼ã§å ¥åãã¦ãã ãã" 99 }, 100 "ipv4": { 101 "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]))$/, 102 "alertText": "* IPã¢ãã¬ã¹ãæ£ããããã¾ãã" 103 }, 104 "url": { 105 "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, 106 "alertText": "* URLãæ£ããããã¾ãã" 107 }, 108 "onlyNumberSp": { 109 "regex": /^[0-9\ ]+$/, 110 "alertText": "* åè§æ°åã§å ¥åãã¦ãã ãã" 111 }, 112 "onlyLetterSp": { 113 "regex": /^[a-zA-Z\ \']+$/, 114 "alertText": "* åè§ã¢ã«ãã¡ãããã§å ¥åãã¦ãã ãã" 115 }, 116 "onlyLetterNumber": { 117 "regex": /^[0-9a-zA-Z]+$/, 118 "alertText": "åè§è±æ°ã§å ¥åãã¦ãã ãã" 119 }, 120 // --- CUSTOM RULES -- Those are specific to the demos, they can be removed or changed to your likings 121 "ajaxUserCall": { 122 "url": "ajaxValidateFieldUser", 123 // you may want to pass extra data on the aja
123x call 124 "extraData": "name=eric", 125 "alertText": "* This user is already taken", 126 "alertTextLoad": "* Validating, please wait" 127 }, 128 "ajaxNameCall": { 129 // remote json service location 130 "url": "ajaxValidateFieldName", 131 // error 132 "alertText": "* This name is already taken", 133 // if you provide an "alertTextOk", it will show as a green prompt when the field validates 134 "alertTextOk": "* This name is available", 135 // speaks by itself 136 "alertTextLoad": "* Validating, please wait" 137 }, 138 "validate2fields": { 139 "alertText": "* ãHELLOãã¨å ¥åãã¦ãã ãã" 140 } 141 }; 142 143 } 144 }; 145 $.validationEngineLanguage.newLang(); 146})(jQuery); 147 148 149
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.