PageSourceSearch

https://www.sapporo-dome.co.jp/cms/wp-content/themes/dome/validation_engine/jquery.validationEngine-ja.js

js sapporo-dome.co.jp collected 2026-09-24 20:28:14 UTC 9,630 bytes, 157 lines download raw bytes

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                    "regex": /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/i,
84                    "alertText": "* メールアドレスが正しくありません"
85                },
86                "integer": {
87                    "regex": /^[\-\+]?\d+$/,
88                    "alertText": "* 整数を半角で入力してください"
89                },
90                "number": {
91                    // Number, including positive, negative, and floating decimal. credit: orefalo
92                    "regex": /^[\-\+]?((([0-9]{1,3})([,][0-9]{3})*)|([0-9]+))?([\.]([0-9]+))?$/,
93                    "alertText": "* 数値を半角で入力してください"
94                },
95                "date": {
96                    "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/,
97                    "alertText": "* 日付は半角で YYYY-MM-DD の形式で入力してください"
98                },
99                "ipv4": {
100                	"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]))$/,
101                    "alertText": "* IPアドレスが正しくありません"
102                },
103                "ip": {
104                    "regex": /((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/,
105                    "alertText": "* IPアドレスが正しくありません"
106                },
107                "url": {
108                    "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,
109                    "alertText": "* URLが正しくありません"
110                },
111                "onlyNumberSp": {
112                    "regex": /^[0-9\ ]+$/,
113                    "alertText": "* 半角数字で入力してください"
114                },
115                "onlyLetterSp": {
116                    "regex": /^[a-zA-Z\ \']+$/,
117                    "alertText": "* 半角アルファベットで入力してください"
118                },
119                "onlyLetterNumber": {
120					"regex": /^[0-9a-zA-Z]+$/,
121                    "alertText": "* 半角英数で入力してください"
122                },
123                "katakana": {
124                    "regex": /^[ァ-ンァ-ォャ-ョー\s ]+$/,
125                    "alertText": "* 全角カタカナで入力してください"
126                },
127                // --- CUSTOM RULES -- Those are specific to the demos, they can be removed or changed to your likings
128                "ajaxUserCall": {
129                    "url": "ajaxValidateFieldUser",
130                    // you may want to pass extra data on the aja
130x call
131                    "extraData": "name=eric",
132                    "alertText": "* This user is already taken",
133                    "alertTextLoad": "* Validating, please wait"
134                },
135                "ajaxNameCall": {
136                    // remote json service location
137                    "url": "ajaxValidateFieldName",
138                    // error
139                    "alertText": "* This name is already taken",
140                    // if you provide an "alertTextOk", it will show as a green prompt when the field validates
141                    "alertTextOk": "* This name is available",
142                    // speaks by itself
143                    "alertTextLoad": "* Validating, please wait"
144                },
145                "validate2fields": {
146                    "alertText": "* 『HELLO』と入力してください"
147                },
148				"jpnFullWidth": {
149					"regex": /^[^\x01-\x7E]+$/,
150					"alertText": "* 全角文字で入力してください"
151				}
152            };
153
154        }
155    };
156    $.validationEngineLanguage.newLang();
157})(jQuery);

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.