2 * Copyright 2016 ZTE, Inc. and others.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 (function( factory ) {
17 if ( typeof define === "function" && define.amd ) {
18 define( ["jquery", "../jquery.validate"], factory );
25 * Translated default messages for the jQuery validation plugin.
26 * Locale: JA (Japanese; 日本語)
28 $.extend($.validator.messages, {
29 required: "このフィールドは必須です。",
30 remote: "このフィールドを修正してください。",
31 email: "有効なEメールアドレスを入力してください。",
32 url: "有効なURLを入力してください。",
33 date: "有効な日付を入力してください。",
34 dateISO: "有効な日付(ISO)を入力してください。",
35 number: "有効な数字を入力してください。",
36 digits: "数字のみを入力してください。",
37 creditcard: "有効なクレジットカード番号を入力してください。",
38 equalTo: "同じ値をもう一度入力してください。",
39 extension: "有効な拡張子を含む値を入力してください。",
40 maxlength: $.validator.format("{0} 文字以内で入力してください。"),
41 minlength: $.validator.format("{0} 文字以上で入力してください。"),
42 rangelength: $.validator.format("{0} 文字から {1} 文字までの値を入力してください。"),
43 range: $.validator.format("{0} から {1} までの値を入力してください。"),
44 max: $.validator.format("{0} 以下の値を入力してください。"),
45 min: $.validator.format("{0} 以上の値を入力してください。")